Menu

GCF from Prime Factors

Part of the Factors & Fractions section of Coddy's Pre-Algebra journey. Lesson 13 of 58.

Listing factors gets slow for bigger numbers, and prime factorizations are quicker. Factor both numbers: 45 is 3 × 3 × 5 and 75 is 3 × 5 × 5. The primes they share are one 3 and one 5.

Multiply the shared primes: 3 × 5 is 15, the GCF of 45 and 75. A prime counts as shared only as many times as it appears in both numbers: 45 has two 3s but 75 has only one, so just one 3 goes in.

Why it works: a common factor can only be built from primes both numbers contain. Taking every shared prime, as often as both allow, builds the biggest one. With exponents, take each shared prime with its smaller exponent: 3^2 × 5 and 3 × 5^2 give 3 × 5.

challenge icon

Challenge

Find the greatest common factor g of 84 and 126. Factor both numbers into primes, then write g equal to the product of the primes they share, and work it out on the next line.

quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Factors & Fractions