TECHNOLOGIESTieInn Technologies

HCF and LCM

HCF and LCM with remainders

6 min read · 8 practice questions · free

Useful for:IT testsBanksSSC / RailwaysTNPSC

What it is

Three classic remainder questions:

  1. The smallest number that leaves the same remainder r when divided by a, b and c.
  2. The smallest number that leaves remainders that are each k short of the divisor (for example 3, 4, 5 leaving 1, 2, 3).
  3. The greatest number that divides x and y leaving different remainders r₁ and r₂.

How to solve it

  1. Same remainder r: LCM(a, b, c) + r
  2. Each remainder is divisor − k: LCM(a, b, c) − k (the number is k short of a common multiple)
  3. Different remainders: HCF(x − r₁, y − r₂)

Tips and shortcuts

  • Check type 2 by subtracting: 3 − 1 = 4 − 2 = 5 − 3 = 2, so k = 2.
  • "Greatest" with remainders means HCF; "smallest" means LCM.
  • Subtract each remainder from its own number, not from the other one.
  • The answer to type 3 must be bigger than every remainder.

Solved examples

Example 1 (easy): same remainder

Smallest number leaving remainder 4 when divided by 6, 8 and 12?

LCM = 24 → 28.

Example 2 (medium): each short by the same amount

Smallest number that leaves remainders 2, 3 and 4 when divided by 3, 4 and 5?

Each is 1 short: LCM(3, 4, 5) − 1 = 59.

Example 3 (hard): different remainders

Greatest number dividing 260 and 375, leaving remainders 8 and 11?

HCF(252, 364) = 28.

Example 4 (medium): a range

Smallest four-digit number that leaves remainder 3 when divided by 5, 6 and 8?

LCM = 120. The smallest multiple of 120 at or above 997 is 1,080 (120 × 9), so the number is 1,080 + 3 = 1,083.

Example 5 (hard): same remainder, unknown

The greatest number that divides 70, 104 and 138 leaving the same remainder in each?

The differences 34 and 34 → HCF(34, 34, 68) = 34.

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 leaves a remainder of 1 when divided by 6, 8, 12 each?

  2. Question 2easy

    What is the smallest number that leaves a remainder of 3 when divided by 5, 6, 8 each?

  3. Question 3easy

    What is the smallest number that leaves a remainder of 3 when divided by 6, 8, 12 each?

  4. Question 4medium

    Find the smallest number which, when divided by 5, 6, 8, leaves remainders 3, 4, 6 respectively.

  5. Question 5medium

    Find the smallest number which, when divided by 6, 8, 9, leaves remainders 5, 7, 8 respectively.

  6. Question 6medium

    Find the smallest number which, when divided by 6, 8, 9, leaves remainders 3, 5, 6 respectively.

  7. Question 7hard

    What is the greatest number that divides 969 and 142, leaving remainders 33 and 34 respectively?

  8. Question 8hard

    What is the greatest number that divides 362 and 388, leaving remainders 12 and 10 respectively?

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 →