HCF & LCM

Highest common factor, least common multiple and their word problems.

45 solved questions · 18 easy · 17 medium · 10 hard

Take a 10-question quiz on HCF & LCM, no login

Shortcuts & formulas

  • HCF x LCM of two numbers = their product (true for two numbers only, not three).
  • HCF of fractions = HCF of numerators / LCM of denominators; LCM of fractions = LCM of numerators / HCF of denominators.
  • Largest number that divides a, b, c leaving the same remainder = HCF of the differences (b - a), (c - b).
  • Smallest number leaving remainder r with divisors a, b, c = LCM(a, b, c) + r; if (divisor - remainder) is constant k, answer = LCM - k.
  • Events repeating every a, b, c minutes happen together again after LCM(a, b, c) minutes.
  • Largest square tile or longest measuring rod that fits exactly = HCF of the lengths.
  • If two numbers have HCF h, they can be written h x m and h x n with m and n co-prime; LCM = h x m x n.

Solved examples

Try each one first, then open the answer and the step-by-step solution.

Easy questions

Q1.

Find the HCF of 36 and 48.

  1. A12
  2. B24
  3. C6
  4. D15
Show answer & solution

Answer: A. 12

Solution

36 = 2^2 x 3^2 48 = 2^4 x 3 HCF = product of common prime powers (lowest powers) = 12. Answer: 12

Shortcut: Use the Euclidean method: divide the bigger by the smaller and repeat with remainders.

Q2.

Find the HCF of 84 and 126.

  1. A84
  2. B21
  3. C42
  4. D45
Show answer & solution

Answer: C. 42

Solution

84 = 2^2 x 3 x 7 126 = 2 x 3^2 x 7 HCF = product of common prime powers (lowest powers) = 42. Answer: 42

Shortcut: Use the Euclidean method: divide the bigger by the smaller and repeat with remainders.

Q3.

Find the HCF of 144 and 180.

  1. A72
  2. B36
  3. C18
  4. D39
Show answer & solution

Answer: B. 36

Solution

144 = 2^4 x 3^2 180 = 2^2 x 3^2 x 5 HCF = product of common prime powers (lowest powers) = 36. Answer: 36

Shortcut: Use the Euclidean method: divide the bigger by the smaller and repeat with remainders.

Q4.

Find the HCF of 105 and 245.

  1. A70
  2. B36
  3. C38
  4. D35
Show answer & solution

Answer: D. 35

Solution

105 = 3 x 5 x 7 245 = 5 x 7^2 HCF = product of common prime powers (lowest powers) = 35. Answer: 35

Shortcut: Use the Euclidean method: divide the bigger by the smaller and repeat with remainders.

Q5.

Find the LCM of 12 and 18.

  1. A216
  2. B72
  3. C48
  4. D36
Show answer & solution

Answer: D. 36

Solution

12 = 2^2 x 3 18 = 2 x 3^2 LCM = product of highest powers of all primes = 36. Answer: 36

Shortcut: LCM = (a x b) / HCF.

Q6.

Find the LCM of 15 and 20.

  1. A300
  2. B60
  3. C120
  4. D75
Show answer & solution

Answer: B. 60

Solution

15 = 3 x 5 20 = 2^2 x 5 LCM = product of highest powers of all primes = 60. Answer: 60

Shortcut: LCM = (a x b) / HCF.

Q7.

Find the LCM of 24 and 36.

  1. A72
  2. B864
  3. C144
  4. D96
Show answer & solution

Answer: A. 72

Solution

24 = 2^3 x 3 36 = 2^2 x 3^2 LCM = product of highest powers of all primes = 72. Answer: 72

Shortcut: LCM = (a x b) / HCF.

Q8.

The HCF of two numbers is 12 and their LCM is 180. If one number is 36, what is the other?

  1. A30
  2. B45
  3. C60
  4. D72
Show answer & solution

Answer: C. 60

Solution

HCF x LCM = product of the numbers. 12 x 180 = 2160 = 36 x other. Other = 2160/36 = 60. Answer: 60

Q9.

