How to solve
The GCF is the largest positive integer that divides both numbers.
Steps
- List prime factors of each number.
- Multiply the shared primes with the smaller exponents.
- Or use the Euclidean algorithm: repeatedly replace (a, b) with (b, a mod b).
Example
GCF(18, 24)
- 18 = 2·3², 24 = 2³·3.
- Shared: 2¹·3¹ = 6.
Answer: 6
Loading drills…