HCF & LCM
🔒 Log in to trackHCF & LCM: definitions and core relations
🔒 Log in to trackHCF (GCD) of some numbers is the largest number that divides all of them. LCM is the smallest number divisible by all of them.
- HCF ≤ every number ≤ LCM (for numbers ≥ 1).
- LCM is always a multiple of the HCF.
- For co-prime numbers: HCF = 1 and LCM = product.
- For two numbers: product of the numbers. (Does not hold for three numbers.)
- If one number and the HCF are given, the other number .
HCF of numbers close together is small (it must divide their difference); HCF of numbers in a fixed ratio is the scale factor.
Detailed notes
What are HCF and LCM?
HCF (Highest Common Factor, also called GCD) of some numbers is the largest number that divides each of them exactly. LCM (Lowest Common Multiple) is the smallest number that is exactly divisible by each of them. Example: for 12 and 18 the common factors are 1, 2, 3, 6, so HCF ; the multiples of 12 and 18 first meet at 36, so LCM .
Five rules that solve most questions
- Size order: HCF every number LCM (for numbers ). An option that breaks this is wrong at sight.
- Product relation (two numbers only): . Check: . It does not hold for three numbers — never use it there.
- Missing number: if one number, the HCF and the LCM are known, the other number . Example: HCF 18, LCM 378, one number 54 → other .
- Co-prime numbers (numbers whose HCF is 1): LCM = product. Consecutive integers are always co-prime, so their LCM is just their product.
- LCM is always a multiple of the HCF. An option that is not a multiple of the given HCF is wrong at sight.
Numbers given in a ratio
Numbers in ratio (with a, b co-prime) and HCF are and :
- LCM , sum , difference , product . Example: ratio 3 : 4, HCF 6 → numbers 18 and 24 → LCM , sum . Working backwards: if a 5 : 7 pair has LCM 140, then → → numbers 20 and 28.
HCF of numbers that are close or related
- The HCF divides every difference: divides . So two numbers 20 apart can never have HCF 12 — a fast option-killer.
- Consecutive integers: HCF = 1, LCM = their product.
- "Other factors of the LCM": if the HCF is and the remaining factors of the LCM are and (co-prime), the numbers are and , and LCM . Example: HCF 23 with other factors 13 and 14 → numbers 299 and 322, LCM .
Counting pairs (a preview)
"How many pairs of numbers have product P and HCF h?" — write them as with , so . The answer is the number of co-prime factor pairs of (worked fully in the two-step-cases subtopic).
Quick revision
- Two numbers: HCF × LCM = product. Three numbers: no such rule.
- Co-prime → HCF 1, LCM = product. Consecutive integers are co-prime.
- Ratio a : b with HCF h → numbers ha, hb; LCM = hab; sum = h(a + b).
- LCM is a multiple of the HCF; HCF divides every difference.
Types of questions asked
Every way this subtopic shows up in exams — how to recognise it, the formula or logic to use, and a solved example.
Type 1: Find the HCF or LCM of small numbers directlyvery common2 practice Q
'Find the HCF of 96 and 404' or 'the LCM of 12, 15 and 20 is' — plain computation, no story.
- Factorise each number into primes.
- HCF: multiply the primes common to ALL numbers, taking the lowest power of each.
- LCM: multiply every prime that appears, taking the highest power of each.
Why: a common divisor cannot use more of any prime than the number with the fewest; a common multiple needs at least the richest stock of every prime.
Example: Find the LCM of 16, 24 and 36.
, , . LCM .
Type 2: HCF × LCM = product (two numbers)very common2 practice Q
Any two of {product, HCF, LCM, one number} are given and a third is asked.
- Write the product relation (valid for exactly two numbers).
- Fill in the three known values and divide to get the fourth.
- Sanity check: the HCF must divide the LCM.
Why: writing , with co-prime , the LCM is , so HCF × LCM .
Example: The HCF of two numbers is 18 and their LCM is 378. If one number is 54, find the other.
Other . Check: and LCM .
Type 3: Numbers in a given ratio, HCF or LCM knownvery common2 practice Q
'Two numbers are in ratio m : n and their HCF (or LCM) is …' — then a sum, difference or the LCM is asked.
- Treat the ratio parts m, n as co-prime (cancel the ratio first if needed).
- HCF given: numbers are hm and hn. LCM given: .
- Answer whatever is asked (sum, difference, product, LCM).
Why: the ratio fixes only the shape; the HCF is the scale factor h.
Example: Two numbers are in the ratio 5 : 7 and their LCM is 140. Find the difference of the numbers.
→ numbers 20 and 28 → difference .
Type 4: HCF given with the 'other factors' of the LCMcommon2 practice Q
'The HCF of two numbers is 29 and the other two factors of their LCM are 15 and 13. Find the numbers.'
- The numbers are h × (first other factor) and h × (second other factor).
- The two 'other factors' must be co-prime — if not, the data is impossible.
- LCM = h × m × n if it is asked too.
Why: LCM = HCF × (leftover co-prime parts), by the structure of HCF and LCM.
Example: The HCF of two numbers is 23 and the other two factors of their LCM are 13 and 14. Find the greater number.
Numbers: and . Greater . (LCM would be .)
Type 5: Co-prime, consecutive and other property questionscommon2 practice Q
'The LCM of two co-prime numbers is …, one is …' or 'which pair is co-prime?' — the word co-prime or consecutive appears.
- Co-prime + LCM given: divide the LCM by the given number to get the other.
- 'Which pair is co-prime?': test each pair for a common factor > 1.
- Difference-based checks: the HCF must divide the difference of the numbers.
Why: with no common prime, nothing cancels — so the LCM is the plain product.
Example: The LCM of two co-prime numbers is 221 and one of them is 13. Find the other.
Co-prime → LCM = product → other . (Indeed .)
Formulas
Shortcut tricks
⚡ Ratio split
Numbers in ratio (a, b co-prime) with HCF are and ; LCM ; sum ; difference .
Example: Two numbers are in ratio 5 : 6 and their HCF is 12. Find the LCM.
Numbers are 60 and 72. LCM .
⚡ Product ÷ HCF = LCM in one step
Any question giving two of {product, HCF, LCM, one number} resolves by the product relation.
Example: The product of two numbers is 1600 and their HCF is 5. Find the LCM.
.
⚡ Divisor pairs of (product ÷ HCF)
For 'how many pairs of numbers' questions, split product/HCF into co-prime factor pairs.
Example: The product of two numbers is 2028 and HCF is 13. How many such pairs exist?
... i.e. with : pairs (1,156), (3,52), (4,39), (12,13) ⇒ 4 pairs.
Where students lose marks
Using for three numbers — false for three.
Forgetting that the co-prime pair (1, product) counts as a valid pair.
Confusing 'greatest number that divides' (HCF) with 'least number that is divisible by' (LCM).
Assuming the HCF of a ratio pair is the ratio itself.
Practice sets — 15 questions
Sets of 10, mixed across the question types above. Each answer comes with a step-by-step explanation.
Topic test · 10 questions
Suggested time 6 min · wrong answers go to your mistake notebook automatically.