Lowest Common Multiple

Finding the smallest number that is a multiple of two or more given numbers, and using it to solve problems

Before you start

You can already write a number as a product of its prime factors in index notation, for example 60=22×3×560 = 2^{2} \times 3 \times 5, and find a highest common factor (HCF) from prime factors. This lesson uses both.

Common Multiples and the LCM

The multiples of 12 are 12×112 \times 1, 12×212 \times 2, 12×312 \times 3 and so on. A number that is a multiple of each of two or more numbers is a common multiple of them.

Example 1: Listing multiples

Question: Find the lowest common multiple of 12 and 18.

Multiples of 12: 12, 24, 36, 48, 60, 72, 84, 96, 108, ...

Multiples of 18: 18, 36, 54, 72, 90, 108, ...

Common multiples of 12 and 18: 36, 72, 108, ...

Answer: The lowest of the common multiples is 36, so the LCM of 12 and 18 is 36.

Definition

The lowest common multiple (LCM) of two or more whole numbers is the smallest positive whole number that is a multiple of each of them.

Every common multiple is a multiple of the LCM: 36, 72, 108, ... are the multiples of 36.

Listing is slow when the numbers are large. Prime factorisation works for any numbers.

LCM by Prime Factorisation

A number is a multiple of 12=22×312 = 2^{2} \times 3 only if its own prime factorisation contains 22×32^{2} \times 3. So the LCM must contain the whole prime factorisation of each number, and nothing more.

Rule: LCM by prime factorisation

  1. Write each number as a product of its prime factors in index notation.
  2. Take every prime factor that appears in any of the numbers.
  3. For each one, take the highest power that appears.
  4. Multiply these together.

Example 2: Two numbers

Question: Find the LCM of 12 and 18 by prime factorisation.

12=22×312 = 2^{2} \times 3

18=2×3218 = 2 \times 3^{2}

The primes that appear are 2 and 3. The highest power of 2 is 222^{2} (in 12) and the highest power of 3 is 323^{2} (in 18).

LCM =22×32=4×9=36= 2^{2} \times 3^{2} = 4 \times 9 = 36

Answer: The LCM of 12 and 18 is 36, as in Example 1.

Example 3: Three numbers

Question: Find the LCM of 20, 35 and 42.

Write each number as a product of prime factors and line the primes up in a table.

Number2357
20=22×520 = 2^{2} \times 5222^{2}–55–
35=5×735 = 5 \times 7––5577
42=2×3×742 = 2 \times 3 \times 72233–77
LCM takes222^{2}335577

Every prime that appears is taken, even 3, which is in only one of the numbers. Of 222^{2} and 22, the higher power 222^{2} is taken.

LCM =22×3×5×7=420= 2^{2} \times 3 \times 5 \times 7 = 420

Answer: The LCM of 20, 35 and 42 is 420.

LCM by Repeated Division

For two numbers, the LCM can also be found by repeated division, as the HCF can: the two numbers are divided together, one step below another, in a ladder.

Example 4: The ladder for two numbers

Question: Find the LCM of 12 and 18 by repeated division.

Divide both numbers by a prime factor they share, and write the results underneath. Repeat until the two numbers left have no common prime factor.

Repeated division of 12 and 18. Dividing by 2 gives 6 and 9. Dividing by 3 gives 2 and 3.2121836923

2 and 3 have no common prime factor, so stop. Multiply the divisors on the left by the two numbers left at the bottom.

LCM =2×3×2×3=36= 2 \times 3 \times 2 \times 3 = 36

Why it works: 12=(2×3)×212 = (2 \times 3) \times 2 and 18=(2×3)×318 = (2 \times 3) \times 3. The divisors 2×32 \times 3 are the part the two numbers share, and the LCM needs that part once, together with what each number has left at the bottom.

The divisors on their own give the HCF: 2×3=62 \times 3 = 6.

Answer: The LCM of 12 and 18 is 36.

Take care: for the LCM, this ladder works for two numbers only. Used in the same way on three numbers it can give a common multiple that is not the lowest, so for the LCM of three or more numbers use prime factorisation. For the HCF, repeated division works for three numbers too, because there only the divisors are multiplied.

HCF and LCM Side by Side

The HCF and the LCM come from the same prime factorisations, but they take different things from them.

HCFLCM
Which primes?Only the primes common to all the numbersEvery prime that appears in any of the numbers
Which power?The lowest power of eachThe highest power of each

