HCF & LCM
🔒 Log in to trackHCF & LCM: definitions and core relations
🔒 Log in to trackThe HCF is the largest number that divides every given number; the LCM is the smallest number that every given number divides. For two numbers, HCF times LCM equals their product. Numbers in a ratio are the ratio parts times the HCF.
Overview
The HCF (highest common factor) is the largest number that divides each given number exactly. The LCM (lowest common multiple) is the smallest number that each given number divides exactly. For 12 and 18 the common factors are 1, 2, 3 and 6, so the HCF is 6; their multiples first meet at 36, so the LCM is 36.
The size order
The HCF is never bigger than the smallest number. The LCM is never smaller than the largest number. So HCF every number LCM, for numbers of 1 or more. This order kills wrong options at sight.
Rule: HCF smallest number, and LCM largest number. An option breaking this order is wrong.
The product relation
For exactly two numbers, HCF times LCM equals the product of the two numbers. Check on 12 and 18: . The rule fails for three numbers, so never use it there. One common use is finding a missing number: other number .
Example: HCF 15, LCM 225, one number 45. The other is . Check: and .
Numbers in a ratio
Numbers in ratio (parts co-prime) with HCF are and . Then:
- LCM
- sum
- difference
Ratio 3 : 4 with HCF 6 gives 18 and 24, LCM , sum . Working backwards from an LCM: ratio 4 : 9 and LCM 252 give , so the numbers are 28 and 63.
Tip: Ratio and LCM given: divide the LCM by the product of the ratio parts. That quotient is the HCF.
Co-prime and close numbers
Co-prime numbers have HCF 1, so their LCM is simply their product. Consecutive integers are always co-prime. The HCF also divides every difference of the numbers: two numbers 20 apart can never have HCF 12, because 12 does not divide 20.
One more standard shape: the HCF is , and the other two factors of the LCM are and (co-prime). The numbers are and , and the LCM is . HCF 12 with other factors 5 and 7 gives numbers 60 and 84, and LCM .
Watch: The LCM is always a multiple of the HCF. An LCM option that is not a multiple of the given HCF is wrong at sight.
Counting pairs
A question may ask how many pairs of numbers have a given product and HCF . Write the numbers as and with co-prime and , so . The answer is the number of co-prime factor pairs of that quotient. The pair counts as one pair. For product 216 with HCF 6: , and 6 has co-prime pairs and , so 2 pairs exist: 6 with 36, and 12 with 18.
Question types you will see
Each type: how to recognise it, the method step by step, and one question to try.
Find the HCF or LCM of small numbers directly
The question asks plainly for the HCF or LCM of two or three small numbers, with no story around it.
Factorise each number into primes.
HCF: multiply the primes common to all numbers, at the lowest power of each.
LCM: multiply every prime that appears, at the highest power of each.
Sanity check: HCF at most the smallest number, LCM at least the largest.
A common divisor cannot use more of any prime than the poorest number holds; a common multiple needs the richest stock of every prime.
Find the LCM of 12, 15 and 20.
Show solutionHide solution
, , .
Take the highest power of every prime: , , .
LCM .
60
HCF x LCM = product (two numbers)
Any two of product, HCF, LCM and one number are given, and a third value is asked.
Confirm exactly two numbers are involved.
Write the product relation and fill in the three known values.
Divide to get the fourth value.
Check: the HCF must divide the LCM, and the HCF must divide both numbers.
Writing and with co-prime parts, the LCM is , so HCF times LCM equals .
The HCF of two numbers is 12, their LCM is 240, and one number is 48. Find the other number.
Show solutionHide solution
Other .
.
Check: and .
60
Numbers in a given ratio, HCF or LCM known
Two numbers are in a ratio and the HCF or LCM is given; a sum, difference or the numbers themselves are asked.
Cancel the ratio to co-prime parts first.
HCF given: the numbers are and .
LCM given: , then the numbers are and .
Answer what is asked: sum, difference, product or the numbers.
The ratio fixes only the shape of the pair; the HCF is the scale factor that stretches it.
Two numbers are in the ratio 5 : 7 and their LCM is 700. Find their sum.
Show solutionHide solution
.
Numbers: and .
Sum .
240
HCF given with the other factors of the LCM
The HCF is given together with the two leftover factors of the LCM, and the numbers are asked.
The numbers are HCF times the first other factor, and HCF times the second.
The two other factors must be co-prime; otherwise the data is impossible.
If asked, the LCM is HCF times the product of the two factors.
The LCM equals the HCF times the leftover co-prime parts, by the structure of the two ideas.
The HCF of two numbers is 17 and the other two factors of their LCM are 11 and 16. Find the greater number.
Show solutionHide solution
Numbers: and .
, so the data is valid.
Greater number .
272
Co-prime, consecutive and property questions
The word co-prime or consecutive appears, or a pair must be tested for being co-prime.
Co-prime with LCM given: divide the LCM by the given number to get the other.
Testing a pair for co-prime: check for any common factor above 1.
Difference checks: a common factor must divide the difference of the pair.
With no common prime between them, nothing cancels, so the LCM is the plain product.
The LCM of two co-prime numbers is 312 and one of them is 13. Find the other number.
Show solutionHide solution
Co-prime, so LCM product.
Other .
Check: .
24
Formula sheet
Shortcuts that save time
Numbers in ratio a : b (co-prime parts) with HCF h are ha and hb. LCM = h times a times b; sum = h times (a plus b).
Two numbers are in the ratio 3 : 8 and their HCF is 9. Find their LCM.
Show solutionHide solution
Numbers: and .
LCM .
.
216
Given any two of product, HCF, LCM, the product relation settles the third in one division.
The product of two numbers is 2940 and their HCF is 14. Find the LCM.
Show solutionHide solution
.
.
.
210
For pair-count questions, divide the product by the square of the HCF, then count co-prime factor pairs of the result.
The product of two numbers is 216 and their HCF is 6. How many such pairs exist?
Show solutionHide solution
.
Co-prime pairs of 6: and .
So 2 pairs: 6 with 36, and 12 with 18.
2
Mistakes to avoid
Where most students lose marks on this subtopic.
Using HCF x LCM = product for three numbers.
The relation holds for exactly two numbers only.
Forgetting the co-prime pair (1, quotient) when counting pairs.
That pair is always valid; include it in the count.
Reading 'greatest number that divides' as an LCM question.
'Greatest that divides' is HCF; 'least that is divisible by' is LCM.
Taking the HCF of a ratio pair to be the ratio itself.
The HCF is the scale factor h; the ratio only gives the co-prime parts.
Reporting an LCM that is not a multiple of the HCF.
The LCM is always a multiple of the HCF; recheck the arithmetic.
Quick revision
Read this the night before the exam.
Two numbers: . Three numbers: no such rule.
Co-prime numbers: HCF 1, LCM product. Consecutive integers are co-prime.
Ratio with HCF : numbers , ; LCM ; sum .
HCF divides every difference; LCM is a multiple of the HCF.
Other factors , of the LCM: numbers , ; LCM .
Pair count: co-prime factor pairs of product .
Practice: 15 questions
Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.
Topic test · 10 questions
Suggested time 6 min · wrong answers go to your mistake notebook automatically.