Pack 48 red and 72 blue cards into the greatest number of identical groups.
GCF(48, 72) = 24, so make 24 groups. Each group gets 2 red and 3 blue cards.
Find the greatest common factor of 2–15 integers, then see why it works through prime powers, common factors, and every Euclidean division.
Signed integers and zero are accepted. The GCF is always reported as a non-negative divisor. Each magnitude is limited to unsigned 64-bit so prime-factor proofs stay deterministic.
GCF(24, 36, 48) = 12
Use the same GCF to remove every shared factor at once.
84 ÷ 42 : 126 ÷ 42
Largest equal groups, biggest identical tiles, or longest equal cuts usually point to a greatest common factor.
GCF(48, 72) = 24, so make 24 groups. Each group gets 2 red and 3 blue cards.
Choose the best answer.
Choose the best answer.
30sList factors of each number, take the overlap, then choose the largest. Great for small values and for seeing what “common” means.
Factor each number into primes. For each prime shared by every number, keep only the smallest exponent.
For large values, repeated division is usually fastest: GCF(a,b) = GCF(b, a mod b).
GCF asks for the largest size that divides everything. LCM asks for the smallest positive size that every input divides into.
Inputs are parsed with JavaScript BigInt. GCF, LCM, Euclidean steps, factor powers, common factors, and ratio reduction use integer arithmetic with no floating-point rounding.
Prime-factor views use deterministic Miller–Rabin plus Pollard-rho within the declared unsigned 64-bit magnitude range. Negative signs do not change a positive GCF.
The main calculator intentionally supports 2–15 integers, matching the practical multi-value workflow while keeping the first screen readable on phones.