Find GCF and LCM using prime factorization. The GCF
is the product of common primes at their lowest
powers; the LCM uses highest powers.
Example
Use prime powers to find the GCF and LCM of 24 and 36.
highlighted = computed this step
Step 1 — Set up
Set up the expression.
2436
Step 2 — Factor first number
Use repeated division to factor 24.
24=23×3
Step 3 — Factor second number
Use repeated division to factor 36.
36=22×32
Step 4 — Common lowest powers
For the GCF, use common primes with lowest powers.
GCFterms:22×3
Step 5 — GCF
The greatest common factor is 12.
GCF=12
Step 6 — Highest powers
For the LCM, use every prime with highest powers.
LCMterms:23×32
Step 7 — LCM
The least common multiple is 72.
LCM=72
Step 8 — Result
Read the final result.
1272
prime-factorization-gcf-lcmTo find GCF and LCM by prime factorization: - Factor each number into primes. - GCF: multiply common primes at lowest exponent. - LCM: multiply all primes at highest exponent.