CUET asks HCF and LCM both directly and hidden inside word problems about bells, tiles and remainders. The arithmetic is short. What takes skill is seeing which of the two a question wants. This lesson covers both ideas, the two methods, the HCF × LCM rule, fractions and decimals, and every common word-problem pattern.
Most HCF and LCM questions reduce to one decision. Does the problem want the biggest number that fits into all the given numbers, or the smallest number that all of them fit into? Once you have decided, the calculation takes seconds.
The HCF (highest common factor) of two or more numbers is the largest number that divides each of them exactly. It is also called the GCD, or greatest common divisor.
The factors of 20 are 1, 2, 4, 5, 10 and 20. The factors of 30 are 1, 2, 3, 5, 6, 10, 15 and 30. They share 1, 2, 5 and 10, and the largest of these is 10:
The HCF is the largest number that divides all the given numbers. The LCM is the smallest number that all the given numbers divide. So the HCF can never be larger than the smallest number, and the LCM can never be smaller than the largest number.
HCF
LCM
Meaning
Largest common factor
Smallest common multiple
Size
At most the smallest number
At least the largest number
For 20 and 30
10
60
By prime factors
Common primes, lowest powers
All primes, highest powers
In word problems
Cutting into the largest equal parts
Waiting for things to line up
A five-second check
Before you mark an answer, check two things. The HCF must divide every given number, and every given number must divide the LCM. An "HCF" larger than one of the numbers, or an "LCM" smaller than one of them, is wrong.
There are two methods worth knowing. Prime factorisation gives you the HCF and the LCM together, and suits most CUET numbers. The division method finds only the HCF, but it is much faster when the numbers are large or hard to factorise. For very small numbers, listing factors or multiples as above is fine.
Write each number as a product of prime powers. For the HCF, take only the primes that appear in every number, each at its lowest power. For the LCM, take every prime that appears in any number, each at its highest power.
Example 1 · Prime factorisation
Find the HCF and LCM of 84, 126 and 210.
Write each number as a product of primes.
84126210=22×3×7=2×32×7=2×3×5×7
For the HCF, the primes found in all three numbers are 2, 3 and 7. Take the lowest power of each: HCF=2×3×7=42.
For the LCM, take every prime at its highest power: LCM=22×32×5×7=1260.
Answer
HCF=42 and LCM=1260
Watch out
The prime 5 appears in only one of the numbers. It is left out of the HCF, but it must go into the LCM.
Divide the larger number by the smaller one. Then divide the previous divisor by the remainder, and keep going until the remainder is 0. The last divisor you used is the HCF. This is Euclid's method.
Example 2 · Division method
Find the HCF of 1183 and 1729.
Divide 1729 by 1183: 1729=1×1183+546.
Divide the old divisor, 1183, by the remainder 546: 1183=2×546+91.
Divide 546 by 91: 546=6×91+0. The remainder is 0, so stop.
Answer
HCF(1183,1729)=91
To check: 1183=91×13 and 1729=91×19.
Exam shortcut
For three numbers, find the HCF of two of them, then the HCF of that result and the third number.
Why this works
Suppose a=qb+r. Any number that divides both a and b also divides r=a−qb. Likewise, any number that divides both b and r also divides a. So HCF(a,b)=HCF(b,r). Each step keeps the HCF the same while the numbers get smaller. When the remainder reaches 0, the last divisor divides the number before it exactly, so it is the HCF.
For any two numbers, the HCF multiplied by the LCM equals the product of the two numbers. If you know any three of these four quantities, you can find the fourth.
The product rule, for two numbers
HCF(a,b)×LCM(a,b)=a×b
Example 3 · Finding the missing number
The HCF of two numbers is 14, their LCM is 420, and one of the numbers is 70. Find the other number.
Put the known values into the rule: 14×420=70×other.
Solve: other=7014×420=705880=84.
Answer
The other number is 84.
To check: HCF(70,84)=14 and LCM(70,84)=420.
Two useful facts follow from this rule:
The HCF always divides the LCM. Both numbers are multiples of the HCF, so every common multiple is too. So "HCF 12, LCM 100" is impossible, because 100 is not a multiple of 12.
For co-prime numbers (HCF = 1), the LCM is the product. For example, LCM(8,15)=120.
Watch out
The rule works for exactly two numbers. For three numbers, HCF × LCM is usually not equal to their product.
Why this works
Let h be the HCF, and write the numbers as a=hp and b=hq, where p and q are co-prime. Then LCM=hpq, so HCF×LCM=h×hpq=hp×hq=a×b.
If the HCF is h, write the numbers as hp and hq, where p and q have no common factor other than 1 (they are co-prime). Then turn whatever else the question tells you into a condition on p and q.
Example 4 · Counting pairs
The HCF of two numbers is 9 and their sum is 108. How many such pairs are there?
Write the numbers as 9p and 9q. Then 9p+9q=108, so p+q=12.
List the pairs that add to 12: (1, 11), (2, 10), (3, 9), (4, 8), (5, 7), (6, 6).
Keep only the co-prime pairs: (1, 11) and (5, 7).
Answer
2 pairs: (9, 99) and (45, 63).
Watch out
(18, 90) also adds up to 108, but its HCF is 18, not 9. That is why p and q must be co-prime.
Common variation: numbers in a ratio
If two numbers are in the ratio 4 : 9 and their HCF is 6, the numbers are 6×4=24 and 6×9=54, and LCM=6×4×9=216. This shortcut works because 4 and 9 are co-prime.
With three terms, check the terms in pairs. For the ratio 2 : 3 : 4 with HCF h, the terms 2 and 4 share a factor. So the LCM is h×LCM(2,3,4)=12h, not 24h.
Reduce each fraction to its lowest terms first. The HCF of fractions is the HCF of the numerators divided by the LCM of the denominators. The LCM of fractions is the LCM of the numerators divided by the HCF of the denominators.
Fractions in lowest terms
HCF=LCM of denominatorsHCF of numerators
LCM=HCF of denominatorsLCM of numerators
Example 5 · Fractions
Find the HCF and LCM of 52, 76 and 158.
The numerators are 2, 6 and 8. Their HCF is 2 and their LCM is 24.
The denominators are 5, 7 and 15. Their HCF is 1 and their LCM is 105.
Use the formulas: HCF=1052 and LCM=124=24.
Answer
HCF=1052 and LCM=24
To sense-check: 24÷76=28, a whole number, so 24 really is a multiple of 76. The HCF of fractions should come out no larger than the smallest fraction, and the LCM no smaller than the largest.
Watch out
The two formulas are mirror images, and swapping the denominator parts is the most common error. The HCF uses the LCM of the denominators. The LCM uses the HCF of the denominators.
Give every number the same number of decimal places and remove the decimal point. Then find the HCF or LCM of the whole numbers, and put the same number of decimal places back.
Example 6 · Decimals
Find the HCF and LCM of 0.8, 1.2 and 0.28.
Write every number with two decimal places: 0.80, 1.20 and 0.28. Then work with 80, 120 and 28.
HCF(80,120,28)=4, so the HCF is 0.04.
LCM(80,120,28)=1680, so the LCM is 16.80, which is 16.8.
Answer
HCF = 0.04 and LCM = 16.8
Watch out
If you skip the step of giving every number the same number of decimal places, you end up working with 8, 12 and 28, which gives the wrong answer.
Ask what the problem is doing. If it is splitting things into the largest possible equal parts, you need the HCF. If it is waiting for repeating things to line up, or asking for the smallest amount that every size divides, you need the LCM.
Clue in the question
Use
Why
Largest tile, container, rope piece or group size
HCF
The piece must fit exactly into every quantity
Fewest tiles, boxes or rows
HCF, then divide
The largest piece gives the fewest pieces
Bells, lights or runners coming together again
LCM
Every cycle has to line up
Smallest length, amount or group that splits exactly
LCM
Every size must divide it
Greatest number that divides, with remainders
HCF
Remove the remainders first
Least number that is divided, with remainders
LCM
Then add or adjust for the remainder
Example 7 · Bells ringing together
Three sirens sound every 20, 30 and 45 minutes. They sound together at 10:00 am. When do they next sound together?
They coincide again after LCM(20,30,45)=180 minutes.
180 minutes is 3 hours after 10:00 am.
Answer
At 1:00 pm.
Example 8 · Fewest tiles
A room measures 5.4 m by 4.2 m. What is the fewest number of identical square tiles that will cover the floor exactly?
Convert to centimetres: 540 cm by 420 cm.
The fewest tiles means the largest tile: HCF(540,420)=60 cm.
Count them: 60540×60420=9×7=63.
Answer
63 tiles, each 60 cm × 60 cm.
Exam shortcut
For runners on a circular track, first work out each runner's lap time (track length ÷ speed). The LCM of the lap times is when they are next back at the starting point together.
Start from the LCM of the divisors. If every division leaves the same remainder, add it. If the gap between each divisor and its remainder is the same, subtract that gap.
Situation
Answer
Example
Same remainder r every time (answer greater than r)
LCM +r
Divided by 10, 14 and 35, leaves 3: 70+3=73
Divisor − remainder is the same k every time
LCM −k
Divided by 6, 10 and 14, leaves 4, 8 and 12: 210−2=208
Same remainder, plus another condition
LCM×n+r, trying n=1,2,3,…
Example 9 below
Example 9 · Remainder with an extra condition
Find the least number that leaves remainder 2 when divided by 4, 5 and 6, and is also divisible by 7.
LCM(4,5,6)=60, so the number has the form 60n+2.
Try values of n. For n=1 you get 62, and for n=2 you get 122. Neither divides by 7.
For n=3 you get 182=7×26, which works.
Answer
182
A faster way to find n
60 leaves remainder 4 when divided by 7. So 60n+2 is divisible by 7 exactly when 4n+2 is. The smallest n that makes 4n+2 a multiple of 7 is n=3.
Common variation: the largest or smallest n-digit number
Divide the extreme number (9999 for "largest four-digit", 1000 for "smallest four-digit") by the LCM, and take the multiple of the LCM just below it. Add the remainder if the question gives one. If the result now has the wrong number of digits, move one LCM up or down.
For example, the smallest four-digit number that leaves 5 when divided by 12: the multiple of 12 just below 1000 is 996, and 996+5=1001, which already has four digits. Stepping up to 1008 first would give 1013, which is too big.
Subtract each remainder from its number, then take the HCF of the results. If the question only says the remainder is the same each time, without saying what it is, take the HCF of the differences between the numbers.
Example 10 · Different remainders
Find the greatest number that divides 1657 and 2037, leaving remainders 6 and 5 respectively.
Remove the remainders: 1657−6=1651 and 2037−5=2032.
Find the HCF: 1651=127×13 and 2032=127×16. Since 13 and 16 are co-prime, HCF=127.
Check that the divisor is larger than both remainders. 127 is larger than 6 and 5, so the answer is valid.
Answer
127
Watch out
A remainder is always smaller than the divisor. If the HCF comes out no larger than one of the remainders, no number fits: every valid divisor divides that HCF, so none can be larger than it.
Example 11 · Same, unknown remainder
Find the greatest number that divides 158, 318 and 578, leaving the same remainder each time.
Take the differences between the numbers: 318−158=160, 578−318=260 and 578−158=420.
Find the HCF: HCF(160,260,420)=20.
Answer
20
To check: each of the three numbers leaves remainder 18 when divided by 20.
Test the options first. In an HCF question, cross out every option that does not divide all the numbers. In an LCM question, cross out every option that is not divisible by all of them. Often only one option is left.
The HCF divides the difference. The HCF of two numbers also divides their difference. For example, HCF(391,408) must divide 408−391=17. Since 17 is prime and 391=17×23, the answer is 17.
Consecutive numbers are co-prime. So their LCM is simply their product: LCM(15,16)=240.
Counting common multiples. The count of numbers up to N that are divisible by both a and b is N÷LCM(a,b), rounded down.
Least perfect square that is a multiple. Find the LCM, then multiply by each prime that appears to an odd power in its factorisation.
Using the product instead of the LCM.LCM(12,18) is 36, not 216. The product counts the shared factor twice.
Stopping at a common factor that is not the largest. 12 divides both 48 and 72, but the HCF is 24.
Getting the remainder the wrong way round. "Divided by … leaves 4" means you add 4 to the LCM. "Increased by 5 becomes divisible" means you subtract 5.
Mixing units. Convert everything to the same unit first. For example, 6 m 24 cm is 624 cm.
Counting coincidences off by one. Lights that change together every 4 minutes coincide 15 times in the next 60 minutes, or 16 times if you count the start. Read whether the start counts.
Counting calendar days carelessly. 60 days after 1 March is not 1 May. Count the actual days in each month.
Pairs that are not co-prime. When you write the numbers as hp and hq, check that p and q have no common factor other than 1.
Using HCF × LCM = product for three numbers. It only works for two.
What is the least common multiple of 12, 18 and 24?
Show the explanationHide the explanation
AnswerB · 72
Write each number as a product of prime factors: 12=22×3, 18=2×32 and 24=23×3.
The LCM takes the highest power of each prime that appears anywhere: 23 from 24 and 32 from 18.
So the LCM is 23×32=8×9=72.
Check: 72÷12=6, 72÷18=4 and 72÷24=3, all whole numbers.
Worth noting
144 and 216 are common multiples too, but the question asks for the least one. Multiplying the numbers together always gives a common multiple and almost never the smallest.
LCM of fractions = HCF of denominatorsLCM of numerators.
LCM(3,5,9)=45.
HCF(4,6,10)=2.
LCM = 245.
Worth noting
245 divided by each fraction gives a whole number: 30, 27 and 25. 83 is 45÷120 (LCM over LCM), which is smaller than the fractions themselves, so it cannot be a common multiple.
Three numbers are in the ratio 2:3:4 and their HCF is 12. What is their LCM?
Show the explanationHide the explanation
AnswerC · 144
The numbers are 24, 36 and 48.
24=23×3, 36=22×32, 48=24×3.
LCM = 24×32=144.
Worth noting
288 comes from 12×2×3×4, but 2 and 4 are not co-prime, so the shortcut HCF × (product of ratio terms) is wrong here. The correct multiplier is LCM(2,3,4)=12.
17 divides only 391, and 13 divides none of them. It is tempting to answer 1 when no small prime divides all three, but they share the larger prime 23.
The HCF of two numbers is 5 and their LCM is 300. If the sum of the two numbers is 85, what is their difference?
Show the explanationHide the explanation
AnswerA · 35
Product = HCF×LCM=5×300=1,500.
The numbers are 5a and 5b with a+b=17 and ab = 60 (co-prime).
a and b are 5 and 12, so the numbers are 25 and 60.
Difference = 60−25=35.
Worth noting
60 is the larger number and 85 the sum; 295 is LCM−HCF. Check: HCF(25,60)=5 and LCM(25,60)=300. Quicker: (x−y)2=(x+y)2−4xy=7225−6000=1225, so the difference is 35.
On a circular track, Ishaan, Deepika and Tenzin take 36 s, 48 s and 60 s to complete one lap. They start together from the starting line. After how long will all three first be at the starting line together again?
Show the explanationHide the explanation
AnswerD · 12 minutes
They meet at the start after LCM(36, 48, 60) seconds.
36=22×32, 48=24×3, 60=22×3×5.
LCM = 24×32×5=720s=12 minutes.
Worth noting
2 min 24 s, 3 min and 4 min are the LCMs of only two of the three runners.
A dairy has three tanks holding 403 L, 434 L and 465 L of milk. What is the capacity of the largest can that can measure the milk of each tank exactly, in whole fills?
Show the explanationHide the explanation
AnswerB · 31 L
The can must divide all three quantities, so find HCF(403, 434, 465).
403=13×31, 434=14×31, 465=15×31.
HCF=31 L.
Worth noting
62 and 93 are multiples of 31, but 62 does not divide 403 or 465, and 93 does not divide 403 or 434.
A hall floor measures 6.24 m by 4.32 m. It is to be covered with identical square tiles without cutting any tile. What is the side of the largest such tile?
Show the explanationHide the explanation
AnswerC · 48 cm
Convert to cm: 624 cm and 432 cm.
The tile side must divide both, so take HCF(624, 432).
624=24×3×13, 432=24×33, so HCF = 24×3=48 cm.
Worth noting
72 cm divides 432 but not 624; 24 cm fits but is not the largest.
A school has 336 boys and 252 girls. They are to stand in rows so that every row has the same number of students and each row has only boys or only girls. What is the least number of rows possible?
Show the explanationHide the explanation
AnswerA · 7
Fewest rows means the most students per row: HCF(336,252)=84.
Rows of boys = 336÷84=4; rows of girls = 252÷84=3.
Total rows = 4+3=7.
Worth noting
84 is the number of students in each row, not the number of rows; 12 multiplies the 4 boys' rows by the 3 girls' rows instead of adding. 588 is the total number of students.
Three traffic signals on a road change every 48 s, 72 s and 108 s. They all change together at 7:00:00 am. At what time will they next change together?
Show the explanationHide the explanation
AnswerA · 7:07:12 am
They change together after LCM(48, 72, 108) seconds.
48=24×3, 72=23×32, 108=22×33, so LCM = 24×33=432 s.
432 s=7 min 12 s, so the time is 7:07:12 am.
Worth noting
7:02:24 am uses LCM(48,72)=144 s and 7:03:36 am uses LCM(72,108)=216 s, ignoring one signal.
Rectangular tiles measuring 12 cm by 18 cm are placed side by side, all in the same direction, to form a square. What is the least number of tiles needed?
Show the explanationHide the explanation
AnswerC · 6
The side of the square must be a multiple of both 12 and 18: LCM=36 cm.
Tiles along one side = 36÷12=3; along the other = 36÷18=2.
Number of tiles = 3×2=6.
Worth noting
36 is the side of the square in cm, not the number of tiles.
On a 600 m circular track, Riya runs at 5 m/s and Karan at 4 m/s. They start together from the starting point and run in the same direction. After how long will they first be together at the starting point again?
Show the explanationHide the explanation
AnswerD · 10 minutes
Lap times: Riya 600÷5=120 s, Karan 600÷4=150 s.
They are at the start together after LCM(120,150)=600 s.
600 s=10 minutes.
Worth noting
5 hours comes from multiplying the lap times (120×150=18,000 s); 4 min 30 s adds them.
A fruit seller has 405 mangoes, 675 oranges and 540 apples. She packs them in boxes so that each box holds only one kind of fruit and every box holds the same number of fruits. What is the least number of boxes she needs?
Show the explanationHide the explanation
AnswerB · 12
Fewest boxes means most fruits per box: HCF(405, 675, 540).
405=34×5, 675=33×52, 540=22×33×5, so HCF = 33×5=135.
Boxes = 405÷135+675÷135+540÷135=3+5+4=12.
Worth noting
135 is the number of fruits per box, not the number of boxes. Using 45 per box gives 36 boxes, which is not the least.
Three ribbons are 3.6 m, 4.8 m and 7.2 m long. They are cut into pieces of equal length, the longest possible, with no ribbon left over. How many pieces are obtained in all?
Show the explanationHide the explanation
AnswerA · 13
In cm: 360, 480, 720. Longest piece = HCF(360, 480, 720) = 120 cm.
Pieces = 360÷120+480÷120+720÷120=3+4+6.
Total = 13 pieces.
Worth noting
26, 39 and 52 come from 60 cm, 40 cm and 30 cm pieces, which also leave no waste but are not the longest.
Two meshing gears have 24 and 36 teeth. A tooth on each is marked, and the two marked teeth are touching. How many full turns must the smaller gear make before the marked teeth touch again for the first time?
Show the explanationHide the explanation
AnswerB · 3
The marks meet again after LCM(24,36)=72 teeth have passed.
Turns of the smaller gear = 72÷24=3.
Worth noting
72 is the number of teeth that pass, not the number of turns. The larger gear makes 72÷36=2 turns.
Pencils are sold in packs of 12 and erasers in packs of 18. Fatima wants exactly as many pencils as erasers. What is the least total number of packs she must buy?
Show the explanationHide the explanation
AnswerA · 5
The number of each item must be a common multiple of 12 and 18; least is LCM=36.
Pencil packs = 36÷12=3; eraser packs = 36÷18=2.
Total packs = 3+2=5.
Worth noting
36 is the number of pencils (and of erasers), not the number of packs. 30 is 12+18, and 216 is 12×18.
When the chairs in a hall are arranged in rows of 9, of 12 or of 16, 4 chairs are always left over. The hall has between 400 and 500 chairs. How many chairs are there?
Show the explanationHide the explanation
AnswerD · 436
The count is 4 more than a multiple of LCM(9,12,16)=144.
Possible counts: 148, 292, 436, 580, …
The only one between 400 and 500 is 436.
Worth noting
148 and 292 fit the remainder rule but are below 400. 432 is the multiple of 144 itself, without the 4 left-over chairs.
A courtyard is 18 m 72 cm long and 13 m 20 cm wide. What is the least number of identical square tiles needed to pave it completely, without cutting any tile?
Show the explanationHide the explanation
AnswerC · 4,290
Fewest tiles means the largest tile. Convert to cm: 1872 cm and 1320 cm.
1872=24×32×13 and 1320=23×3×5×11, so HCF = 23×3=24 cm.
Tiles along the length = 1872÷24=78; along the width = 1320÷24=55.
Number of tiles = 78×55=4,290.
Worth noting
Using a 12 cm tile (a common factor but not the highest) gives 17,160 tiles, which is not the least.
Check: each number leaves remainder 23 when divided by 144.
Worth noting
36, 48 and 72 all divide the three differences, but they are not the greatest. The remainder is unknown, so work with differences, not with the numbers.
Check: 814=90×9+4, so it leaves 4 when divided by 6, 9 or 15.
Worth noting
94 satisfies the remainder condition but 94÷11 is not whole. Shortcut: 90 leaves 2 on division by 11, so you need 2k+4 to be a multiple of 11, first true at k=9.
Four alarms beep every 6, 8, 10 and 12 seconds. They beep together at the start. How many more times will they beep together in the next 30 minutes, up to and including the 30-minute mark, NOT counting the beep at the start?
Show the explanationHide the explanation
AnswerB · 15
They beep together every LCM(6,8,10,12)=120s=2 minutes.
In 30 minutes: 30÷2=15 joint beeps after the start (the last one exactly at 30 minutes).
Worth noting
16 also counts the beep at the start, which the question excludes; 14 leaves out the joint beep at exactly 30 minutes, which the question includes.
Three buses leave a depot every 15, 20 and 25 minutes. They leave together at 6:00 am. How many times will they leave together from 6:00 am to 9:00 pm, counting both 6:00 am and 9:00 pm?
Show the explanationHide the explanation
AnswerB · 4
They leave together every LCM(15,20,25)=300 minutes = 5 hours.
Neha visits the library every 4 days, Rakesh every 6 days and Salma every 10 days. All three visited on 1 March. On which date will all three next visit on the same day?
Show the explanationHide the explanation
AnswerA · 30 April
They meet again after LCM(4,6,10)=60 days.
March has 31 days, so 30 days after 1 March is 31 March.
30 more days is 30 April.
Worth noting
1 May comes from treating every month as 30 days; 60 days after 1 March is 30 April.
The students of a school can be arranged exactly in rows of 6, of 8 or of 10. The number of students is also a perfect square. What is the least possible number of students?
Show the explanationHide the explanation
AnswerD · 3,600
The number is a multiple of LCM(6,8,10)=120=23×3×5.
For a perfect square every prime needs an even power: raise to 24×32×52.
That is 120×30=3,600=602.
Worth noting
480=120×4 multiplies by a square, which never fixes the odd powers; 1,200 still has an odd power of 3.
The area names are NTA's. The chapters inside them are EduFarming's own division, not NTA's.