Back to ShikshaPal Explainer Class 7 / Math
ShikshaPal
Chapter 11 · Number Theory

Finding Common Ground

HCF & LCM: Discovering Patterns in Prime Factorisation

The Practical Mystery

Tiling a Room Perfectly

Sameeksha is building a new house with a main room 12 feet by 16 feet. She wants to cover it with square tiles, using as few tiles as possible. What size tiles should she buy?

The tile side must divide evenly into both 12 and 16. The factors of 12 are {1, 2, 3, 4, 6, 12}. The factors of 16 are {1, 2, 4, 8, 16}. Common factors are {1, 2, 4}. To minimize the number of tiles, use the largest common factor: 4 feet.

With 4 ft tiles, she needs (12÷4) × (16÷4) = 3 × 4 = 12 tiles. If she used 1 ft tiles, she'd need 192! This is the power of finding the Highest Common Factor (HCF).

Feynman Bridge — Making Torans: Finding Common Ground

Anshu and Guna make cloth torans (decorative strips) for festivals. Anshu uses 6 cm strips, Guna uses 8 cm strips. If they want to make torans of the same length, what's the shortest length they can both make?

Anshu can make: 6, 12, 18, 24, 30, 36, 42, 48 cm torans (multiples of 6).
Guna can make: 8, 16, 24, 32, 40, 48 cm torans (multiples of 8).
Common lengths: 24, 48, 72... The shortest is 24 cm — the Least Common Multiple (LCM).

HCF finds what's shared (common factors). LCM finds where they meet (common multiples). Prime factorisation is the key that unlocks both.

What Are Primes and Prime Factorisation?

A prime number has only 1 and itself as factors (2, 3, 5, 7, 11, ...). Any number can be written as a product of primes. For example: 90 = 2 × 3 × 3 × 5. This is the prime factorisation. The remarkable fact: no matter how you break down 90, you'll always get the same prime factors (just possibly in a different order).

The Division Method for Prime Factorisation

To find prime factors, repeatedly divide by the smallest prime that divides evenly. For 105: divide by 3 → 35. Divide 35 by 5 → 7. 7 is prime, stop. So 105 = 3 × 5 × 7. This beats random guessing because we work systematically from smallest primes upward.

Finding All Factors from Prime Factorisation

If 225 = 5 × 5 × 3 × 3, then any factor must be a "subpart" of this factorisation. Factors of 225 include: 1, 3, 5, 9 (=3×3), 15 (=3×5), 25 (=5×5), 45 (=3×3×5), 75 (=3×5×5), 225. We systematically combine prime factors to find all factors!

Finding HCF Using Prime Factorisation

To find HCF of 45 and 75: First, prime factorise both. 45 = 3 × 3 × 5 and 75 = 3 × 5 × 5. Common primes: 3 (once in both) and 5 (once in both). HCF = 3 × 5 = 15. The key: take the minimum count of each common prime. If 45 had three 3s but 75 had only one, we'd take one 3.

Finding LCM Using Prime Factorisation

For LCM of 96 and 360: Prime factorise both. 96 = 2⁵ × 3 and 360 = 2³ × 3² × 5. For LCM, include each prime with its maximum count: 2⁵ (five 2s from 96), 3² (two 3s from 360), and 5¹ (one 5 from 360). LCM = 2⁵ × 3² × 5 = 32 × 9 × 5 = 1440. The key: take the maximum count of each prime appearing.

The HCF × LCM Property

Here's a beautiful relationship: HCF × LCM = Product of two numbers. For example, HCF(45, 105) = 15 and LCM(45, 105) = 315. Then 15 × 315 = 4725 and 45 × 105 = 4725. Why? HCF takes common primes (minimum count), LCM takes all primes (maximum count). Together, they reconstruct the product!

Efficient Procedure with Division Layout

Instead of separate prime factorisations, divide both numbers simultaneously by common factors. When no common factor remains, the numbers at the bottom are coprime. All divisors on the left give the HCF. All divisors on the left times the numbers at the bottom give the LCM. This combines both processes into one efficient procedure.

Deep Dive · Consecutive Numbers Always Have HCF = 1

Claim: HCF of any two consecutive numbers is 1. Proof: Let the numbers be n and n+1. If they share a common factor d > 1, then d divides n and d divides (n+1). So d divides (n+1) − n = 1. But the only divisor of 1 is 1 itself. Therefore d = 1, contradicting d > 1. So consecutive numbers are always coprime (HCF = 1).

Deep Dive · Two Consecutive Even Numbers