The product of two numbers is 1620 and their HCF is 9. What is their LCM?

  1. A90
  2. B162
  3. C180
  4. D18
Show answer & solution

Answer: C. 180

Solution

LCM = product / HCF = 1620 / 9 = 180. Answer: 180

Q10.

Find the LCM of 8, 12 and 20.

  1. A120
  2. B240
  3. C60
  4. D1920
Show answer & solution

Answer: A. 120

Solution

Prime factorisation: 8 = 2^3; 12 = 2^2 x 3; 20 = 2^2 x 5. Take the highest power of each prime. LCM = 120. Answer: 120

Q11.

Find the LCM of 6, 9 and 15.

  1. A180
  2. B45
  3. C810
  4. D90
Show answer & solution

Answer: D. 90

Solution

Prime factorisation: 6 = 2 x 3; 9 = 3^2; 15 = 3 x 5. Take the highest power of each prime. LCM = 90. Answer: 90

Q12.

Find the LCM of 4, 10 and 25.

  1. A200
  2. B100
  3. C50
  4. D1000
Show answer & solution

Answer: B. 100

Solution

Prime factorisation: 4 = 2^2; 10 = 2 x 5; 25 = 5^2. Take the highest power of each prime. LCM = 100. Answer: 100

Q13.

Find the HCF of 24, 60 and 84.

  1. A12
  2. B24
  3. C13
  4. D36
Show answer & solution

Answer: A. 12

Solution

Prime factorisation: 24 = 2^3 x 3; 60 = 2^2 x 3 x 5; 84 = 2^2 x 3 x 7. Common prime powers give HCF = 12. Answer: 12

Q14.

Find the HCF of 42, 63 and 105.

  1. A42
  2. B22
  3. C21
  4. D63
Show answer & solution

Answer: C. 21

Solution

Prime factorisation: 42 = 2 x 3 x 7; 63 = 3^2 x 7; 105 = 3 x 5 x 7. Common prime powers give HCF = 21. Answer: 21

Q15.

Which of the following pairs of numbers is co-prime?

  1. A(21, 28)
  2. B(35, 18)
  3. C(24, 36)
  4. D(27, 45)
Show answer & solution

Answer: B. (35, 18)

Solution

Co-prime means HCF = 1. (21, 28): HCF 7; (24, 36): HCF 12; (27, 45): HCF 9; (35, 18): HCF 1. Answer: (35, 18)

Q16.

What is the LCM of two co-prime numbers 7 and 13?

  1. A1
  2. B20
  3. C182
  4. D91
Show answer & solution

Answer: D. 91

Solution

For co-prime numbers LCM = product = 7 x 13 = 91. Answer: 91

Q17.

What is the HCF of 2^3 x 3^2 x 5 and 2^2 x 3^4 x 7?

  1. A72
  2. B4
  3. C12
  4. D36
Show answer & solution

Answer: D. 36

Solution

Take the lowest power of each common prime: 2^2 and 3^2. HCF = 4 x 9 = 36. Answer: 36

Q18.

What is the LCM of 2^3 x 3^2 and 2^2 x 3^4?

  1. A36
  2. B648
  3. C72
  4. D324
Show answer & solution

Answer: B. 648

Solution

Take the highest power of each prime: 2^3 and 3^4. LCM = 8 x 81 = 648. Answer: 648

Medium questions

Q19.

Three bells toll at intervals of 12, 15 and 20 minutes. If they toll together at 8:00 a.m., when will they next toll together?

  1. A1 hour later, at 9:00 a.m.
  2. B2 hours later, at 10:00 a.m.
  3. C30 minutes later, at 8:30 a.m.
  4. D3 hours later, at 11:00 a.m.
Show answer & solution

Answer: A. 1 hour later, at 9:00 a.m.

Solution

They toll together after LCM of 12, 15, 20 units. LCM = 60. Answer: 60 minutes = 1 hour(s), so at 9:00 a.m.

Q20.

Three traffic lights change after every 18, 24 and 30 seconds. If they change together at 6:00:00 a.m., after how many seconds will they change together again?

  1. A180 seconds
  2. B90 seconds
  3. C360 seconds
  4. D720 seconds
