Maths · Ch 1 · Topic 4 of 6Word problems
Topic 4 of 6

HCF and LCM in everyday problems

About 55 minutes · 3 things to learn
By the end you can…
  • Decide whether a situation needs the HCF or the LCM.
  • Solve word problems on meeting again, bells or lights together, the largest tile, tape or group, and the smallest number with given remainders.
  • Check that the answer makes sense in the story.

Two buses leave a depot at 6:00 a.m. One returns every 20 minutes, the other every 30 minutes. When will they next stand side by side at the depot? And a tailor wants to cut a 96 cm ribbon and a 120 cm ribbon into equal pieces, as long as possible, with nothing left over — how long is each piece? One of these is an LCM question and the other is an HCF question. Telling them apart is most of the work.

Two kinds of question

Almost every word problem in this chapter is one of two kinds:

  • Splitting into the largest equal parts → HCF. You have quantities that must be cut, shared or grouped into equal pieces with nothing left over (and you want the size of each piece or group, or the number of groups), and the pieces must be as large as possible (or the groups as few as possible). The piece size must divide every quantity — so it is a common factor — and the largest one is the HCF. The answer is smaller than (or equal to) the given numbers.
  • Waiting for things to line up → LCM. Things repeat in cycles — laps, bell intervals, bus timings, step lengths — and you want the first time they happen together again, or the smallest number that all of them divide into. That time must be a common multiple of every cycle, and the first one is the LCM. The answer is larger than (or equal to) the given numbers.

The "HCF or LCM?" card

Cue words in the question Use Answer is…
largest / greatest / maximum size; longest tape or rod; biggest tile; largest group or piece size, or the most identical groups or kits, with nothing left over; fewest rooms or rows HCF ≤ the smallest given number
next time together; meet again at the start; ring / flash / beep together; smallest / least number divisible by all; smallest total that can be shared equally among x people or among y people; minimum distance in complete steps LCM ≥ the largest given number

Cue words help, but always ask the real question: am I cutting something up (HCF), or waiting for cycles to coincide (LCM)? "Minimum number of rooms" contains the word minimum but is an HCF question — fewest rooms means the largest group in each room.

Careful with "shared equally". If the question asks for the size of each share or group, it is an HCF question. If it asks for the smallest total that can be shared equally among 12 children or among 15 children, the total must be a multiple of both numbers, so it is an LCM question (60). Ask yourself: is my answer a piece of the given numbers (HCF), or a number that the given numbers go into (LCM)?