What's HCF of 12 and 14? They're consecutive even numbers: 12 = 2 × 6 and 14 = 2 × 7. HCF = 2 × HCF(6, 7) = 2 × 1 = 2. In general, if two even numbers are consecutive (differ by 2), their HCF is 2. Why? Both are divisible by 2, but their "odd parts" (6 and 7, which are consecutive) share no common factor.

Deep Dive · When One Number Divides the Other

If 6 divides 18 (since 18 = 6 × 3), then HCF(6, 18) = 6 and LCM(6, 18) = 18. In general, if m divides k·m, then HCF(m, k·m) = m and LCM(m, k·m) = k·m. The smaller number is always the HCF, the larger is always the LCM.

Deep Dive · The Jump Jackpot Game Connection

The "Jump Jackpot" game asks: what's the longest jump that lands on both numbers? If treasures are at 14 and 30, what jump size lands on both? You need a number that divides both. The longest such jump is HCF(14, 30) = 2. You land on: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30. HCF directly solves this ancient game!

Deep Dive · The Idli-Vada Game and LCM

In the Idli-Vada game, players call "idli" on multiples of one number, "vada" on multiples of another. When will they call "idli-vada" together? On common multiples! The first common multiple is the LCM. For 4 and 6: multiples of 4 are {4, 8, 12, 16, ...} and multiples of 6 are {6, 12, 18, ...}. First common: 12. LCM(4, 6) = 12 wins the game!

Common Error · Confusing HCF and LCM

The Mistake: Students compute prime factorisation correctly but then apply wrong rules. They might take the minimum of all primes for LCM (which gives HCF) or the maximum for HCF (which gives LCM).

Why It Happens: The words "highest" and "lowest" refer to position in the factor list, not to which rule to use. Students mix up the logic.

The Fix: Remember the purposes. HCF is "what they share" — you need primes common to BOTH numbers, taken the minimum number of times (to ensure divisibility by both). LCM is "where they meet" — you need every prime from either number, taken the maximum number of times (to ensure it's a multiple of both). Test: HCF ≤ both numbers ≤ LCM. If this fails, you got them backward. For 12 and 18: HCF should be ≤ 12, LCM should be ≥ 18. HCF=6 ✓, LCM=36 ✓.

Socratic Sandbox — Test Your Understanding

Level 1 · Predict

What is the HCF of 84 and 108?

Reveal Answer & Explanation

Answer: 12

Prime factorisation: 84 = 2² × 3 × 7 and 108 = 2² × 3³. Common primes: 2² and 3. HCF = 2² × 3 = 4 × 3 = 12.

Level 1 · Predict

What is the LCM of 30 and 72?

Reveal Answer & Explanation

Answer: 360

Prime factorisation: 30 = 2 × 3 × 5 and 72 = 2³ × 3². Taking maximum counts: 2³ × 3² × 5 = 8 × 9 × 5 = 360.

Level 2 · Why

Why does Sameeksha's tiling room problem require the HCF and not the LCM?

Reveal Answer & Explanation

Logic: The tile side must divide evenly into both room dimensions (12 and 16). She wants as few tiles as possible, which means the largest possible tile size. The largest common divisor is HCF. If she used LCM, the tiles would be huge (much larger than the room), which doesn't make sense.

Level 2 · Why

Why does the toran-making problem (Anshu & Guna) require the LCM and not the HCF?

Reveal Answer & Explanation

Logic: Anshu makes lengths that are multiples of 6; Guna makes lengths that are multiples of 8. For them to make the same-length toran, they need a common multiple. The shortest such length is the LCM. Using HCF instead would give 2 cm, which is too small and doesn't help solve the problem.

Level 3 · Apply

Use the property HCF × LCM = Product to find LCM(45, 105) if you know HCF(45, 105) = 15.

Reveal Answer & Explanation

Solution: HCF × LCM = 45 × 105 = 4725. Since HCF = 15, we have 15 × LCM = 4725. So LCM = 4725 ÷ 15 = 315.

Verification: 45 = 3² × 5 and 105 = 3 × 5 × 7. LCM = 3² × 5 × 7 = 9 × 5 × 7 = 315 ✓

Level 3 · Apply

Lekhana bought 84 kg rice from Farm A and 108 kg from Farm B. She wants bags of equal weight from each farm, using as few bags as possible. How heavy should each bag be?

Reveal Answer & Explanation

Answer: 12 kg per bag

Reasoning: The bag weight must divide both 84 and 108 (so she can pack each farm's rice exactly). She wants the fewest bags, meaning the heaviest possible bag. This is HCF(84, 108) = 12 kg.

Count: Farm A: 84 ÷ 12 = 7 bags. Farm B: 108 ÷ 12 = 9 bags. Total: 16 bags (much fewer than if she used smaller bags).