Show answer & solution

Answer: C. 360 seconds

Solution

They toll together after LCM of 18, 24, 30 units. LCM = 360. Answer: 360 seconds

Q21.

Three ropes of lengths 120 m, 180 m and 300 m are to be cut into pieces of equal length, with no rope left over. What is the greatest possible length of each piece?

  1. A30 m
  2. B40 m
  3. C60 m
  4. D20 m
Show answer & solution

Answer: C. 60 m

Solution

The greatest equal length is the HCF of 120, 180 and 300. 120 = 2^3 x 3 x 5; 180 = 2^2 x 3^2 x 5; 300 = 2^2 x 3 x 5^2. HCF = 2^2 x 3 x 5 = 60. Answer: 60 m

Q22.

A hall is 15 m 17 cm long and 9 m 2 cm broad. What is the side of the largest square tile that can pave the floor exactly without cutting?

  1. A41 cm
  2. B17 cm
  3. C51 cm
  4. D101 cm
Show answer & solution

Answer: A. 41 cm

Solution

Convert to cm: length = 1517 cm, breadth = 902 cm. Side = HCF(1517, 902). 1517 = 902 x 1 + 615; 902 = 615 x 1 + 287; 615 = 287 x 2 + 41; 287 = 41 x 7 + 0. HCF = 41. Answer: 41 cm

Q23.

What is the smallest number which leaves remainder 3 when divided by 6, 8, 12 and 15?

  1. A120
  2. B126
  3. C243
  4. D123
Show answer & solution

Answer: D. 123

Solution

Smallest number divisible by all = LCM(6, 8, 12, 15) = 120. Add the common remainder 3: 120 + 3 = 123. Answer: 123

Q24.

Find the smallest number which when divided by 12, 16, 18 and 30 leaves remainders 7, 11, 13 and 25 respectively.

  1. A720
  2. B715
  3. C725
  4. D705
Show answer & solution

Answer: B. 715

Solution

Divisor minus remainder is constant: 12-7 = 5, 16-11 = 5, 18-13 = 5, 30-25 = 5. So number = LCM - 5. LCM(12, 16, 18, 30) = 720. Number = 720 - 5 = 715. Answer: 715

Shortcut: If divisor - remainder is constant k, answer = LCM - k.

Q25.

What is the greatest number which divides 1657 and 2037 leaving remainders 6 and 5 respectively?

  1. A127
  2. B123
  3. C129
  4. D131
Show answer & solution

Answer: A. 127

Solution

Subtract remainders: 1657 - 6 = 1651 and 2037 - 5 = 2032. Required number = HCF(1651, 2032). 2032 = 1651 x 1 + 381; 1651 = 381 x 4 + 127; 381 = 127 x 3 + 0. HCF = 127. Answer: 127

Q26.

What is the greatest number which divides 1305, 4665 and 6905 leaving the same remainder in each case?

  1. A2240
  2. B560
  3. C1120
  4. D1680
Show answer & solution

Answer: C. 1120

Solution

The number divides the differences: 4665 - 1305 = 3360 and 6905 - 4665 = 2240. HCF(3360, 2240): 3360 = 2240 x 1 + 1120; 2240 = 1120 x 2. HCF = 1120. Answer: 1120

Shortcut: Take the HCF of the differences between the numbers.

Q27.

The LCM of two numbers is 2310 and their HCF is 30. If one number is 330, find the other.

  1. A70
  2. B210
  3. C150
  4. D231
Show answer & solution

Answer: B. 210

Solution

Other = (HCF x LCM)/330 = (30 x 2310)/330 = 69300/330 = 210. Answer: 210

Q28.

Two numbers are in the ratio 3 : 4 and their LCM is 240. What is their HCF?

  1. A10
  2. B12
  3. C60
  4. D20
Show answer & solution

Answer: D. 20

Solution

Let the numbers be 3k and 4k, with HCF k. LCM of 3k and 4k = 12k = 240, so k = 20. The numbers are 60 and 80, HCF = 20. Answer: 20

Q29.

