CDS Mathematics · Number System
HCF & LCM — Applications and Remainder Recipes
Deciding which of HCF and LCM a word problem wants, and the three standard remainder recipes: same remainder means take the HCF of the differences, a common remainder means LCM plus r, and a constant shortfall means LCM minus d.
Why this matters
Twenty PYQs and not one HARD — this is the most mechanical unit in the chapter, and the marks are there for anyone who can classify the question in ten seconds. Seven of the twenty were filed under Divisibility in the bank because they are phrased as remainder problems; they are HCF and LCM questions in disguise, and that is exactly why they are taught here.
Concept 1 of 7
When the answer is the HCF: the largest common measure
Intuition
Definition
Use the HCF when the question asks for the largest quantity that divides several given quantities exactly:
- the largest square tile that paves a floor with no cutting;
- the greatest length that measures several lengths exactly;
- the greatest speed making each journey take a whole number of hours.
Convert to a common unit first — centimetres, paise, tenths of a kilometre — so the HCF is taken over integers. For a tiling count, divide each side by the HCF and multiply.
Tile count from the HCF
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q63 · CDS (I) 2023 — Elementary Mathematics · 2023]
Largest tile and minimum number of tiles are the same question
Concept 2 of 7
When the answer is the LCM: things coinciding again
Intuition
Definition
Use the LCM when the question asks for the first time several repeating events coincide:
- bells ringing at different intervals, next ringing together;
- runners with different lap times, next meeting at the start;
- the least amount that is a whole number of two different units.
Then convert the LCM into the requested units, and if the question asks how many times within a window, divide the window by the LCM and take the floor.
Coincidences within a window
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q17 · CDS (I) 2019 — Elementary Mathematics · 2019]
How many MORE times excludes the start
Concept 3 of 7
Largest, smallest and how many multiples in a range
Intuition
Definition
Let be the LCM of the given divisors.
- Largest -digit multiple: .
- Smallest -digit multiple: .
- Count of multiples up to : .
For a least perfect square divisible by the given numbers, take the LCM and then raise each prime exponent to the next even number.
Multiples in a range
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q1 · CDS (II) 2018 — Elementary Mathematics · 2018]
An LCM multiple need not be a perfect square
Concept 4 of 7
Recipe 1: same unknown remainder means take the HCF of the differences
Intuition
Definition
If leaves the same remainder on dividing , , , then divides each of , and . The greatest such is
- The two independent differences suffice; the third is their sum and adds nothing.
- If instead the remainder is stated — "leaves remainder 5 in each case" — subtract it from every number first and take the HCF of the results.
Same-remainder recipe
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q24 · CDS (I) 2026 — Elementary Mathematics · 2026]
Unknown remainder means differences; known remainder means subtract it
Concept 5 of 7
Recipe 2: the same remainder from every divisor means LCM times k, plus r
Intuition
Definition
If modulo each of (with less than every ), then
- For the smallest such with a digit condition, find the least making large enough.
- For the largest -digit such , take then multiply back and add .
- For divisors that are successive powers of one prime, the LCM is just the highest power.
Common-remainder recipe
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q30 · CDS (II) 2025 — Elementary Mathematics · 2025]
The stated remainder must be smaller than every divisor
Concept 6 of 7
Recipe 3: a constant shortfall means LCM times k, minus d
Intuition
Definition
If leaves remainder on dividing by , for every and a fixed , then is divisible by every , so
- The classic signature is remainders one less than the divisors: remainders for divisors means .
- Always compute divisor minus remainder for each pair and check the value is the same before using this. If the shortfalls differ, no single recipe applies.
Constant-shortfall recipe
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q6 · CDS (II) 2016 — Elementary Mathematics · 2016]
Check the shortfall is really constant before reaching for this
Concept 7 of 7
Layering an extra condition on a remainder recipe
Intuition
Definition
Procedure:
- Apply the appropriate recipe to get the family .
- Substitute into the extra condition. If must be divisible by , reduce and modulo and solve for .
- Take the least non-negative that works, then compute .
For two different remainders with no common pattern, listing one family and testing it against the other condition is faster than any formula.
Layered condition
Worked example
Practice this conceptself-check · 4 quick reps
From the bank · past-year question
[Q7 · CDS (II) 2024 — Elementary Mathematics · 2024]
Do not stop at the family — the extra condition is the question
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (7)
- When the answer is the HCF: the largest common measure
Tile count from the HCF
- When the answer is the LCM: things coinciding again
Coincidences within a window
- Largest, smallest and how many multiples in a range
Multiples in a range
- Recipe 1: same unknown remainder means take the HCF of the differences
Same-remainder recipe
- Recipe 2: the same remainder from every divisor means LCM times k, plus r
Common-remainder recipe
- Recipe 3: a constant shortfall means LCM times k, minus d
Constant-shortfall recipe
- Layering an extra condition on a remainder recipe
Layered condition
Watch out for (7)
- Largest tile and minimum number of tiles are the same question→ When the answer is the HCF: the largest common measure
- How many MORE times excludes the start→ When the answer is the LCM: things coinciding again
- An LCM multiple need not be a perfect square→ Largest, smallest and how many multiples in a range
- Unknown remainder means differences; known remainder means subtract it→ Recipe 1: same unknown remainder means take the HCF of the differences
- The stated remainder must be smaller than every divisor→ Recipe 2: the same remainder from every divisor means LCM times k, plus r
- Check the shortfall is really constant before reaching for this→ Recipe 3: a constant shortfall means LCM times k, minus d
- Do not stop at the family — the extra condition is the question→ Layering an extra condition on a remainder recipe
Drill every past-year question on this subtopic
20 questions from the bank — paginated, with cart and Word-export support.