Example 5: Both from one table

Question: Find the HCF and the LCM of 23×32×52^{3} \times 3^{2} \times 5 and 22×34×72^{2} \times 3^{4} \times 7. Leave your answers in index notation.

Number2357
First number232^{3}323^{2}55–
Second number222^{2}343^{4}–77
HCF takes222^{2}323^{2}––
LCM takes232^{3}343^{4}5577

2 and 3 are common to both numbers, so the HCF takes the lower power of each. 5 and 7 are not common: the HCF leaves them out, but the LCM takes them.

HCF =22×32= 2^{2} \times 3^{2}

LCM =23×34×5×7= 2^{3} \times 3^{4} \times 5 \times 7

Answer: The HCF is 22×322^{2} \times 3^{2} and the LCM is 23×34×5×72^{3} \times 3^{4} \times 5 \times 7.

Word Problems

In a word problem, look for a number that must be a multiple of each number given, and the smallest one. That number is the LCM.

Example 6: Wheels

Question: The front wheel of a tricycle has a circumference of 60 cm and each rear wheel has a circumference of 45 cm. Point P on the front wheel and point Q on a rear wheel are both touching the ground. How far must the tricycle travel in a straight line before P and Q next touch the ground at the same time?

A tricycle seen from the side on level ground. Point Q is where the rear wheel, of circumference 45 cm, touches the ground. Point P is where the front wheel, of circumference 60 cm, touches the ground.QPrear wheelcircumference 45 cmfront wheelcircumference 60 cm

P touches the ground again after every 60 cm travelled, and Q after every 45 cm. The distance must be a multiple of both 60 and 45, and the smallest one: the LCM.

60=22×3×560 = 2^{2} \times 3 \times 5

45=32×545 = 3^{2} \times 5

LCM =22×32×5=180= 2^{2} \times 3^{2} \times 5 = 180

Answer: The tricycle must travel 180 cm. The front wheel then makes 3 full turns and each rear wheel 4.

Example 7: The smallest number that packs evenly

Question: Mr Tan can pack all his erasers into bags of 12, or into bags of 15, or into bags of 20, with none left over each time. What is the smallest number of erasers he could have?

The number of erasers is a multiple of 12, of 15 and of 20. The smallest such number is their LCM.

12=22×312 = 2^{2} \times 3, 15=3×515 = 3 \times 5, 20=22×520 = 2^{2} \times 5

LCM =22×3×5=60= 2^{2} \times 3 \times 5 = 60

Answer: The smallest number of erasers he could have is 60.

HCF or LCM?

Ask whether the answer must be a multiple of the numbers given or a factor of them.

  • LCM: things repeat (buses, bells, lights, turns of a wheel), or the size of each lot is given (bags of 12, packets of 8) and the total is not. You want when they next happen together, or the smallest total that makes whole lots. The LCM is never smaller than the largest number given.
  • HCF: the totals are given (60 red markers and 84 blue markers) and they are cut, shared or packed into equal groups with nothing left over. You want the greatest size of each part, or the greatest number of groups. The HCF is never larger than the smallest number given.

Common Mistakes

  • Taking only the common primes, or the lowest powers. That gives the HCF, not the LCM.
  • Multiplying the numbers together. 12×18=21612 \times 18 = 216 is a common multiple of 12 and 18, but the lowest is 36. The product of two numbers is their LCM only when they have no common prime factor.
  • Giving the LCM when the question asks for something else, such as a date, a time or a number of packets.

Practice

Work each question on paper before you open its solution.

Question 1

Find the LCM of 24 and 90 by prime factorisation.

ShowHide solution

Solution:

24=23×324 = 2^{3} \times 3

90=2×32×590 = 2 \times 3^{2} \times 5

The highest powers are 232^{3}, 323^{2} and 55. The 5 is in 90 only, but it must still be taken.

LCM =23×32×5=8×9×5=360= 2^{3} \times 3^{2} \times 5 = 8 \times 9 \times 5 = 360

The LCM of 24 and 90 is 360.

Question 2

Use repeated division to find the LCM of 30 and 42. Write down their HCF as well.

ShowHide solution

Solution:

Repeated division of 30 and 42. Dividing by 2 gives 15 and 21. Dividing by 3 gives 5 and 7.230423152157

5 and 7 have no common prime factor, so stop.

LCM =2×3×5×7=210= 2 \times 3 \times 5 \times 7 = 210