The sum of two numbers is 80 and their HCF is 8. Which of the following could be the numbers?

  1. A16 and 64
  2. B32 and 48
  3. C40 and 40
  4. D24 and 56
Show answer & solution

Answer: D. 24 and 56

Solution

Both numbers must be multiples of 8 and add to 80, with the multipliers co-prime (otherwise the HCF is larger). 24 and 56 = 8 x 3 and 8 x 7, HCF = 8. 16 and 64: HCF 16. 32 and 48: HCF 16. 40 and 40: HCF 40. 20 and 60: not multiples of 8. Answer: 24 and 56

Q30.

Find the HCF of 2/3, 4/9 and 10/27.

  1. A2/9
  2. B2/27
  3. C10/27
  4. D4/27
Show answer & solution

Answer: B. 2/27

Solution

HCF of fractions = HCF of numerators / LCM of denominators. HCF(2, 4, 10) = 2; LCM(3, 9, 27) = 27. HCF = 2/27. Answer: 2/27

Q31.

Find the LCM of 2/3, 4/9 and 8/27.

  1. A8/3
  2. B8/27
  3. C2/27
  4. D4/9
Show answer & solution

Answer: A. 8/3

Solution

LCM of fractions (in lowest terms) = LCM of numerators / HCF of denominators. LCM(2, 4, 8) = 8; HCF(3, 9, 27) = 3. LCM = 8/3. Answer: 8/3

Q32.

Two runners start together from the same point on a circular track and run in the same direction. One takes 12 minutes per lap and the other takes 18 minutes. After how many minutes will they next be together at the starting point?

  1. A6
  2. B30
  3. C36
  4. D216
Show answer & solution

Answer: C. 36

Solution

They meet at the start after LCM(12, 18) minutes. 12 = 2^2 x 3, 18 = 2 x 3^2, LCM = 4 x 9 = 36. Answer: 36 minutes

Q33.

Three friends start walking round a park together. Their steps measure 40 cm, 60 cm and 90 cm. What is the minimum distance each must walk so that each covers the distance in a whole number of steps?

  1. A1 m 80 cm
  2. B7 m 20 cm
  3. C3 m 60 cm
  4. D2 m 40 cm
Show answer & solution

Answer: C. 3 m 60 cm

Solution

Minimum distance = LCM(40, 60, 90) cm. 40 = 2^3 x 5, 60 = 2^2 x 3 x 5, 90 = 2 x 3^2 x 5. LCM = 8 x 9 x 5 = 360 cm = 3 m 60 cm. Answer: 3 m 60 cm

Q34.

What is the smallest 4-digit number exactly divisible by 12, 15, 20 and 35?

  1. A1260
  2. B1050
  3. C1200
  4. D1680
Show answer & solution

Answer: A. 1260

Solution

LCM(12, 15, 20, 35) = 2^2 x 3 x 5 x 7 = 420. 1000 / 420 = 2 remainder 160, so the next multiple of 420 above 1000 is 420 x 3 = 1260. Answer: 1260

Q35.

What is the greatest 4-digit number exactly divisible by 24, 36 and 40?

  1. A9360
  2. B9000
  3. C9900
  4. D9720
Show answer & solution

Answer: D. 9720

Solution

LCM(24, 36, 40) = 2^3 x 3^2 x 5 = 360. 9999 / 360 = 27 remainder 279. Greatest = 9999 - 279 = 9720. Answer: 9720

Hard questions

Q36.

The HCF of two numbers is 12 and their LCM is 336. How many such pairs of numbers exist?

  1. A1
  2. B2
  3. C3
  4. D4
Show answer & solution

Answer: B. 2

Solution

Let the numbers be 12m and 12n with m, n co-prime. LCM = 12mn = 336, so mn = 28. Co-prime pairs with product 28: (1, 28) and (4, 7). Numbers: (12, 336) and (48, 84). Answer: 2

Q37.

What is the smallest perfect square exactly divisible by 12, 18 and 30?

  1. A900
  2. B180
  3. C1800
  4. D3600
Show answer & solution

Answer: A. 900

Solution

