Demystifying - Lowest common multiple

Before this page: list the multiples of a number, write a number as a product of primes using prime factorisation, and compare two index forms to find the highest common factor.

The first number both counts reach

A common multiple of two numbers is a multiple of each of them. Counting in 8s and in 12s, the first number both counts reach is the lowest common multiple, written LCM:

24 is the LCM of 8 and 12 because nothing smaller is a multiple of both

  1. 8 and 16 are not multiples of 12, and 12 is not a multiple of 8.

The lists stay short while the numbers are small. For 120 and 252 the multiples of 120 reach 2,520 at the 21st entry and the multiples of 252 at the 10th: 31 entries to reach the first number both lists hold.

Build a multiple of both from prime factors

Match the prime factors that 120 and 252 share. Keep every factor from 120, then add only the unmatched factors from 252; the result contains both prime factorizations and is the smallest common multiple.

Adding to 120 what 252 needs

Both numbers as rings of prime factors

120 = 2 × 2 × 2 × 3 × 5 and 252 = 2 × 2 × 3 × 3 × 7, with one sector for each prime factor.

Index form lets the primes be compared one at a time

In index form each index counts one prime: 23 in 120 is three factors of 2, and 22 in 252 is two.

The LCM of 120 and 252

Write both numbers in index form

120 = 2³ × 3 × 5 and 252 = 2² × 3² × 7, with equal primes in the same column.

  1. Factorise both numbers into index form, with prime bases in ascending order.
  2. Compare the two indices of each prime, counting a missing prime as index 0, and take the higher.
  3. Multiply the chosen prime powers. Every prime in either number is in the product.

Take every prime to its higher index

A multiple of 120 contains at least three 2s, a 3 and a 5. 120 × 7 = 840 = 23 × 3 × 5 × 7 still contains three factors of 2, and 22 × 3 × 5 = 60 is not a multiple of 120, because it contains only two.

A common multiple of 120 and 252 contains every prime factor of each, so it holds each prime at least as many times as the number that holds it more: the higher index.

The smallest common multiple holds exactly the higher index of every prime, and one fewer is too few: 22 × 32 × 5 × 7 = 1,260 is not a multiple of 120, because 1,260 ÷ 120 = 10.5.

No shared prime

125 = 53 and 144 = 24 × 32 have no prime in common: they are coprime. Every prime power of each is in the LCM, so LCM = 125 × 144 = 18,000: the product of the two numbers.

One number is a factor of the other

108 = 22 × 33 and 540 = 22 × 33 × 5. Every prime power in 108 is also in 540, so LCM = 540: the larger number itself.

The LCM is never more than the product

120 × 252 = 30,240 is a multiple of 120 and of 252, so the LCM is at most 30,240. In prime factors, 30,240 = 25 × 33 × 5 × 7: every prime factor of 120 and every prime factor of 252.

What the product holds twice

Both numbers as rings of prime factors

120 has five prime factors and 252 has five, with one sector for each: ten sectors in all.

Any shared prime makes the LCM smaller than the product.

Every common multiple is a multiple of the LCM

The common multiples of 120 and 252 are exactly the multiples of 2,520. A common multiple contains at least three 2s, two 3s, a 5 and a 7, so 23 × 32 × 5 × 7 = 2,520 is a factor of it.

Find the LCM of two chosen numbers

LCM of 600 and 252 = 2³ × 3² × 5² × 7 = 12,600

600 × 252 = 151,200, which is 12 times the LCM because the product counts the shared prime factors twice.

Common mistakes

  • Taking the lower index For 18 = 2 × 32 and 20 = 22 × 5, choosing the lower index of every prime gives 2, which is smaller than both numbers and a multiple of neither. The lower index belongs to the highest common factor, not the LCM.
  • Keeping only the primes both numbers have For 18 and 20, taking 2 to its higher index and leaving out the 3s and the 5 gives 22 = 4, a multiple of neither; the LCM is 22 × 32 × 5 = 180.
  • Multiplying the two numbers 6 × 4 = 24 is a common multiple, and it is twice the lowest one, 12. The product is the LCM only when the two numbers share no prime.
  • Writing the larger number 30 is the LCM of 12 and 30 only if 12 divides it, and 30 = 2 × 12 + 6; the LCM is 60.

Summary

  1. A common multiple is a multiple of both numbers; the LCM is the smallest common multiple.
  2. While the lists stay short, list the multiples of each number and pick the first that appears in both lists.
  3. For larger numbers, write both in index form; the LCM is every prime in either number, each to its higher index: “find the lowest common multiple of 120 and 252” is answered 2,520.
  4. The product of the two numbers is a common multiple, so the LCM is at most the product; the two are equal only when no prime is shared.
  5. Every common multiple is a multiple of the LCM: the common multiples of 120 and 252 are the multiples of 2,520.
  6. Divide the LCM by both numbers: both divisions are exact, and the quotients share no prime.

Continue