CalculatorForEver
MATH / GUIDE

How do prime factors help find a least common multiple?

Calculator ForEver 3 min read

Write each input as prime powers, then take each prime with the largest exponent appearing in either input. Multiplying those powers gives the LCM.

Cover both divisibility requirements

An LCM needs enough copies of every prime to contain either input as a factor. Choosing the lower exponent could omit factors required by one input. Choosing a larger exponent would give a common multiple but would add an unnecessary factor.

Worked example

For 20 = 2² × 5 and 30 = 2 × 3 × 5, take 2², 3 and 5. Their product is 60. The result divides by 20 to give 3 and by 30 to give 2. Multiplying all factors from both lists would instead count shared factors twice.

Distinguish LCM from GCF selection

GCF uses only primes common to both inputs at the lower shared exponent. LCM includes primes appearing in either input at the higher required exponent. Mark which question you are solving before selecting powers; switching the rule can produce a plausible but wrong number.

Construct a prime-power checklist

Factor each positive integer into primes and record the exponent attached to each distinct prime. For an LCM, choose the largest exponent of each prime that appears in any input. A prime absent from an input has exponent zero there. Multiplying the selected powers gives a number divisible by every input. This selection differs from the GCF rule, which keeps only shared primes at the lowest exponent. Writing an exponent table makes the two procedures easier to distinguish than memorizing a verbal instruction alone.

Build an original example from two factorizations

Consider 72 and 120. Their prime forms are 72 = 2³ × 3² and 120 = 2³ × 3 × 5. The largest exponents needed are 3 for prime 2, 2 for prime 3 and 1 for prime 5. Multiplying 2³ × 3² × 5 gives 360. Check 360 ÷ 72 = 5 and 360 ÷ 120 = 3. Omitting the factor 5 would lose divisibility by 120; reducing the exponent of 3 would lose divisibility by 72.

Check that every listed factor is prime

An incomplete factorization can still multiply back to the original number, yet hide the prime powers needed for the LCM. For example, writing 72 as 8 × 9 is a correct product but leaves two composite factors. Continue until 8 becomes 2³ and 9 becomes 3². Then compare like primes across the inputs. Order does not matter in the multiplication, but consistent ordering helps identify missing or duplicated factors. You can verify each complete factorization by multiplying the prime powers back to its input.

Use another method as an arithmetic check

The same pair has GCF(72,120) = 24. Dividing 72 by 24 first, then multiplying by 120, gives 3 × 120 = 360. This provides a second route to the LCM and reduces the intermediate product. A disagreement between the methods often points to an omitted prime, an exponent copied incorrectly or confusion with the GCF selection rule. Calculator ForEver returns the computed common multiple, while the factorization method helps explain why that multiple is least. Keep all intermediate quantities as exact integers during the check.

Questions about this calculation

Do different factor trees change the LCM?

No. Correct prime factorizations have the same prime powers regardless of the factor-tree branches used to obtain them.

Try these values in the calculator

Find the smallest positive multiple shared by two integers.

Use the least common multiple calculator

References

More least common multiple questions

Related explanations

Related tools