LCM(12, 18, 30) = 2^2 x 3^2 x 5 = 180. For a perfect square every prime needs an even power: 2^2 x 3^2 x 5^2 = 900. Answer: 900

Q38.

What is the smallest perfect cube exactly divisible by both 12 and 18?

  1. A36
  2. B72
  3. C216
  4. D108
Show answer & solution

Answer: C. 216

Solution

LCM(12, 18) = 36 = 2^2 x 3^2. For a perfect cube every prime power must be a multiple of 3: 2^3 x 3^3 = 216. Answer: 216

Q39.

How many numbers from 1 to 500 are divisible by each of 6, 8 and 9?

  1. A5
  2. B6
  3. C7
  4. D8
Show answer & solution

Answer: B. 6

Solution

Divisible by 6, 8 and 9 means divisible by LCM(6, 8, 9) = 72. Multiples of 72 up to 500: floor(500/72) = 6. Answer: 6

Q40.

What is the smallest number which when divided by 5, 6, 7 and 8 leaves remainders 4, 5, 6 and 7 respectively?

  1. A419
  2. B420
  3. C840
  4. D839
Show answer & solution

Answer: D. 839

Solution

Each remainder is 1 less than its divisor, so number = LCM - 1. LCM(5, 6, 7, 8) = 840. Number = 839. Answer: 839

Q41.

What is the smallest number which leaves remainder 1 when divided by 4, 5 and 6 but is exactly divisible by 7?

  1. A121
  2. B241
  3. C361
  4. D301
Show answer & solution

Answer: D. 301

Solution

Number = 60k + 1 (LCM(4, 5, 6) = 60), and it must be a multiple of 7. 60k + 1 mod 7: 60 = 7 x 8 + 4, so need 4k + 1 = 0 mod 7, i.e. 4k = 6 mod 7, k = 5 (4 x 5 = 20 = 6 mod 7). Number = 60 x 5 + 1 = 301 = 7 x 43. Answer: 301

Q42.

Three numbers are in the ratio 2 : 3 : 5 and their HCF is 12. What is their LCM?

  1. A180
  2. B360
  3. C120
  4. D720
Show answer & solution

Answer: B. 360

Solution

Numbers = 12 x 2, 12 x 3, 12 x 5 = 24, 36, 60. LCM(24, 36, 60): 24 = 2^3 x 3, 36 = 2^2 x 3^2, 60 = 2^2 x 3 x 5. LCM = 8 x 9 x 5 = 360. Answer: 360

Q43.

A rectangular floor measures 1517 cm by 902 cm. It is to be covered with identical square tiles of the largest possible size, none cut. How many tiles are needed?

  1. A814
  2. B59
  3. C815
  4. D1628
Show answer & solution

Answer: A. 814

Solution

Largest tile side = HCF(1517, 902) = 41 cm. Tiles along length = 1517/41 = 37; along breadth = 902/41 = 22. Total = 37 x 22 = 814. Answer: 814

Q44.

The LCM of two numbers is 14 times their HCF, and the sum of their HCF and LCM is 600. If one number is 280, what is the other?

  1. A40
  2. B120
  3. C80
  4. D160
Show answer & solution

Answer: C. 80

Solution

Let HCF = h, so LCM = 14h and h + 14h = 600, giving h = 40 and LCM = 560. Product of numbers = HCF x LCM = 40 x 560 = 22400. Other = 22400 / 280 = 80. Answer: 80

Q45.

The HCF of two numbers is 16 and the other two factors of their LCM are 11 and 13. What is the larger of the two numbers?

  1. A176
  2. B143
  3. C208
  4. D2288
Show answer & solution

Answer: C. 208

Solution

LCM = HCF x 11 x 13, so the two numbers are 16 x 11 = 176 and 16 x 13 = 208. Check: HCF(176, 208) = 16 and LCM = 2288. Larger = 208. Answer: 208

Ready to test yourself? 10 fresh HCF & LCM questions, timed, with solutions at the end.

Start the quiz

Related topics

Practise this with Sam

A real mock interview, out loud, with an honest scorecard. Free to start.

Start free