HCF =2×3=6= 2 \times 3 = 6

The LCM of 30 and 42 is 210 and their HCF is 6.

Question 3

To find the LCM of 40 and 60, Wei Ming writes: 40=23×540 = 2^{3} \times 5 and 60=22×3×560 = 2^{2} \times 3 \times 5, so LCM =22×5=20= 2^{2} \times 5 = 20. Explain his mistake and find the correct LCM.

ShowHide solution

Solution:

His prime factorisations are right, but he took only the common primes, each with its lowest power. That gives the HCF.

A quick check: an LCM is never smaller than the largest number, here 60, so 20 cannot be right.

LCM =23×3×5=120= 2^{3} \times 3 \times 5 = 120

He found the HCF. The LCM of 40 and 60 is 120.

Question 4

Three numbers are 22×332^{2} \times 3^{3}, 24×52^{4} \times 5 and 3×52×73 \times 5^{2} \times 7. Find (a) their LCM, in index notation, (b) their HCF.

ShowHide solution

Solution:

(a) The primes that appear are 2, 3, 5 and 7. Their highest powers are 242^{4}, 333^{3}, 525^{2} and 77.

LCM =24×33×52×7= 2^{4} \times 3^{3} \times 5^{2} \times 7

(b) No prime is a factor of all three numbers: the third has no 2, the second has no 3, the first has no 5, and only the third has 7. So their only common factor is 1.

(a) The LCM is 24×33×52×72^{4} \times 3^{3} \times 5^{2} \times 7. (b) The HCF is 1.

Question 5

Decide whether each problem needs the HCF or the LCM, then solve it.

(a) A red light flashes every 18 seconds and a blue light flashes every 24 seconds. They have just flashed together. After how many seconds will they next flash together?

(b) A florist uses 18 roses and 24 orchids to make identical bouquets, with no flowers left over. What is the greatest number of bouquets she can make?

ShowHide solution

Solution:

18=2×3218 = 2 \times 3^{2} and 24=23×324 = 2^{3} \times 3

(a) The number of seconds must be a multiple of both 18 and 24, and the smallest one: the LCM. LCM =23×32=72= 2^{3} \times 3^{2} = 72

(b) The number of bouquets must be a factor of both 18 and 24, and the greatest one: the HCF. HCF =2×3=6= 2 \times 3 = 6

(a) The lights next flash together after 72 seconds. (b) She can make 6 bouquets, each with 3 roses and 4 orchids.

Question 6

Doris has a piano lesson every 6 days, a swimming lesson every 4 days and an art lesson every 8 days. She has all three lessons on 1 April. On what date will she next have all three on the same day?

ShowHide solution

Solution:

The number of days must be a multiple of 6, of 4 and of 8, and the smallest one: the LCM.

6=2×36 = 2 \times 3, 4=224 = 2^{2}, 8=238 = 2^{3}

LCM =23×3=24= 2^{3} \times 3 = 24

24 days after 1 April is 25 April.

Doris next has all three lessons on 25 April.

Question 7

Paper plates are sold in packets of 8 and paper cups in packets of 10. For a class party, Mrs Lee wants to buy exactly as many plates as cups. What is the smallest number of packets of each that she must buy?

ShowHide solution

Solution:

The number of plates is a multiple of 8 and the number of cups is a multiple of 10. The smallest number that is both is the LCM of 8 and 10.

8=238 = 2^{3}, 10=2×510 = 2 \times 5

LCM =23×5=40= 2^{3} \times 5 = 40

Plates: 40÷8=540 \div 8 = 5 packets. Cups: 40÷10=440 \div 10 = 4 packets.

She must buy 5 packets of plates and 4 packets of cups, which gives 40 of each.

Key Points

  • The LCM of two or more numbers is the smallest positive whole number that is a multiple of each of them.
  • By prime factorisation: take every prime that appears, each with its highest power, and multiply.
  • The HCF takes only the common primes, each with its lowest power.
  • By repeated division of two numbers: the LCM is the product of the divisors and the two numbers left at the bottom.
  • Use the LCM for things that next happen together and for the smallest number that packs evenly. Use the HCF for the greatest equal parts or groups.

Exercises on this lesson in the Secondary 1 book

‹ 1.2 Highest Common Factor 1.4 Squares and Square Roots ›

All Secondary 1 (Grade 7) lessons

Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 1. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 1 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.