Enter an equation or problem
Camera input is not recognized!

Solution - Finding the greatest common factor with prime factorization

Step-by-step explanation

1. Find the prime factors of 297

297399333311

The prime factors of 297 are 3, 3, 3 and 11.

2. Find the prime factors of 198

198299333311

The prime factors of 198 are 2, 3, 3 and 11.

3. Compare the prime factors

Prime factors for each number

NumberPrime factors
2973 × 3 × 3 × 11
1982 × 3 × 3 × 11

Prime-factor count comparison

Prime factorCount in 297 Count in 198 Keep in GCF
2010 (not in every number)
3322
11111

The GCF uses only prime factors that appear in every number. For each shared prime, keep the smallest count that appears in any one factorization. Here the shared prime factors are 3, 3 and 11.

4. Multiply the shared prime factors

Now multiply the prime factors that survived the comparison. This product is the greatest common factor because it contains every prime factor that all the original numbers share, but no prime factor that is missing from one of them.

GCF = 3⋅3⋅11

GCF = 32⋅11

GCF = 99

Final answer: the greatest common factor of 297 and 198 is 99.

5. Check your work

Check that 99 divides every original number with remainder 0. The GCF must divide all the numbers evenly, and the earlier prime-count table shows why adding any extra prime factor would fail for at least one number.

Divisibility check

NumberDivide by GCF Remainder
297297 ÷ 99 = 30
198198 ÷ 99 = 20

Why learn this

Learn more with Tiger
The common tasks of dividing, grouping, and distributing are applicable across an unlimited number of scenarios. Dividing a chocolate bar with ten squares among eight people; figuring out how much work each member of your project group should do; cutting squares out of a piece of cloth so there is none left over. These everyday actions all deal heavily with fractions, and to deal with fractions is to deal with greatest common factors (GCF).

The greatest common factor, which is sometimes referred to as the highest common factor (HCF) or the greatest common divisor (GCD), is the largest positive integer that a set of integers can all be divided by. Since fractions are commonly used in everyday life, and GCFs help us understand fractions, then, GCF can be helpful for understanding a wide variety of situations. For example, finding the GCF of a numerator and denominator can help us simplify very large fractions or ratios into smaller, more manageable numbers.

Terms and topics