Theorem · Divisibility
Finding the GCD by prime factorization
Statement of the theorem with its hypotheses, proof and the exercises in which it is applied. From the chapter Multiples, divisors, prime numbers, GCD and LCM of Mathematics zero.
Finding the GCD by prime factorization
The greatest common divisor of two or more numbers is the product of just the prime factors common to all the factorizations, each raised to its smallest exponent.
For example, and . The common factors are and . The factor has exponent in both, and has exponent . Therefore
For large numbers, this method avoids listing all the divisors.
Read it in the chapter Multiples, divisors, prime numbers, GCD and LCM →
Exercises where this theorem is used
Worked examples
- 5Finding the greatest common divisor
- 6Finding the least common multiple
- 7Problems involving the greatest common divisor
Practice exercises
- 7Greatest common divisor of two numbers
- 9GCD and LCM of three numbers
- 11Identical bouquets
- 12Fence posts
All the definitions and theorems of Mathematics zero → · All the theorems on the site →