TECHNOLOGIESTieInn Technologies

HCF and LCM

HCF and LCM word problems

7 min read · 8 practice questions · free

Useful for:IT testsBanksSSC / RailwaysTNPSC

What it is

  • The HCF (highest common factor) is the largest number that divides all the given numbers.
  • The LCM (least common multiple) is the smallest number that all the given numbers divide into.

Word problems don't say "HCF" or "LCM". You must spot which one is meant:

  • "Ring together again", "smallest number divisible by", "meet at the start again" → LCM
  • "Largest number that divides", "biggest tile", "largest equal groups", "same remainder" → HCF

How to solve it

Prime factors. Write each number as primes.

  • HCF = the primes they share, each to its lowest power.
  • LCM = every prime that appears, each to its highest power.

Example: 12 = 2² × 3, 18 = 2 × 3². HCF = 2 × 3 = 6. LCM = 2² × 3² = 36.

Same remainder r: the largest number dividing x, y and z with remainder r each is HCF(x − r, y − r, z − r).

Useful fact: for two numbers, HCF × LCM = the product of the numbers.

Tips and shortcuts

  • "Smallest" usually means LCM; "largest" usually means HCF. But read what is being divided by what.
  • Bells and lights: find the LCM in seconds, then turn it into minutes and seconds and add it to the start time.
  • Subtract the remainder before taking the HCF. Taking the HCF of the original numbers is the classic slip.
  • The HCF always divides the LCM.

Solved examples

Example 1 (easy): smallest common multiple

Smallest number divisible by 8, 12 and 18?

8 = 2³, 12 = 2² × 3, 18 = 2 × 3². LCM = 2³ × 3² = 72.

Example 2 (medium): bells

Bells ring every 15, 20 and 24 seconds. They ring together at 9:00 AM. When next?

LCM = 120 seconds = 2 minutes → 9:02 AM.

Example 3 (hard): same remainder

Largest number that divides 125, 185 and 245 leaving remainder 5 each time?

HCF(120, 180, 240) = 60.

Example 4 (medium): from the product

Two numbers have HCF 6 and LCM 180. One is 30. The other?

6 × 180 ÷ 30 = 36.

Try it

Pick an answer and press Check. Generated questions get new numbers every time you ask.

  1. Question 1easy

    What is the smallest number that is exactly divisible by 8, 12, 15?

  2. Question 2easy

    What is the smallest number that is exactly divisible by 12, 15, 18?

  3. Question 3easy

    What is the smallest number that is exactly divisible by 10, 15, 20?

  4. Question 4medium

    Three bells ring every 12, 15, 20 seconds. They ring together at 8:00 AM. When will they next ring together?

  5. Question 5medium

    Three bells ring every 16, 20, 24 seconds. They ring together at 7:00 AM. When will they next ring together?

  6. Question 6medium

    Three bells ring every 10, 12, 15 seconds. They ring together at 9:00 AM. When will they next ring together?

  7. Question 7hard

    What is the largest number that divides 197, 277, 337 and leaves the same remainder 17 in each case?

  8. Question 8hard

    What is the largest number that divides 296, 153, 329 and leaves the same remainder 10 in each case?

Ready for a timed set?

Fresh questions on just this problem type, with a score and every explanation at the end. Free.

Test me on this →