Finding Common Ground
Why This Matters
Sameeksha is building a house. The main room is 12 ft by 16 ft. She wants to cover the floor with square tiles, all the same size. She wants no gaps, no broken tiles, and as few tiles as possible. The side of each tile must be a whole number of feet.
What size tile should she buy?
This is a real puzzle, not just a textbook one. To answer it, she needs a number that fits both 12 and 16 perfectly. A number that divides both with nothing left over. And among all such numbers, she wants the biggest one (the biggest tile means the fewest tiles).
That “biggest number that fits into both” has a name. It is the HCF. It shows up everywhere: tiling floors, packing things into equal groups, cutting ribbons into equal pieces.
There is a partner idea too. When two events repeat on their own cycles — two bells ringing, two friends visiting a shop on different days — when will they happen together? That answer is the LCM.
In this chapter you will learn to find both, by hand and with a quick reliable trick. And, as always on Curriv, you will learn why each method works — not just the steps.
The Big Idea
Two numbers share some factors (numbers that divide both) and some multiples (numbers that both divide into). The Highest Common Factor (HCF) is the biggest factor they share — the biggest number that goes into both. The Lowest Common Multiple (LCM) is the smallest number that both go into. Prime factorisation makes both easy: break each number into primes, then the HCF is the primes they have in common, and the LCM is all the primes (taking the most of each). And there is a beautiful link: HCF × LCM = the product of the two numbers.
Let’s Break It Down
Before we start, let’s quickly refresh three ideas from earlier classes. Everything in this chapter is built on them, so it helps to have them fresh.
Common factors & the HCF
A common factor of two numbers is a number that is a factor of both. Let’s find Sameeksha’s tile size.
For a tile to fit the 12 ft side exactly, its side must be a factor of 12. For it to fit the 16 ft side too, its side must be a factor of 16. So the tile side must be a factor of both 12 and 16 — a common factor.
- Factors of 12: 1, 2, 3, 4, 6, 12
- Factors of 16: 1, 2, 4, 8, 16
Which numbers appear in both lists? They are 1, 2 and 4. These are the common factors. So Sameeksha could use a 1 ft, 2 ft, or 4 ft square tile and have no gaps.
She wants as few tiles as possible, so she picks the biggest one: the 4 ft tile.
That biggest common factor has a name. The Highest Common Factor (HCF) of two or more numbers is the largest of their common factors. (It is also called the Greatest Common Divisor, or GCD — same thing.)
So here, HCF(12, 16) = 4.
A picture makes the “common” part clear. Figure 3.1 below puts the factors of each number in its own circle and the shared ones in the overlap.
Why does Sameeksha pick the biggest tile? A bigger tile covers more floor, so fewer tiles are needed. With a 4 ft tile she needs only 12 tiles; with a 1 ft tile she would need 192. The HCF gives the most efficient answer.
Why is 1 always a common factor of any two numbers, no matter what they are?
Because 1 divides every whole number exactly (any number divided by 1 is itself, with nothing left over). So 1 is a factor of both numbers, which makes it a common factor every single time. That is why two numbers always have at least one common factor.
Finding HCF (listing and prime factorisation)
We just found the HCF by listing all the factors and spotting the common ones. That works fine for small numbers. But for big numbers, listing every factor is slow, and it is easy to miss one. There is a faster, more reliable way: prime factorisation.
Here is the key idea. When you write a number as a product of primes, every factor of the number is just some “subpart” of those primes. So a common factor must be made of primes that appear in both factorisations.
Let’s see it on 30 and 72.
- 30 = 2 × 3 × 5
- 72 = 2 × 2 × 2 × 3 × 3
Which primes appear in both? A 2 appears in both, and a 3 appears in both. (The number 30 has no second 2, and no extra 3, so we can only take what both share.) Multiply the shared primes:
HCF(30, 72) = 2 × 3 = 6
Figure 3.2 shows this as two circles of prime factors. The HCF lives in the overlap.
So the rule for HCF by prime factorisation is short:
HCF = multiply the common primes, taking the minimum number of times each appears.
Why “minimum”? Because the HCF must divide both numbers. If 30 only has one 2, then the HCF can have at most one 2 — otherwise it would not divide 30. So we always take the smaller count.
Let’s break a number into primes with a factor tree and then use it. A factor tree splits a number into two factors, then keeps splitting until only primes are left.
Find the HCF of 72 and 45 using prime factorisation (build the factor tree for 72).
-
Build the factor tree for 72. Split it into any two factors and keep going until every branch ends in a prime. One way: 72 = 8 × 9. Then 8 = 2 × 4 and 4 = 2 × 2, while 9 = 3 × 3.
-
Collect the primes at the ends of the branches: 72 = 2 × 2 × 2 × 3 × 3.
-
Now factorise 45. We get 45 = 9 × 5 = 3 × 3 × 5. So 45 = 3 × 3 × 5.
-
Line them up and pick the primes that appear in both, taking the smaller count of each: 72 = 2 × 2 × 2 × 3 × 3 45 = 3 × 3 × 5 Both have two 3s. There is no 2 in 45 and no 5 in 72, so those cannot be shared.
-
Multiply the shared primes: 3 × 3 = 9. So HCF(72, 45) = 9.
Figure 3.3 shows the factor tree we built for 72 in Step 1.
One more useful case: sometimes two numbers share no primes at all. For example, 96 = 2 × 2 × 2 × 2 × 2 × 3 and 275 = 5 × 5 × 11. There is no prime in both lists. Then the only common factor is 1, so HCF = 1. We’ll meet these special numbers again under “co-prime numbers”.
Common multiples & the LCM
Now the partner idea. A common multiple of two numbers is a number that is a multiple of both.
Here is a real example from the textbook. Anshu and Guna make torans (door hangings) from cloth strips placed side by side. Anshu’s strips are 6 cm long, so any toran he makes has a length that is a multiple of 6. Guna’s strips are 8 cm, so his toran length is a multiple of 8. They both want to make torans of the same length. What is the shortest length they can both make?
- Multiples of 6: 6, 12, 18, 24, 30, 36, 42, 48, …
- Multiples of 8: 8, 16, 24, 32, 40, 48, 56, …
Numbers in both lists are 24, 48, … These are the common multiples. The smallest one is 24.
That smallest shared multiple has a name. The Lowest Common Multiple (LCM) of two or more numbers is the smallest of their common multiples. So LCM(6, 8) = 24. The shortest matching toran is 24 cm long.
Figure 3.4 shows this on two number lines: the multiples of 6 on top, the multiples of 8 below. The first place a mark lines up on both lines is 24.
Notice something: multiples never run out, so the common multiples never run out either (48, 72, 96, … are all common too). There is no highest common multiple. That is why we look for the lowest one.
Anshu and Guna's torans could also be 48 cm or 72 cm long and still match. Why do we call 24 the LCM and not 48?
Because 48 and 72 are also common multiples — they would match too. But 24 is the smallest of all the common multiples, and “LCM” means the lowest common multiple. Since common multiples go on forever (24, 48, 72, …) there is no biggest one, so the smallest is the special, useful answer.
Finding LCM (listing and prime factorisation)
We just found the LCM by listing multiples until two matched. Again, that is slow for big numbers. And prime factorisation rescues us once more.
The idea flips the HCF rule. A common multiple must contain all the prime building blocks of each number (so that both numbers divide into it). For the lowest one, we take just enough of each prime — the most that appears in either number, but no more.
Let’s do 96 and 360.
- 96 = 2 × 2 × 2 × 2 × 2 × 3 (five 2s, one 3)
- 360 = 2 × 2 × 2 × 3 × 3 × 5 (three 2s, two 3s, one 5)
Now go prime by prime, taking the maximum count of each:
- 2s: 96 has five, 360 has three → take five (so it covers both)
- 3s: 96 has one, 360 has two → take two
- 5s: 96 has none, 360 has one → take one
LCM(96, 360) = 2 × 2 × 2 × 2 × 2 × 3 × 3 × 5 = 1440
Why the maximum? The LCM must be a multiple of 96, so it needs all five of 96’s 2s. It must also be a multiple of 360, so it needs two 3s. Taking the bigger count of each prime covers both numbers at once — and taking no more keeps it as small as possible.
Look back at Figure 3.2: the LCM is simply everything in both circles (the shared primes counted once, plus the leftovers from each side). For 30 and 72 that is 2 × 3 × 5 × 2 × 2 × 3 = 360, so LCM(30, 72) = 360.
Find the LCM of 14 and 35 using prime factorisation.
-
Factorise each number into primes. 14 = 2 × 7 and 35 = 5 × 7.
-
List every prime that appears in either number: 2, 5 and 7.
-
Take the maximum count of each. There is one 2 (from 14), one 5 (from 35), and 7 appears once in each — so just one 7.
-
Multiply them: 2 × 5 × 7 = 70. Check: 70 = 14 × 5 and 70 = 35 × 2, so both 14 and 35 divide 70. And nothing smaller does. So LCM(14, 35) = 70.
So, side by side, the two rules are mirror images:
HCF = common primes, take the minimum of each.
LCM = all primes, take the maximum of each.
The HCF × LCM = product shortcut (and WHY)
Here is a lovely fact that saves a lot of work. For any two numbers:
HCF × LCM = the product of the two numbers
Let’s test it on 12 and 16. We found HCF = 4. Their product is 12 × 16 = 192. So the LCM must be 192 ÷ 4 = 48. Check by listing: multiples of 12 are 12, 24, 36, 48; multiples of 16 are 16, 32, 48 — yes, 48! It works.
This means: if you know the HCF, you can get the LCM instantly with a division, and the other way round. No need to list anything.
Why is this true? Think in primes. Take any prime, say it appears a times in the first number and b times in the second.
- The HCF uses the minimum of a and b.
- The LCM uses the maximum of a and b.
When you multiply HCF × LCM, that prime appears (minimum + maximum) times. But the smaller plus the larger of two numbers is just the same as adding them both: minimum + maximum = a + b. And the product of the two numbers has that prime exactly a + b times too (because you multiply the two factorisations together). Since this matches for every prime, HCF × LCM and the product are made of exactly the same primes — so they are equal.
The HCF of two numbers is 6 and their LCM is 36. One number is 12. Find the other number.
-
Use the rule: HCF × LCM = product of the two numbers. So 6 × 36 = 12 × (the other number).
-
Work out the left side: 6 × 36 = 216. So 216 = 12 × (other number).
-
Divide to find the other number: 216 ÷ 12 = 18. So the other number is 18. (Quick check: HCF(12, 18) = 6 and LCM(12, 18) = 36. Correct.)
Careful: this neat rule works for two numbers only. For three or more numbers, HCF × LCM is not equal to the product. Use it just for pairs.
Co-prime numbers
Sometimes two numbers share no common factor except 1. Such a pair is called co-prime (or “relatively prime”).
For example, 8 and 9. Factors of 8 are 1, 2, 4, 8. Factors of 9 are 1, 3, 9. The only number in both lists is 1. So HCF(8, 9) = 1, and 8 and 9 are co-prime.
Note the surprise: co-prime numbers do not have to be prime themselves. 8 and 9 are both composite, yet co-prime, because they share no prime building block (8 is all 2s, 9 is all 3s).
For co-prime numbers there is a neat shortcut. Since HCF = 1, the rule HCF × LCM = product becomes:
For co-prime numbers, LCM = the product of the two numbers (because HCF = 1).
So LCM(8, 9) = 8 × 9 = 72. No listing needed.
Are two different prime numbers, like 5 and 7, always co-prime?
Yes, always. A prime’s only factors are 1 and itself. So two different primes can share only the factor 1 — neither divides the other. That makes their HCF 1, so they are co-prime. (And their LCM is simply their product, 5 × 7 = 35.)
Real-life problems
HCF and LCM are tools for real situations. The trick is knowing which one to use. Here is the simple test:
- Are you cutting or grouping things into equal, biggest pieces, with nothing left over? That is HCF (the biggest size that fits into both).
- Are you waiting for two repeating cycles to happen together for the first time? That is LCM (the first shared multiple).
The tiling problem is an HCF problem. Figure 3.5 shows Sameeksha’s room tiled with the 4 ft tiles we found.
Now a bell problem, which is an LCM problem.
Two bells in a temple ring at fixed gaps. One rings every 6 minutes, the other every 8 minutes. They ring together now. After how many minutes will they ring together again?
-
The first bell rings at minutes that are multiples of 6: 6, 12, 18, 24, … The second rings at multiples of 8: 8, 16, 24, … They ring together when a minute is a multiple of both — a common multiple of 6 and 8.
-
They ring together again for the first time at the smallest common multiple, which is the LCM of 6 and 8.
-
Find the LCM. 6 = 2 × 3 and 8 = 2 × 2 × 2. Take the maximum of each prime: three 2s and one 3 → 2 × 2 × 2 × 3 = 24.
-
So the bells ring together again after 24 minutes.
Here is a comparison table to keep the two ideas straight in your head.
| Question | HCF (Highest Common Factor) | LCM (Lowest Common Multiple) |
|---|---|---|
| What it is | Biggest number that divides both | Smallest number both divide into |
| Built from | Factors the numbers share | Multiples the numbers share |
| Prime rule | Common primes, minimum count | All primes, maximum count |
| Size | Never bigger than the smaller number | Never smaller than the bigger number |
| Real-life clue | Cutting / grouping into biggest equal parts | Cycles meeting / happening together |
Common Mistakes
The HCF is the bigger of the two answers and the LCM is the smaller one — so for 6 and 8 the HCF is 24 and the LCM is 2.
The words feel backwards: 'Highest' sits in HCF, so it is tempting to hand it the biggest number on the page, and 'Lowest' in LCM seems to want the small one.
HCF is the biggest number that *fits into* both, so it is small — at most the smaller number (HCF of 6 and 8 is 2). LCM is the smallest number both *fit into*, so it is big — at least the bigger number (LCM of 6 and 8 is 24). The 'highest' in HCF is highest among the *factors*; the 'lowest' in LCM is lowest among the *multiples*.
The HCF of two numbers can be bigger than the numbers — like the HCF of 12 and 18 could be 36.
It gets mixed up with the LCM, which *is* often bigger than both. And 36 does feel 'related' to 12 and 18, so it seems like a fair answer.
The HCF is a *factor* of each number. A factor can never be larger than the number it divides (the biggest factor of 12 is 12 itself). So the HCF can never be bigger than the smaller number. HCF(12, 18) = 6, which is smaller than both.
For LCM you multiply the two numbers together, so LCM(6, 8) = 6 × 8 = 48.
It works for some pairs — like 8 and 9 — so it looks like a safe shortcut, and multiplying is quick and easy to remember.
Multiplying gives a *common* multiple, but not always the *lowest* one. It is only the LCM when the numbers are co-prime (share no factor but 1). For 6 and 8 they share a 2, so 6 × 8 = 48 double-counts it. The real LCM is 24. Safe way: LCM = product ÷ HCF, here 48 ÷ 2 = 24.
To find the HCF by primes, you take *every* prime that appears in either number and multiply them.
That is the rule for the *LCM*, and the two methods look almost the same, so it is easy to grab the wrong one.
For HCF you take only the primes that appear in *both* numbers, using the *smaller* count of each. Taking every prime would give a number too big to divide both — that is the LCM, not the HCF.
Quick Check
What is the HCF of 18 and 24?
18 = 2 × 3 × 3 and 24 = 2 × 2 × 2 × 3. The primes they share are one 2 and one 3, so HCF = 2 × 3 = 6. (72 is their LCM, not their HCF.)
Two numbers are co-prime. What is their HCF?
Co-prime means the only common factor is 1, so the HCF is 1. (Their product would be their LCM, since HCF × LCM = product and HCF = 1.)
The HCF of two numbers is 4 and their LCM is 60. If one number is 12, what is the other?
HCF × LCM = product of the two numbers, so 4 × 60 = 12 × other. That is 240 = 12 × other, so other = 240 ÷ 12 = 20.
Two lighthouses flash, one every 12 seconds and one every 18 seconds. They flash together now. After how many seconds do they next flash together?
“Flash together again” means the first shared multiple — the LCM. 12 = 2 × 2 × 3 and 18 = 2 × 3 × 3. Maximum of each prime: two 2s and two 3s → 2 × 2 × 3 × 3 = 36 seconds. (6 is their HCF, not the answer.)
Practice Problems
Easy
Find the HCF of 24 and 36 by listing factors.
Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24. Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36. The common factors are 1, 2, 3, 4, 6, 12. The biggest is 12, so HCF(24, 36) = 12.
Find the LCM of 4 and 6 by listing multiples.
Multiples of 4: 4, 8, 12, 16, 20, 24, … Multiples of 6: 6, 12, 18, 24, … The first number in both lists is 12, so LCM(4, 6) = 12.
Are 15 and 28 co-prime?
15 = 3 × 5 and 28 = 2 × 2 × 7. They share no prime factor at all, so their only common factor is 1. HCF = 1, so yes, 15 and 28 are co-prime. (Neither is prime, but they are still co-prime.)
Medium
Find the HCF and LCM of 45 and 75 using prime factorisation.
First factorise: 45 = 3 × 3 × 5 75 = 3 × 5 × 5
HCF = common primes, minimum count. Both share one 3 and one 5. So HCF = 3 × 5 = 15.
LCM = all primes, maximum count. The most 3s in either is two (from 45); the most 5s is two (from 75). So LCM = 3 × 3 × 5 × 5 = 225.
Quick check: HCF × LCM = 15 × 225 = 3375, and 45 × 75 = 3375. They match.
Two ribbons are 36 cm and 48 cm long. They are to be cut into equal pieces, as long as possible, with no ribbon wasted. How long is each piece, and how many pieces are there in total?
“Equal pieces, as long as possible, no waste” means the piece length must divide both 36 and 48 exactly, and we want the biggest such length — that is the HCF.
36 = 2 × 2 × 3 × 3 48 = 2 × 2 × 2 × 2 × 3 Common primes (minimum count): two 2s and one 3 → HCF = 2 × 2 × 3 = 12 cm.
Each piece is 12 cm. From the 36 cm ribbon: 36 ÷ 12 = 3 pieces. From the 48 cm ribbon: 48 ÷ 12 = 4 pieces. Total = 3 + 4 = 7 pieces.
The HCF of two numbers is 9 and their LCM is 90. One of the numbers is 18. Find the other number.
Use HCF × LCM = product of the two numbers. 9 × 90 = 18 × (other number) 810 = 18 × (other number) Other number = 810 ÷ 18 = 45.
Check: HCF(18, 45) — 18 = 2 × 3 × 3, 45 = 3 × 3 × 5, shared = 3 × 3 = 9. Correct.
Challenge
Three bells ring at gaps of 6, 9 and 15 minutes. They all ring together at 9:00 a.m. At what time will they next ring together?
They ring together at common multiples of all three gaps, so we need the LCM of 6, 9 and 15.
6 = 2 × 3 9 = 3 × 3 15 = 3 × 5
Take the maximum count of each prime across all three:
- 2: most is one (from 6)
- 3: most is two (from 9)
- 5: most is one (from 15)
LCM = 2 × 3 × 3 × 5 = 90 minutes.
90 minutes after 9:00 a.m. is 10:30 a.m. So the bells next ring together at 10:30 a.m.
Find the smallest number which, when divided by 12, 15 or 20, always leaves a remainder of 5.
First find the smallest number that 12, 15 and 20 all divide exactly — that is their LCM.
12 = 2 × 2 × 3 15 = 3 × 5 20 = 2 × 2 × 5
Maximum of each prime: two 2s, one 3, one 5 → LCM = 2 × 2 × 3 × 5 = 60.
Any multiple of 60 leaves remainder 0 with each of 12, 15, 20. To leave a remainder of 5 each time, just add 5: the number is 60 + 5 = 65.
Check: 65 ÷ 12 = 5 remainder 5; 65 ÷ 15 = 4 remainder 5; 65 ÷ 20 = 3 remainder 5. Correct.
A cowherd has fewer than 200 cows. When they pass through 3 gates, an equal number go through each gate. The same happens at 5 gates, and again at 7 gates. How many cows does he have?
“An equal number through 3 gates” means the total is divisible by 3. Likewise by 5 and by 7. So the number is a common multiple of 3, 5 and 7.
Since 3, 5 and 7 are all different primes, the LCM is just their product: 3 × 5 × 7 = 105.
The next common multiple would be 210, which is more than 200. So the only answer below 200 is 105 cows.
Summary
- A common factor divides both numbers; the HCF (Highest Common Factor) is the biggest of them — the largest number that fits into both.
- A common multiple is a multiple of both; the LCM (Lowest Common Multiple) is the smallest of them — the smallest number both fit into.
- You can find both by listing (factors for HCF, multiples for LCM), but prime factorisation is faster and more reliable for big numbers.
- HCF = the shared primes, taking the minimum count of each. LCM = all the primes, taking the maximum count of each.
- HCF × LCM = the product of the two numbers — so knowing one lets you find the other by dividing. (This holds for two numbers only.)
- Co-prime numbers share no factor except 1, so their HCF is 1 and their LCM is just their product. They need not be prime themselves (like 8 and 9).
- The HCF is never bigger than the smaller number; the LCM is never smaller than the bigger number.
- Real-life clue: cutting or grouping into biggest equal parts → HCF; repeating cycles meeting together → LCM.
What’s Next
You now have two powerful tools — HCF and LCM — for taming whole numbers. Next, we leave whole numbers behind and zoom between them. In Chapter 12, Another Peek Beyond the Point, we look closely at decimals: the numbers that live in the gaps between whole numbers, the ones you meet every day in money, measurements and marks.
Frequently Asked Questions
What is the HCF and how do you find it?
HCF stands for Highest Common Factor — the biggest number that divides two (or more) numbers exactly. To find it, write the prime factorisation of each number and multiply the primes they share, taking the smallest power of each. For example, HCF of 12 and 18: 12 = 2² × 3, 18 = 2 × 3², so HCF = 2 × 3 = 6.
What is the LCM and how is it different from HCF?
LCM stands for Lowest Common Multiple — the smallest number that both numbers divide into evenly. For the LCM, you take all the primes from both numbers, using the highest power of each. HCF is about the biggest shared factor; LCM is about the smallest shared multiple.
How do you find LCM using prime factorisation?
Write the prime factorisation of each number. Then take every prime that appears in either number, and use the highest power it reaches. Multiply these together. For example, LCM of 12 and 18: primes are 2² and 3², so LCM = 4 × 9 = 36.
What does HCF times LCM equal and why?
HCF × LCM always equals the product of the two numbers. So if two numbers are a and b, then HCF(a, b) × LCM(a, b) = a × b. This is useful because if you know three of the four values, you can find the fourth.
What are co-prime numbers?
Two numbers are co-prime (or mutually prime) when their HCF is 1 — they share no common factor other than 1. For example, 8 and 15 are co-prime because nothing other than 1 divides both. Co-prime numbers do not have to be prime themselves.