(The tailor's ribbons from the start: HCF(96, 120) = 24 cm pieces — 4 + 5 = 9 pieces.)

A four-step routine

  1. Let — read and label. Write down each quantity. Put them in the same unit first (metres to centimetres, hours to minutes).
  2. Set up — decide HCF or LCM, and say why in one line ("the length must divide both, and be as long as possible → HCF").
  3. Compute — by prime factorisation, as in Topic 3.
  4. Answer the question asked. The HCF or LCM is often only a step. You may still need the number of pieces (divide each quantity by the HCF and add), a clock time (add the LCM to the start time), or how many times something happens.

Then do the sense-check: an HCF answer cannot be bigger than the smallest quantity; an LCM answer cannot be smaller than the largest.

Remainder problems

Three patterns come up again and again. Each one turns into a plain HCF or LCM after a small adjustment:

The question asks for… Adjust first Then
the largest number that divides aa and bb leaving remainders r1r_1 and r2r_2 subtract: a−r1a - r_1, b−r2b - r_2 HCF of the adjusted numbers
the smallest number that leaves remainder rr when divided by xx, yy, zz — LCM(x,y,z)+r(x, y, z) + r
the smallest number that, when increased by kk, is divisible by xx and yy — LCM(x,y)−k(x, y) - k

Why subtract in the first row? If a number leaves remainder 5 when it divides 245, then it divides 245−5=240245 - 5 = 240 exactly. Also check that the answer is bigger than each remainder — a divisor can never leave a remainder as large as itself.

Visuals

HCF or LCM? Decision card Decision card: Am I cutting things up, or waiting for things to line up? HCF (▼) — split into the largest equal parts: icons of a ribbon cut into equal pieces, a floor of square tiles and children in equal rows; cue words: largest / greatest / longest; biggest tile; largest group or piece with nothing left over; most identical groups or kits; fewest rooms or rows. Answer ≤ smallest number. LCM (▲) — wait until they line up: icons of two runners on a circular track, three bells and a clock; cue words: next time together; meet again at the start; ring / flash / beep together; smallest number divisible by all; smallest total that suits either group; same distance in complete steps. Answer ≥ largest number. Careful: ‘minimum number of rooms’ is an HCF question! Four steps: label (same units) → HCF or LCM? say why → compute → answer the question asked. Am I cutting things up, or waiting for things to line up? HCF — split into the largest equal parts largest / greatest / longest biggest tile largest group or piece with nothing left over most identical groups or kits fewest rooms or rows answer smallest number LCM — wait until they line up next time together meet again at the start ring / flash / beep together smallest number divisible by all smallest total that suits either group same distance in complete steps answer largest number Careful: ‘minimum number of rooms’ is an HCF question! 1 label (same units) 2 HCF or LCM? say why 3 compute 4 answer the question asked
"HCF or LCM?" decision cardTargets the most common word-problem error — choosing HCF when LCM is needed, or the reverse.Draw in exam
Two cyclists meeting at the start Timeline from 0 to 80 minutes, ticks every 10 minutes. Cyclist A takes 16 minutes per round: dots at 16, 32, 48, 64 and 80. Cyclist B takes 20 minutes per round: dots at 20, 40, 60 and 80. No dots line up before 80 (40 and 48 are apart). At 80 a highlighted band joins both rows: both at the start, LCM(16, 20) = 80 min. A small circular track shows both cyclists on the start line. A: 5 rounds · B: 4 rounds. LCM(16, 20) = 2⁴ × 5 = 80. start line both at the start: LCM(16, 20) = 80 min Cyclist A — 16 min per round 16 32 48 64 Cyclist B — 20 min per round 20 40 60 0 10 20 30 40 50 60 70 80 time (minutes) A: 5 rounds · B: 4 rounds LCM(16, 20) = 24 × 5 = 80
Two cyclists meeting at the start (timeline)Shows why "meeting again at the start" means the first common multiple of the lap times.
Largest square tile for a floor A floor 672 cm by 432 cm drawn to scale (14 : 9), covered by square tiles of side 48 cm: 14 tiles along the length and 9 along the width. One tile is shaded and labelled 48 cm. In the bottom-right corner one tile is split into four 24 cm tiles: smaller tiles (24 cm) fit too — 48 cm is the LARGEST that fits both sides exactly. Largest tile = HCF(672, 432) = 48 cm; HCF(672, 432) = 2⁴ × 3 = 48; 14 × 9 = 126 tiles. 672 cm 432 cm 48 cm 14 tiles 9 tiles smaller tiles (24 cm) fit too — 48 cm is the LARGEST that fits both sides exactly largest tile = HCF(672, 432) = 48 cm HCF(672, 432) = 24 × 3 = 48 14 × 9 = 126 tiles
Largest square tile covering a floorShows why the largest square tile that fits exactly is the HCF of the two side lengths.

Worked examples

Worked example 1

Meeting again on a track

Question. Two cyclists start together from the same point on a circular track and ride in the same direction. One takes 16 minutes for a round, the other 20 minutes. After how many minutes will they next be together at the starting point? How many rounds will each have completed?

Given: round times 16 min and 20 min. Asked: the first time both are back at the start; rounds for each.

Concept used: LCM. Why it applies: each cyclist is at the start only at multiples of their own round time; we want the first time that is a multiple of both.

  1. 1

    Factorise the round times.

    16=24,20=22×516 = 2^4, \qquad 20 = 2^2 \times 5
  2. 2

    LCM: largest power of every prime.

    LCM(16,20)=24×5=80\text{LCM}(16, 20) = 2^4 \times 5 = 80
  3. 3

    So they are next together at the start after 80 minutes = 1 hour 20 minutes.

  4. 4

    Rounds: divide 80 by each round time.

    8016=5,8020=4\dfrac{80}{16} = 5, \qquad \dfrac{80}{20} = 4
  5. Check: multiples of 16: 16, 32, 48, 64, 80; multiples of 20: 20, 40, 60, 80 — 80 is the first in both lists ✔.

  6. Answer After 80 minutes80 \text{ minutes} (1 h 20 min); the faster cyclist completes 5 rounds and the other 4.

    Common trap: Using the HCF (4 minutes) — after 4 minutes neither cyclist has even finished a round.

Worked example 2

Lights changing together

Question. Three traffic signals on a road change colour every 48 seconds, 72 seconds and 108 seconds. They all change together at 7:00:00 a.m. At what time will they next change together?

Given: intervals 48 s, 72 s, 108 s; together at 7:00:00 a.m. Asked: the next time they change together.

Concept used: LCM, then convert to a clock time. Why it applies: we wait for three cycles to line up.

  1. 1

    Factorise.

    48=24×3,72=23×32,108=22×3348 = 2^4 \times 3, \qquad 72 = 2^3 \times 3^2, \qquad 108 = 2^2 \times 3^3
  2. 2

    LCM: largest powers 242^4 and 333^3.

    LCM=24×33=16×27=432\text{LCM} = 2^4 \times 3^3 = 16 \times 27 = 432
  3. 3

    Convert 432 seconds into minutes and seconds: 432=7×60+12432 = 7 \times 60 + 12.

    432 s=7 min 12 s432 \text{ s} = 7 \text{ min } 12 \text{ s}
  4. 4

    Add to the start time.

    7:00:00+7 min 12 s=7:07:12 a.m.7{:}00{:}00 + 7 \text{ min } 12 \text{ s} = 7{:}07{:}12 \text{ a.m.}
  5. Check: 432÷48=9432 \div 48 = 9, 432÷72=6432 \div 72 = 6, 432÷108=4432 \div 108 = 4 — all exact ✔.

  6. Answer At 7:07:12 a.m.7{:}07{:}12 \text{ a.m.}

    Common trap: Stopping at "432" — the question asks for a time of day. Step 4 is where the final mark is.

Worked example 3

The largest square tile

Question. A rectangular floor is 6.72 m long and 4.32 m wide. Find the side of the largest square tile that will cover it exactly (no cutting), and the number of such tiles needed.

Given: floor 6.72 m × 4.32 m. Asked: largest tile side; number of tiles.

Concept used: HCF. Why it applies: the tile side must divide both the length and the width exactly, and be as large as possible.

  1. 1

    Convert to centimetres (the same unit, whole numbers).

    6.72 m=672 cm,4.32 m=432 cm6.72 \text{ m} = 672 \text{ cm}, \qquad 4.32 \text{ m} = 432 \text{ cm}
  2. 2

    Factorise.

    672=25×3×7,432=24×33672 = 2^5 \times 3 \times 7, \qquad 432 = 2^4 \times 3^3
  3. 3

    HCF: smallest powers of the common primes 2 and 3.

    HCF=24×3=48\text{HCF} = 2^4 \times 3 = 48
  4. 4

    Tiles along each side.

    67248=14,43248=9\dfrac{672}{48} = 14, \qquad \dfrac{432}{48} = 9
  5. 5

    Number of tiles.

    14×9=12614 \times 9 = 126
  6. Check: area check: 672×432=290 304672 \times 432 = 290\,304 cm² and 126×482=126×2304=290 304126 \times 48^2 = 126 \times 2304 = 290\,304 cm² ✔. And 48 cm ≤ 432 cm ✔.

  7. Answer Largest tile: 48 cm48 \text{ cm} square; 126126 tiles.

    Common trap: Finding the HCF of 6.72 and 4.32 as decimals, or mixing metres and centimetres. Convert to whole numbers in one unit first.

Worked example 4

Equal groups, nothing left over

Question. A school has 144 pens, 180 pencils and 252 erasers. It wants to make identical stationery kits using all of them, with nothing left over. What is the largest number of kits it can make, and what will each kit contain?

Given: 144 pens, 180 pencils, 252 erasers. Asked: the largest number of identical kits; the contents of one kit.

Concept used: HCF. Why it applies: the number of kits must divide each quantity exactly, and be as large as possible.

  1. 1

    Factorise.

    144=24×32,180=22×32×5,252=22×32×7144 = 2^4 \times 3^2, \qquad 180 = 2^2 \times 3^2 \times 5, \qquad 252 = 2^2 \times 3^2 \times 7
  2. 2

    HCF: common primes 2 and 3, smallest powers 222^2 and 323^2.

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

    Contents of one kit: divide each quantity by 36.

    14436=4 pens,18036=5 pencils,25236=7 erasers\dfrac{144}{36} = 4 \text{ pens}, \qquad \dfrac{180}{36} = 5 \text{ pencils}, \qquad \dfrac{252}{36} = 7 \text{ erasers}
  4. Check: 36×4=14436 \times 4 = 144, 36×5=18036 \times 5 = 180, 36×7=25236 \times 7 = 252 ✔. 4, 5, 7 have no common factor, so no larger number of kits is possible ✔.

  5. Answer 36 kits36 \text{ kits}, each with 4 pens, 5 pencils and 7 erasers.

    Common trap: Taking the LCM because the question says "largest". It is the largest number of equal groups — a common factor, so the HCF.

Worked example 5

Smallest number with a given remainder

Question. Find the smallest number which, when divided by 12, 16 and 30, leaves a remainder of 5 in each case.

Given: divisors 12, 16, 30; remainder 5. Asked: the smallest such number.

Concept used: LCM + remainder. Why it applies: a number that leaves remainder 5 each time is 5 more than a common multiple of 12, 16 and 30; the smallest is 5 more than the LCM.

  1. 1

    Factorise.

    12=22×3,16=24,30=2×3×512 = 2^2 \times 3, \qquad 16 = 2^4, \qquad 30 = 2 \times 3 \times 5
  2. 2

    LCM: largest powers 242^4, 33, 55.

    LCM=24×3×5=240\text{LCM} = 2^4 \times 3 \times 5 = 240
  3. 3

    Add the remainder.

    240+5=245240 + 5 = 245
  4. Check: 245=12×20+5245 = 12 \times 20 + 5 ✔, 245=16×15+5245 = 16 \times 15 + 5 ✔, 245=30×8+5245 = 30 \times 8 + 5 ✔.

  5. Answer 245245

    Common trap: Subtracting the remainder (240−5=235240 - 5 = 235). Dividing 235 by 12 leaves remainder 7, not 5.

Worked example 6

Largest divisor with given remainders

Question. Find the largest number that divides 245 and 1 029, leaving remainders 5 and 9 respectively.

Given: 245 (remainder 5) and 1 029 (remainder 9). Asked: the largest such divisor.

Concept used: subtract the remainders, then HCF. Why it applies: the divisor goes exactly into 245−5245 - 5 and 1029−91029 - 9, and must be as large as possible.

  1. 1

    Subtract the remainders.

    245−5=240,1029−9=1020245 - 5 = 240, \qquad 1029 - 9 = 1020
  2. 2

    Factorise.

    240=24×3×5,1020=22×3×5×17240 = 2^4 \times 3 \times 5, \qquad 1020 = 2^2 \times 3 \times 5 \times 17
  3. 3

    HCF: smallest powers of 2, 3, 5.

    HCF=22×3×5=60\text{HCF} = 2^2 \times 3 \times 5 = 60
  4. 4

    Sense-check: 60 is bigger than both remainders (5 and 9), so it is a valid divisor.

  5. Check: 245=60×4+5245 = 60 \times 4 + 5 ✔ and 1029=60×17+91029 = 60 \times 17 + 9 ✔.

  6. Answer 6060

    Common trap: Finding HCF(245, 1029) = 49 without subtracting. 49 divides both exactly, so it leaves remainders 0 and 0 — not 5 and 9.

6 examples · they get harder as you go

Quick check

Answer without scrolling up
Quick check · 1 of 3MCQ1 mark

Which of these situations needs the LCM?

Quick check · 2 of 3Very short answer1 mark

Two buses leave a depot together at 6:00 a.m. One returns every 20 minutes and the other every 30 minutes. When are they next at the depot together?

Quick check · 3 of 3Short answer2 marks

At a workshop there are 54 science teachers and 90 maths teachers. Each room must hold the same number of teachers, all of one subject. Find the minimum number of rooms needed.

Key points

  • Cutting into the largest equal parts → HCF (answer ≤ smallest number). Waiting for cycles to line up → LCM (answer ≥ largest number). Smallest total that can be shared among x or y → LCM.
  • Four steps: label (same units) → decide HCF or LCM and say why → compute → answer the question asked.
  • Largest divisor leaving remainders r1r_1, r2r_2: HCF(a−r1,b−r2)(a - r_1, b - r_2), and it must exceed each remainder.
  • Smallest number leaving remainder r: LCM + r. Smallest number that becomes divisible when increased by k: LCM − k.
  • Check by dividing back, and by the size sense-check.
My notesComing soon