PART I — NUMBER SYSTEMS & ARITHMETIC
Common Factors, Euclid’s Algorithm, Prime Factorisation Method, and Real-Life
Applications
1. Define common factors and the Highest Common Factor (HCF) of two or more numbers.
2. Find the HCF using the Listing Method (enumerating all common factors).
3. Find the HCF using the Prime Factorisation Method.
4. Find the HCF using the Successive Division (Euclid’s Algorithm).
5. Prove and apply Euclid’s Division Lemma: gcd(a,b) = gcd(b, a mod b).
6. Find the HCF of three or more numbers.
7. State and use the key relationship: HCF(a,b) × LCM(a,b) = a × b.
8. Apply HCF in real-life problems: equal sharing, tiling, cutting, and grouping.
9. Understand co-prime numbers and their HCF.
10. Solve olympiad-level problems involving HCF, Bézout’s identity, and number theory.
14.1 What Is HCF?
The Highest Common Factor (HCF) of two or more numbers is the largest number that divides all of them exactly. It is also called the Greatest Common Divisor (GCD) or Greatest Common Factor (GCF).
DEFINITION:
HCF(a, b) = the LARGEST number that divides BOTH a and b without remainder.
Also called: GCD (Greatest Common Divisor) | GCF (Greatest Common Factor)
EXAMPLE:
What is HCF(24, 36)?
Factors of 24: {1, 2, 3, 4, 6, 8, 12, 24}
Factors of 36: {1, 2, 3, 4, 6, 9, 12, 18, 36}
Common factors: {1, 2, 3, 4, 6, 12}
HIGHEST common factor = 12
So HCF(24, 36) = 12.
REAL-LIFE MEANING:
12 is the largest number of EQUAL groups into which BOTH 24 and 36 can be divided. E.g., 24 pens and 36 pencils can be arranged into AT MOST 12 equal groups,
each with exactly 2 pens and 3 pencils.
Key Properties of HCF
| Property | Statement | Example |
|---|---|---|
| Always ≤ both | HCF(a,b) ≤ min(a,b) always | HCF(12,18)=6 ≤12 and ≤18 |
numbers
| HCF of 1 and n | HCF(1,n) = 1 for all n | HCF(1,100)=1 |
| HCF of equal numbers | HCF(n,n) = n | HCF(7,7)=7 |
| HCF(a,b) = HCF(b,a) | HCF is commutative | HCF(18,12)=HCF(12,18)=6 |
| HCF of co-primes | If gcd(a,b)=1, a and b are co-prime | HCF(8,9)=1 |
| HCF divides both | HCF(a,b) divides both a and b | HCF(24,36)=12; 24÷12=2, 36÷12=3 ✓ |
exactly
| HCF and factor of a | If a divides b, then HCF(a,b)=a | HCF(6,24)=6 since 6|24 |
14.2 Method 1: The Listing Method (Enumeration)
List all factors of each number, identify the common ones, and pick the largest. This method is straightforward but slow for large numbers.
LISTING METHOD STEPS:
Step 1: List ALL factors of each number.
Step 2: Identify the COMMON factors (factors that appear in all lists).
Step 3: The LARGEST common factor is the HCF.
Example: Find HCF(48, 72)
Factors of 48: 1, 2, 3, 4, 6, 8, 12, 16, 24, 48
Factors of 72: 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72
Common factors: 1, 2, 3, 4, 6, 8, 12, 24
HCF(48, 72) = 24
WHEN TO USE: Best for small numbers (up to 50 or so).
LIMITATION: Too tedious for large numbers (try listing all factors of 4,738!).
Factor Venn Diagram: 48 and 72
Factors of 48 only: {16, 48}
COMMON factors: {1, 2, 3, 4, 6, 8, 12, 24} → HCF = 24
Factors of 72 only: {9, 18, 36, 72}
14.3 Method 2: Prime Factorisation Method
Express each number as a product of prime factors. The HCF is the product of the LOWEST powers of all COMMON prime factors.
PRIME FACTORISATION METHOD:
Step 1: Find the prime factorisation of each number.
Step 2: Identify primes that appear in ALL factorisations.
Step 3: For each common prime, take the LOWEST (minimum) power.
Step 4: Multiply these lowest powers together to get the HCF.
Example: Find HCF(360, 504, 630)
360 = 2³ × 3² × 5
504 = 2³ × 3² × 7
630 = 2 × 3² × 5 × 7
Common primes: 2 and 3 (appear in all three)
Lowest power of 2: min(3, 3, 1) = 1 → 2^1
Lowest power of 3: min(2, 2, 2) = 2 → 3^2
HCF = 2^1 × 3^2 = 2 × 9 = 18
| Verify: 360÷18=20 ; 504÷18=28 ; 630÷18=35 (all exact)✓ | ✓ | ✓ |
14.4 Method 3: Euclid’s Algorithm (Successive Division)
Euclid's Algorithm (~300 BC) is the most efficient method for finding HCF, especially for large numbers. It is based on a beautiful mathematical insight.
EUCLID'S DIVISION LEMMA:
If a = b×q + r, then HCF(a, b) = HCF(b, r)
where 0 ≤ r < b.
PROOF:
Let d = HCF(a,b). Then d|a and d|b.
Since a = bq + r: r = a − bq.
d divides a and bq, so d divides r = a−bq.
So d is a common divisor of b and r: d ≤ HCF(b,r).
By the same argument: HCF(b,r) ≤ HCF(a,b) = d.
Therefore d = HCF(b,r). QED.
ALGORITHM:
Step 1: Divide the larger number by the smaller. Get quotient and remainder r.
Step 2: If r = 0: HCF = the divisor (last non-zero divisor).
Step 3: If r ≠ 0: Replace (a,b) with (b,r). Go to Step 1.
The HCF is the LAST NON-ZERO REMAINDER.
Euclid's Algorithm: HCF(4,738, 3,847)
Step-by-Step: HCF(4738, 3847)
4738 = 3847 × 1 + 891 [a=4738, b=3847, r=891]
3847 = 891 × 4 + 283 [a=3847, b=891, r=283]
891 = 283 × 3 + 42 [a=891, b=283, r=42 ]
283 = 42 × 6 + 31 [a=283, b=42, r=31 ]
42 = 31 × 1 + 11 [a=42, b=31, r=11 ]
31 = 11 × 2 + 9 [a=31, b=11, r=9 ]
11 = 9 × 1 + 2 [a=11, b=9, r=2 ]
9 = 2 × 4 + 1 [a=9, b=2, r=1 ]
2 = 1 × 2 + 0 [r=0: STOP]
Last non-zero remainder = 1
HCF(4738, 3847) = 1 [they are CO-PRIME!]
Verify: Since HCF=1, 4,738 and 3,847 share no common factor other than 1.
Euclid's Algorithm: HCF(47,040, 30,720)
Step-by-Step: HCF(47040, 30720)
47040 = 30720 × 1 + 16320 [r=16320]
30720 = 16320 × 1 + 14400 [r=14400]
16320 = 14400 × 1 + 1920 [r=1920 ]
14400 = 1920 × 7 + 960 [r=960 ]
1920 = 960 × 2 + 0 [r=0: STOP]
HCF(47040, 30720) = 960
Verify: 47,040 ÷ 960 = 49; 30,720 ÷ 960 = 32. Both exact. ✓
★ Maths Tip: EFFICIENCY: Euclid's Algorithm takes at most 5 times the number of digits of the smaller number in steps. For a 10-digit number, at most ~50 steps. Compare with trial division which could take millions of steps!
14.5 HCF of Three or More Numbers
To find HCF of three or more numbers, apply HCF iteratively: HCF(a,b,c) = HCF(HCF(a,b), c). This is valid because HCF is associative.
HCF OF THREE NUMBERS:
HCF(a, b, c) = HCF(HCF(a, b), c)
WHY? Any common divisor of a, b, and c must divide HCF(a,b).
So HCF(a,b,c) = HCF(HCF(a,b), c). QED.
Example: Find HCF(180, 252, 360)
Step 1: HCF(180, 252)
180 = 2² × 3² × 5
252 = 2² × 3² × 7
HCF = 2² × 3² = 4 × 9 = 36
Step 2: HCF(36, 360)
36 = 2² × 3²
360 = 2³ × 3² × 5
HCF = 2² × 3² = 36 [since 36 divides 360]
HCF(180, 252, 360) = 36
| Verify: 180÷36=5 ; 252÷36=7 ; 360÷36=10 ✓ | ✓ | ✓ |
14.6 The Golden Relationship: HCF × LCM = a × b
THEOREM: For any two positive integers a and b:
HCF(a, b) × LCM(a, b) = a × b
PROOF:
Let a = h×m and b = h×n where h = HCF(a,b) and gcd(m,n)=1.
Then LCM(a,b) = h×m×n (since m,n are coprime).
HCF × LCM = h × (hmn) = h²mn = (hm)×(hn) = a×b. QED.
EXAMPLES:
HCF(12,18)=6; LCM(12,18)=36; 6×36=216=12×18 ✓
HCF(48,72)=24; LCM(48,72)=144; 24×144=3456=48×72 ✓
HCF(360,504)=72; LCM(360,504)=2520; 72×2520=181440=360×504 ✓
IMPORTANT: This formula works for EXACTLY TWO numbers. It does NOT directly generalise to three numbers!
HCF(a,b,c) × LCM(a,b,c) ≠ a×b×c in general.
USING THE FORMULA: If you know any three of {HCF, LCM, a, b}, find the fourth.
Example: HCF(a,b)=12; LCM=360; a=48. Find b.
12 × 360 = 48 × b. 4320 = 48b. b = 90.
14.7 Co-Prime Numbers
Two numbers are co-prime (or relatively prime) if their HCF is 1. They share no common factor other than 1. Co-prime numbers need NOT be prime themselves.
| Pair | HCF | Co-prime? | Reason |
|---|---|---|---|
| (8, 9) | 1 | YES | Consecutive integers are always co-prime |
| (14, 15) | 1 | YES | Consecutive integers |
| (4, 9) | 1 | YES | 4=2², 9=3², no common factor |
| (25, 36) | 1 | YES | 25=5², 36=2²×3², no common factor |
| (6, 35) | 1 | YES | 6=2×3, 35=5×7, no common factor |
| (12, 18) | 6 | NO | Both divisible by 6 |
| (100, 75) | 25 | NO | Both divisible by 25 |
| (p, q) | 1 (if p≠q) YES (always) | Two different primes are always co-prime |
KEY FACTS ABOUT CO-PRIME NUMBERS:
• Any two consecutive integers are co-prime: HCF(n, n+1) = 1 always.
• Any two distinct primes are co-prime: HCF(p, q) = 1 if p ≠ q.
• If HCF(a,b) = 1, then HCF(a^m, b^n) = 1 for any positive m, n.
• Co-prime ≠ prime. Example: 4 and 9 are co-prime but neither is prime.
• If a|c and b|c, and HCF(a,b)=1, then (a×b)|c.
14.8 HCF in Real-Life — Indian Context
| Situation | HCF Used For | Example |
|---|---|---|
| Splitting into equal Largest equal group size | Share 84 mangoes and 60 guavas equally: HCF=12 | |
| groups | groups of 7 mangoes + 5 guavas | |
| Tiling a floor | Largest square tile size | Room 360cm×504cm: largest square |
tile=HCF(360,504)=72cm
Cutting rope into Longest equal piece length Ropes 48m, 72m, 96m: longest equal cut=HCF=24m equal pieces
| Situation | HCF Used For | Example |
|---|---|---|
| Distributing items | Maximum equal | Pack 120 pens, 180 pencils, 240 erasers: max |
| distributions | packs=HCF=60, each with 2+3+4 | |
| Arranging in | Dimensions of arrangement | Place 252 boys and 360 girls in equal rows: |
| rows/columns | HCF(252,360)=36 rows |
Finding meeting Cycle synchronisation (via Two workers cycling every 18 and 24 min: HCF
| time | LCM) | helps find common periods |
| Simplifying fractions | Divide numerator & | 4738/3847: HCF=1, already in simplest form |
denominator by HCF
14.9 Bézout’s Identity — HCF as a Linear Combination
One of the most powerful results about HCF: every HCF can be expressed as a linear combination of the original numbers.
BÉZOUT'S IDENTITY:
For any integers a and b with HCF(a,b) = d,
there exist integers x and y (possibly negative) such that:
a×x + b×y = d
Example: HCF(48, 18) = 6. Find x, y such that 48x + 18y = 6.
Euclid trace:
48 = 18×2 + 12 [48 = 18×2 + 12]
18 = 12×1 + 6 [18 = 12×1 + 6]
12 = 6×2 + 0 [stop; HCF=6]
Back-substitute (Extended Euclidean):
6 = 18 − 12×1
6 = 18 − (48−18×2)×1 [substitute 12=48−18×2]
6 = 18 − 48×1 + 18×2
6 = 48×(−1) + 18×3
So x = −1 and y = 3: 48×(−1) + 18×3 = −48+54 = 6. ✓
SIGNIFICANCE: Bézout's Identity is fundamental in modular arithmetic,
cryptography (finding modular inverses), and solving linear Diophantine equations.
WORKED EXAMPLES
Section A: Easy Problems — Foundation Level (Classes 4–6)
Problem 1: Find HCF using the listing method: (a) HCF(36, 48) (b) HCF(56, 84) (c) HCF(75, 100)
✔ Solution
(a) HCF(36, 48):
Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36
Factors of 48: 1, 2, 3, 4, 6, 8, 12, 16, 24, 48
Common factors: 1, 2, 3, 4, 6, 12
HCF(36, 48) = 12
(b) HCF(56, 84):
Factors of 56: 1, 2, 4, 7, 8, 14, 28, 56
Factors of 84: 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84
Common factors: 1, 2, 4, 7, 14, 28
HCF(56, 84) = 28
(c) HCF(75, 100):
Factors of 75: 1, 3, 5, 15, 25, 75
Factors of 100: 1, 2, 4, 5, 10, 20, 25, 50, 100
Common factors: 1, 5, 25
HCF(75, 100) = 25
ANSWERS: (a) 12 (b) 28 (c) 25
Problem 2: Find HCF using prime factorisation: (a) HCF(180, 252) (b) HCF(1,764, 2,940)
(c) HCF(4,320, 6,480, 10,800)
✔ Solution
(a) HCF(180, 252):
180 = 2² × 3² × 5
252 = 2² × 3² × 7
Common primes: 2, 3
HCF = 2^min(2,2) × 3^min(2,2) = 2² × 3² = 4×9 = 36
| Verify: 180÷36=5 ; 252÷36=7 ✓ | ✓ |
(b) HCF(1,764, 2,940):
1764 = 2² × 3² × 7²
2940 = 2² × 3 × 5 × 7²
Common primes: 2, 7 (3 appears in both too: 1764 has 3², 2940 has 3¹)
HCF = 2^min(2,2) × 3^min(2,1) × 7^min(2,2)
= 2² × 3¹ × 7² = 4×3×49 = 588
| Verify: 1764÷588=3 ; 2940÷588=5 ✓ | ✓ |
(c) HCF(4320, 6480, 10800):
4320 = 2⁵ × 3³ × 5
6480 = 2⁴ × 3⁴ × 5
10800 = 2⁴ × 3³ × 5²
Common primes: 2, 3, 5
HCF = 2^min(5,4,4) × 3^min(3,4,3) × 5^min(1,1,2)
= 2⁴ × 3³ × 5¹ = 16×27×5 = 2160
| Verify: 4320÷2160=2 ; 6480÷2160=3 ; 10800÷2160=5 ✓ | ✓ | ✓ |
ANSWERS: (a) 36 (b) 588 (c) 2160
Problem 3: Find HCF using Euclid's Algorithm: (a) HCF(1,071, 714) (b) HCF(8,673, 4,437)
(c) HCF(56,889, 36,993)
✔ Solution
(a) HCF(1071, 714):
1071 = 714×1 + 357
714 = 357×2 + 0 [stop: r=0]
HCF(1071, 714) = 357
| Verify: 1071÷357=3 ; 714÷357=2 ✓ | ✓ |
(b) HCF(8673, 4437):
8673 = 4437×1 + 4236
4437 = 4236×1 + 201
4236 = 201×21 + 15
201 = 15×13 + 6
15 = 6×2 + 3
6 = 3×2 + 0 [stop]
HCF(8673, 4437) = 3
| Verify: 8673÷3=2891 ; 4437÷3=1479 ✓ | ✓ |
(c) HCF(56889, 36993):
56889 = 36993×1 + 19896
36993 = 19896×1 + 17097
19896 = 17097×1 + 2799
17097 = 2799×6 + 303
2799 = 303×9 + 72
303 = 72×4 + 15
72 = 15×4 + 12
15 = 12×1 + 3
12 = 3×4 + 0 [stop]
HCF(56889, 36993) = 3
| Verify: 56889÷3=18963 ; 36993÷3=12331 ✓ | ✓ |
ANSWERS: (a) 357 (b) 3 (c) 3
Problem 4: HCF(a, b) = 12 and LCM(a, b) = 360. One number is 60. Find the other number and verify.
✔ Solution
Using the formula: HCF × LCM = a × b
12 × 360 = 60 × b
4,320 = 60b
b = 4,320 ÷ 60 = 72
So the other number is 72.
VERIFY:
HCF(60, 72):
60 = 2² × 3 × 5
72 = 2³ × 3²
HCF = 2^min(2,3) × 3^min(1,2) = 2²×3 = 12 ✓
LCM(60, 72):
LCM = 2^max(2,3) × 3^max(1,2) × 5^max(1,0)
= 2³×3²×5 = 8×9×5 = 360 ✓
Check: 12×360 = 4,320 = 60×72 ✓
ANSWER: The other number is 72.
Problem 5: Three strings of lengths 336 cm, 420 cm, and 504 cm are to be cut into equal pieces without any wastage. Find the greatest possible length of each piece and the total number of pieces.
✔ Solution
Greatest possible length = HCF(336, 420, 504)
Step 1: Find HCF(336, 420).
Euclid: 420 = 336×1 + 84; 336 = 84×4 + 0. HCF(336,420) = 84.
Step 2: Find HCF(84, 504).
504 = 84×6 + 0. HCF(84,504) = 84.
HCF(336, 420, 504) = 84 cm.
Number of pieces:
From 336 cm string: 336÷84 = 4 pieces.
From 420 cm string: 420÷84 = 5 pieces.
From 504 cm string: 504÷84 = 6 pieces.
Total pieces = 4 + 5 + 6 = 15 pieces.
ANSWER: Greatest length = 84 cm. Total pieces = 15.
Problem 6: A school has 252 boys and 360 girls. They are to be arranged in equal rows where each row has only boys or only girls. Find the maximum number of rows and how many students are in each row.
✔ Solution
We need to arrange 252 boys and 360 girls in rows.
Each row has only one type; equal number of students per row.
Maximum rows requires the LARGEST equal row size.
HCF(252, 360) = row size.
Prime factorisation:
252 = 2² × 3² × 7
360 = 2³ × 3² × 5
HCF = 2² × 3² = 4×9 = 36
Each row has 36 students.
Number of boys’ rows = 252÷36 = 7 rows.
Number of girls’ rows = 360÷36 = 10 rows.
Total rows = 7 + 10 = 17 rows.
ANSWER: Maximum row size = 36 students per row.
Total rows = 17 (7 boys’ rows + 10 girls’ rows).
Section B: Medium Problems — CBSE/NCERT Standard (Classes 6–8)
Problem 7: Find integers x and y such that 48x + 36y = HCF(48, 36) using the Extended Euclidean Algorithm. Then find all integer solutions.
✔ Solution
Step 1: Find HCF(48, 36) using Euclid.
48 = 36×1 + 12
36 = 12×3 + 0 [HCF = 12]
Step 2: Back-substitute to express HCF as linear combination.
From line 1: 12 = 48 − 36×1
So: 12 = 48×1 + 36×( 1)∢
Therefore: x = 1, y = 1.∢
| Verify: 48×1 + 36×( 1) = 48 − 36 = 12 = HCF(48,36). ∢ | ✓ |
ALL INTEGER SOLUTIONS:
The general solution to 48x + 36y = 12 is:
x = 1 + (36/12)×k = 1 + 3k
| y = 1 − (48/12)×k = 1 − 4k∢ | ∢ |
for any integer k.
| k=0: x=1, y= 1. Check: 48−36=12 ∢ | ✓ |
| k=1: x=4, y= 5. Check: 192−180=12 ∢ | ✓ |
| k= 1: x= 2, y=3. Check: −96+108=12 ∢ ∢ | ✓ |
ANSWER: One solution: x=1, y= 1.∢
General: x=1+3k, y= 1−4k for integer k.∢
Problem 8: The HCF of two numbers is 18. Their sum is 270. Find all possible pairs (a, b) with a ≤ b.
✔ Solution
Let a = 18m and b = 18n where gcd(m,n)=1 and m ≤ n.
(Since HCF(a,b)=18, both are multiples of 18 with m,n coprime.)
Given: a + b = 270
18m + 18n = 270
m + n = 15
Find all pairs (m, n) with m ≤ n, m+n=15, and gcd(m,n)=1:
(1, 14): gcd(1,14)=1 → (a,b) = (18, 252)✓
(2, 13): gcd(2,13)=1 → (a,b) = (36, 234)✓
(3, 12): gcd(3,12)=3 [not co-prime]✗
(4, 11): gcd(4,11)=1 → (a,b) = (72, 198)✓
(5, 10): gcd(5,10)=5 [not co-prime]✗
(6, 9): gcd(6,9)=3 [not co-prime]✗
(7, 8): gcd(7,8)=1 → (a,b) = (126, 144)✓
VERIFY all pairs have HCF=18 and sum=270:
| 18+252=270 ; HCF(18,252)=18×HCF(1,14)=18 ✓ | ✓ |
| 36+234=270 ; HCF(36,234)=18×HCF(2,13)=18 ✓ | ✓ |
| 72+198=270 ; HCF(72,198)=18×HCF(4,11)=18 ✓ | ✓ |
| 126+144=270 ; HCF(126,144)=18×HCF(7,8)=18 ✓ | ✓ |
ANSWER: 4 valid pairs: (18,252), (36,234), (72,198), (126,144).
Problem 9: Prove: HCF(a, b) = HCF(a, b−a) for any positive integers a ≤ b. Use this to create an alternative "subtraction-based" HCF algorithm and compute HCF(493, 391).
✔ Solution
PROOF: HCF(a, b) = HCF(a, b−a)
Let d = HCF(a,b). Then d|a and d|b.
Since b−a is a linear combination of a and b: d|(b−a).
So d is a common divisor of a and (b−a): d ≤ HCF(a, b−a).
Conversely, let d’ = HCF(a, b−a). Then d’|a and d’|(b−a).
b = a + (b−a): d’ divides both summands, so d’|b.
So d’ is a common divisor of a and b: d’ ≤ HCF(a,b) = d.
Therefore d = d’: HCF(a,b) = HCF(a, b−a). QED.
SUBTRACTION-BASED ALGORITHM for HCF(493, 391):
(Subtract smaller from larger, repeat)
(493, 391): 493−391=102. New pair: (391, 102).
(391, 102): 391−102=289. (289, 102).
(289, 102): 289−102=187. (187, 102).
(187, 102): 187−102=85. (102, 85).
(102, 85): 102−85=17. (85, 17).
(85, 17): 85−17=68. (68, 17).
(68, 17): 68−17=51. (51, 17).
(51, 17): 51−17=34. (34, 17).
(34, 17): 34−17=17. (17, 17).
Equal! HCF = 17.
Verify with Euclid: 493=391×1+102; 391=102×3+85; 102=85×1+17; 85=17×5+0. HCF=17. ✓ ANSWER: HCF(493,391) = 17. Subtraction algorithm works but is much slower than Euclid.
Problem 10: A hall has dimensions 4,800 cm × 3,360 cm × 2,880 cm (length×width×height). Find the largest square tile that can cover the floor and the largest cubic block that fits the room (for both: no cutting allowed). How many tiles cover the floor?
✔ Solution
LARGEST SQUARE TILE for the floor:
Floor dimensions: 4,800 cm × 3,360 cm.
Largest square tile side = HCF(4800, 3360).
4800 = 2⁶ × 3 × 5²
3360 = 2⁵ × 3 × 5 × 7
HCF = 2^min(6,5) × 3^min(1,1) × 5^min(2,1) = 2⁵×3×5 = 32×15 = 480
Largest square tile = 480 cm × 480 cm.
Number of tiles = (4800÷480) × (3360÷480) = 10 × 7 = 70 tiles.
LARGEST CUBIC BLOCK:
Room dimensions: 4800 cm, 3360 cm, 2880 cm.
Largest cube side = HCF(4800, 3360, 2880).
2880 = 2⁶ × 3² × 5
HCF(4800, 3360) = 480 (from above).
HCF(480, 2880):
480 = 2⁵ × 3 × 5
2880 = 2⁶ × 3² × 5
HCF = 2^min(5,6) × 3^min(1,2) × 5^min(1,1) = 2⁵×3×5 = 480.
Largest cubic block = 480 cm × 480 cm × 480 cm.
Number of cubes = (4800÷480)×(3360÷480)×(2880÷480) = 10×7×6 = 420 cubes.
ANSWER: Largest tile = 480cm×480cm; 70 tiles cover the floor.
Largest cube = 480cm×480cm×480cm; 420 cubes fill the room.
Problem 11: Find HCF(Fibonacci sequence terms): HCF(F_8, F_12) where F_n is the n-th Fibonacci number. Then prove the general result: HCF(F_m, F_n) = F_{HCF(m,n)}.
✔ Solution
Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...
F_8 = 21, F_12 = 144.
HCF(21, 144):
144 = 21×6 + 18
21 = 18×1 + 3
18 = 3×6 + 0 [HCF = 3]
HCF(F_8, F_12) = HCF(21, 144) = 3.
Now check: HCF(8,12) = 4. And F_4 = 3.
So HCF(F_8, F_12) = F_{HCF(8,12)} = F_4 = 3. ✓
PROOF of the general result HCF(F_m, F_n) = F_{HCF(m,n)}:
Key lemma: F_{m+n} = F_m×F_{n+1} + F_{m-1}×F_n.
(This can be proved by induction on m.)
Using this: HCF(F_m, F_n) = HCF(F_m, F_{n mod m}) when n>m.
This parallels Euclid: HCF(m,n) = HCF(m, n mod m).
By the parallel structure: HCF(F_m, F_n) = F_{HCF(m,n)}.
ADDITIONAL VERIFICATION:
F_6=8, F_9=34. HCF(6,9)=3. F_3=2.
HCF(8,34): 34=8×4+2; 8=2×4+0. HCF=2=F_3. ✓
ANSWER: HCF(F_8, F_12) = 3 = F_4 = F_{HCF(8,12)}. Theorem verified.
Problem 12: Two buses start from the same stop. Bus A returns every 36 minutes; Bus B every 48 minutes. They both just arrived. After how long will they next arrive TOGETHER? How is this related to HCF and LCM? Now if there is also Bus C returning every 54 minutes, when do all three next meet?
✔ Solution
NOTE: This is a timing problem using LCM (not HCF for the main answer).
But it demonstrates how HCF and LCM are interrelated.
Buses A and B:
Both arrive together every LCM(36, 48) minutes.
HCF(36, 48): 36=2²×3²; 48=2⁴×3. HCF=2²×3=12.
LCM(36,48) = 36×48÷HCF(36,48) = 1728÷12 = 144 minutes.
They next meet in 144 minutes = 2 hours 24 minutes.
ALL THREE BUSES (A: 36, B: 48, C: 54):
Need LCM(36, 48, 54).
36 = 2²×3²; 48 = 2⁴×3; 54 = 2×3³
LCM = 2^max(2,4,1) × 3^max(2,1,3) = 2⁴×3³ = 16×27 = 432 minutes.
432 minutes = 7 hours 12 minutes.
CONNECTION TO HCF:
For any two buses with periods p and q:
Next joint arrival = LCM(p,q) = p×q ÷ HCF(p,q).
HCF helps calculate LCM efficiently.
ANSWER:
Buses A and B: next meet in 144 minutes.
All three buses: next meet in 432 minutes (7 h 12 min).
Section C: Hard / Challenge Problems — ICSE & Olympiad Level
Challenge Problem 13: Prove: HCF(a, b) × LCM(a, b) = a × b using prime factorisation. Then show that this formula does NOT extend to three numbers: HCF(a,b,c) × LCM(a,b,c) ≠ a×b×c in
general.
✔ Solution
PROOF: HCF(a,b) × LCM(a,b) = a×b
Let a = p₁^{a₁} × p₂^{a₂} × ... and b = p₁^{b₁} × p₂^{b₂} × ...
HCF(a,b) = ∏ p_i^{min(a_i, b_i)}
LCM(a,b) = ∏ p_i^{max(a_i, b_i)}
HCF(a,b) × LCM(a,b) = ∏ p_i^{min(a_i,b_i) + max(a_i,b_i)}
Key identity: min(x,y) + max(x,y) = x + y for any real x, y.
Proof: min + max always gives both values summed regardless of which is larger.
Therefore: HCF × LCM = ∏ p_i^{a_i + b_i} = (∏ p_i^{a_i})(∏ p_i^{b_i}) = a×b. QED. COUNTEREXAMPLE for three numbers:
a=2, b=4, c=8.
a×b×c = 2×4×8 = 64.
HCF(2,4,8) = 2.
LCM(2,4,8) = 8.
HCF×LCM = 2×8 = 16 ≠ 64. ✗
Another example: a=6, b=10, c=15.
a×b×c = 900.
HCF(6,10,15) = 1.
LCM(6,10,15) = 30.
HCF×LCM = 30 ≠ 900. ✗
ANSWER: HCF×LCM=a×b proven for two numbers using min+max=sum identity.
Formula fails for three numbers (counterexample: 2,4,8 gives 16≠64).
Challenge Problem 14: Prove: If HCF(a, b) = 1 (co-prime), then HCF(a+b, a−b) divides 2. Deduce that if a and b are both odd co-primes, then HCF(a+b, a−b) = 2.
✔ Solution
CLAIM: If HCF(a,b)=1, then HCF(a+b, a−b) divides 2.
PROOF:
Let d = HCF(a+b, a−b).
Then d|(a+b) and d|(a−b).
Since (a+b)+(a−b) = 2a: d|2a.
Since (a+b)−(a−b) = 2b: d|2b.
So d|HCF(2a, 2b) = 2×HCF(a,b) = 2×1 = 2.
Therefore d|2, meaning d {1, 2}. QED.∈
DEDUCTION: If a and b are both ODD and co-prime:
a+b = odd+odd = even. So d|(a+b) and a+b is even, meaning d can be 2.
a−b = odd−odd = even. So d|(a−b) and a−b is even.
Both a+b and a−b are even, so 2 divides both, meaning 2|d.
Since we proved d−2: d = 2.
Therefore HCF(a+b, a−b) = 2. QED.
NUMERICAL VERIFICATION:
a=9, b=7 (both odd, co-prime since HCF(9,7)=1).
a+b=16, a−b=2. HCF(16,2)=2. ✓
a=25, b=9 (both odd, co-prime since HCF(25,9)=1).
a+b=34, a−b=16. HCF(34,16)=2. ✓
What if one is even? a=9, b=4 (HCF=1).
a+b=13 (odd), a−b=5 (odd). HCF(13,5)=1. (d=1 when mixed parity)✓
ANSWER: Proven. For odd co-primes a,b: HCF(a+b,a−b)=2.
Challenge Problem 15: Using Bézout's Identity, solve the Linear Diophantine Equation: 143x + 65y = 13. Find all integer solutions and the smallest positive solution for x.
✔ Solution
A Diophantine equation ax+by=c has integer solutions iff HCF(a,b)|c.
Step 1: Find HCF(143, 65).
143 = 65×2 + 13
65 = 13×5 + 0 [HCF = 13]
HCF(143,65) = 13. Does 13|13? YES. Solutions exist.
Step 2: Find Bézout coefficients for 143x + 65y = 13.
From the Euclid trace:
13 = 143 − 65×2
So 143×1 + 65×( 2) = 13.∢
Particular solution: x_0=1, y_0= 2.∢
| Verify: 143×1 + 65×( 2) = 143−130 = 13. ∢ | ✓ |
Step 3: General solution.
For ax+by=c with particular solution (x_0,y_0):
General solution: x = x_0 + (b/d)×k, y = y_0 − (a/d)×k
where d=HCF(a,b)=13, b/d=65/13=5, a/d=143/13=11.
x = 1 + 5k
y = 2 − 11k for any integer k.∢
Verify general solution:
| 143(1+5k) + 65( 2−11k) = 143 + 715k − 130 − 715k = 13. ∢ | ✓ |
SMALLEST POSITIVE x:
x = 1 + 5k > 0 always (for k ≥ 0).
Smallest positive x: k=0 gives x=1.
| Corresponding y: y= 2−11×0= 2.∢ | ∢ |
ANSWER:
General solution: x = 1+5k, y = 2−11k for integer k.∢
Smallest positive x = 1 (with y= 2).∢
Challenge Problem 16: Prove: The number of steps in Euclid's Algorithm is O(log
φ(min(a,b))) where φ is the golden ratio. More precisely, if HCF(a,b) takes n steps, then both a and b are at least F_{n+2} (n+2-th Fibonacci number). This is Zeckendorf's connection.
✔ Solution
THEOREM (Lamé's Theorem, 1844): If Euclid's algorithm on (a,b) requires n steps,
then a ≥ F_{n+2} and b ≥ F_{n+1}, where F_k is the k-th Fibonacci number.
PROOF by induction on n:
Base case n = 1 (with a > b ≥ 1): b ≥ 1 = F₂ and a > b gives a ≥ 2 = F₃ (F₁ = F₂ = 1, F₃ = 2, F₄ = ✓ 3, …)
Inductive step: Suppose the algorithm on (a,b) takes n steps.
First step: a = b×q + r, 0<r<b.
The algorithm on (b,r) takes n−1 steps.
By inductive hypothesis: b≥F_{n+1} and r≥F_n.
Since a = bq+r ≥ b+r ≥ F_{n+1}+F_n = F_{n+2}. QED.
CONSEQUENCE:
If Euclid takes n steps on (a,b) with b≤a:
b ≥ F_{n+1} ≈ φ^n/√5.
So n ≤ log_φ(b√5) = O(log b).
Number of steps is LOGARITHMIC in the smaller number!
FIBONACCI ARE THE WORST CASE:
HCF(F_{n+1}, F_n) takes exactly n steps.
Example: HCF(55,34): 55=34×1+21; 34=21×1+13; 21=13×1+8; 13=8×1+5; 8=5×1+3;
5=3×1+2; 3=2×1+1; 2=1×2+0. Eight steps. HCF=1. F_10=55, F_9=34. ✓
ANSWER: Proved using induction. Euclid’s algorithm runs in O(log min(a,b)) steps.
Fibonacci pairs are worst-case inputs.
OLYMPIAD CORNER
Competition-level problems for IMO, SOF-IMO, IAIS, and National Mathematics Olympiad.
Olympiad Problem O-1: Find HCF(a^n − 1, a^m − 1) = a^{HCF(m,n)} − 1. Verify for (a=2, m=12, n=8). This connects HCF to exponential expressions.
✔ Solution
THEOREM: HCF(a^m − 1, a^n − 1) = a^{HCF(m,n)} − 1 for any integer a > 1.
PROOF:
Let d = HCF(m,n). Write m = d×s and n = d×t with HCF(s,t)=1.
KEY LEMMA: (a^m − 1) is divisible by (a^d − 1).
Proof: a^m − 1 = a^{ds} − 1 = (a^d)^s − 1.
By the factorisation x^s−1 = (x 1)(x^{s-1}+...+1):∢
(a^d)^s − 1 is divisible by (a^d 1). ∢ ✓
| So (a^d 1) divides both (a^m 1) and (a^n 1).∢ | ∢ | ∢ |
| Therefore (a^d 1) ≤ HCF(a^m 1, a^n 1).∢ | ∢ | ∢ |
| CONVERSELY: Let D = HCF(a^m 1, a^n 1) and let p be a prime factor of D.∢ | ∢ |
p|(a^m 1) means the ORDER of a mod p divides m.∢
p|(a^n 1) means the order of a mod p divides n.∢
So order divides HCF(m,n) = d.
| Therefore p|(a^d 1), meaning every prime factor of D divides (a^d 1).∢ | ∢ |
So D ≤ (a^d 1).∢
Combining: D = a^d − 1 = a^{HCF(m,n)} − 1. QED.
VERIFICATION: a=2, m=12, n=8.
| HCF(12,8)=4. So HCF(2^12 1, 2^8 1) = 2^4 1 = 15.∢ | ∢ | ∢ |
| 2^12 1 = 4095 = 3×5×7×13. 4095÷15=273. ∢ | ✓ | |
| 2^8 1 = 255 = 3×5×17. 255÷15=17. ∢ | ✓ |
HCF(4095, 255): 4095=255×16+15; 255=15×17+0. HCF=15. ✓
| ANSWER: HCF(a^m 1, a^n 1) = a^{HCF(m,n)} 1. Verified: HCF(4095,255)=15=2^4−1.∢ | ∢ | ∢ |
Olympiad Problem O-2: Prove: For any integer n, HCF(2n+1, 3n+1) divides 1. (Hence 2n+1 and 3n+1 are always co-prime!) Then prove HCF(n^2+1, n+1) divides 2.
✔ Solution
CLAIM 1: HCF(2n+1, 3n+1) = 1.
Let d = HCF(2n+1, 3n+1).
d | (2n+1) and d | (3n+1).
d | 3(2n+1) − 2(3n+1) = 6n+3−6n−2 = 1.
So d | 1. Therefore d = 1.
2n+1 and 3n+1 are ALWAYS co-prime. QED.
Verification: n=5: 2(5)+1=11, 3(5)+1=16. HCF(11,16)=1. ✓
n=10: 21 and 31. HCF(21,31)=1. ✓
n=7: 15 and 22. HCF(15,22)=1. ✓
CLAIM 2: HCF(n^2+1, n+1) | 2.
Let d = HCF(n^2+1, n+1).
d | (n^2+1) and d | (n+1).
d | n(n+1) = n^2+n.
d | (n^2+1) − (n^2+n) = 1−n.
d | (n+1) + (1−n) = 2.
So d | 2. Therefore d {1, 2}. QED.∈
When is d=2? Need 2|(n^2+1) and 2|(n+1).
2|(n+1) means n is odd.
If n is odd: n^2 is odd, so n^2+1 is even. ✓
So d=2 when n is ODD.
d=1 when n is EVEN.
Verification: n=3 (odd): n^2+1=10, n+1=4. HCF(10,4)=2. ✓
n=4 (even): n^2+1=17, n+1=5. HCF(17,5)=1. ✓
ANSWER: HCF(2n+1, 3n+1)=1 always; HCF(n^2+1, n+1)=2 if n odd, 1 if n even.
Olympiad Problem O-3: The "Euclidean Game": Two players alternately subtract positive multiples of the smaller from the larger (as in Euclid's algorithm). The player who reaches 0
wins. Starting with (48, 18), which player wins with optimal play?
✔ Solution
The Euclidean Game (also called Euclid's Game):
Starting position: (48, 18).
A move: from (a,b) with a>b, choose positive k, move to (a−kb, b) where a−kb≥0.
(Essentially: choose a quotient in the division step.)
The player who makes a number 0 WINS.
KEY FACT: if the larger number is at least TWICE the smaller (quotient ≥ 2), the player to move can always win, because they can choose which of two positions to leave the opponent in. If the
quotient is 1, the move is forced.
Position (48, 18): quotient 2 → Player 1 can win.
Option A: subtract 18 → (30, 18). Opponent then has quotient 1 and is forced to (18, 12) … this
hands the choice back to Player 1 later, but Option B is quicker.
Option B: subtract 36 → (18, 12). Opponent is FORCED to (12, 6) (18 − 12 = 6).
Now Player 1 faces (12, 6) with quotient 2 and subtracts 12 → (0, 6). Player 1 WINS.
ANSWER: The first player wins, by moving from (48, 18) to (18, 12).
BRAIN TEASERS
Brain Teaser 1
Can HCF(a, b) = a + b? Can HCF(a, b) = a × b? Find conditions or prove impossibility.
Answer: HCF(a,b)=a+b: HCF ≤ min(a,b). But a+b > max(a,b) ≥ min(a,b). So HCF(a,b) < a+b always (for positive a,b). IMPOSSIBLE. HCF(a,b)=a×b: HCF ≤ min(a,b). And a×b ≥ max(a,b) ≥ min(a,b) (with equality only if one of them is 1). If b=1: HCF(a,1)=1=a×1=a only if a=1. So only HCF(1,1)=1=1×1. Only possible for a=b=1.
Brain Teaser 2
If HCF(a, b) = 1 and HCF(a, c) = 1, is it true that HCF(a, bc) = 1? Prove or disprove.
Answer: YES, HCF(a,bc)=1. Proof: Let p be any prime factor of a. Since HCF(a,b)=1, p does not divide b. Since HCF(a,c)=1, p does not divide c. Therefore p does not divide bc (since if p|bc with p prime, then p|b or p|c by Euclid's Lemma — contradiction). So no prime factor of a divides bc. HCF(a,bc)=1. QED.
| Example: a=35, b=6, c=11. HCF(35,6)=1 , HCF(35,11)=1 . HCF(35,66)=HCF(35,66): 35=5×7; ✓ | ✓ |
66=2×3×11. Common factors: none. HCF=1. ✓
Brain Teaser 3
The HCF of two numbers is 1 and their LCM is 1,260. How many such pairs (a, b) with a ≤ b are there? List them all.
Answer: HCF=1 means a and b are coprime. HCF×LCM=a×b gives 1×1260=a×b=1260. Need coprime pairs (a,b) with a×b=1260 and a≤b. 1260=2²×3²×5×7. For coprime pairs: each prime power goes entirely to a or b. 4 distinct prime powers: 4,9,5,7. Each can go to a or b: 2^4=16 divisions, but half symmetrically → 8 ordered pairs. With a≤b: (1,1260),(4,315),(5,252),(7,180),(9,140),(20,63),(28,45),(35,36). Check:
| HCF(1,1260)=1 ; HCF(4,315)=HCF(2^2, 3^2×5×7)=1 ; HCF(5,252)=HCF(5,2^2×3^2×7)=1 ; ✓ | ✓ | ✓ |
| HCF(7,180)=HCF(7,2^2×3^2×5)=1 ; HCF(9,140)=HCF(3^2,2^2×5×7)=1 ; ✓ | ✓ | |
| HCF(20,63)=HCF(2^2×5,3^2×7)=1 ; HCF(28,45)=HCF(2^2×7,3^2×5)=1 ; ✓ | ✓ |
HCF(35,36)=HCF(5×7,2^2×3^2)=1 . Total: 8 pairs.✓
Brain Teaser 4
Aryabhata (499 AD) described a method called "Kuttaka" for solving linear Diophantine
equations — essentially the same as the Extended Euclidean Algorithm, 1300 years before
European mathematicians! Solve the equation: 17x + 19y = 3 using Kuttaka (back-substitution method).
Answer: HCF(17,19)=1 (consecutive primes, coprime). 1|3, so solutions exist. Euclid: 19=17×1+2; 17=2×8+1; 2=1×2+0. HCF=1. Back-sub: 1=17−2×8=17−8(19−17×1)=17×9−19×8. So 17×9+19×(−8)=1. Multiply by 3: 17×27+19×(−24)=3. So x=27, y=−24. Verify: 17×27+19×(−24)=459−456=3 . General: ✓
| x=27+19k, y=−24−17k. Smallest positive x: k= 1 gives x=8, y= 7. Check: 17×8+19×( 7)=136−133=3 .∢ | ∢ | ∢ | ✓ |
Brain Teaser 5
Two clocks chime: Clock A chimes every 72 minutes; Clock B every 120 minutes. They both
just chimed together. After how many minutes do they next chime together? Use HCF to
compute LCM efficiently. What is the minimum total number of chimes between joint chimings?
Answer: HCF(72,120): 120=72×1+48; 72=48×1+24; 48=24×2+0. HCF=24.
LCM=72×120÷24=8640÷24=360 minutes. Next joint chime: 360 minutes=6 hours. Between joint chimings: Clock A chimes 360÷72=5 times; Clock B chimes 360÷120=3 times. Total chimes between joint chimings: 5+3=8 chimes (not counting the joint chimes themselves, as they happen simultaneously).
EUCLID (~300 BC) presented his algorithm in "Elements" (Book VII, Proposition 2).
It is one of the oldest algorithms still in common use — over 2,300 years old!
ARYABHATA (499 AD) independently developed "Kuttaka" (meaning "pulverizer"),
a method equivalent to the Extended Euclidean Algorithm for solving linear
Diophantine equations. This appeared in his astronomical text "Aryabhatiya".
Kuttaka was used to solve calendar synchronisation problems in ancient India.
LAMÉ'S THEOREM (1844): Gabriel Lamé proved that Euclid's algorithm always
terminates in at most 5 times the number of digits of the smaller number in steps.
This was the FIRST theorem in computational complexity theory!
BÉZOUT'S IDENTITY is named after Étienne Bézout (1730–1783), though the result
was known earlier. It is fundamental in modular arithmetic and cryptography.
RSA ENCRYPTION (used for all https websites) relies on computing modular inverses,
which requires the Extended Euclidean Algorithm (Bézout's Identity) for every
secure web connection. Every time you bank online, Euclid's 2300-year-old
algorithm runs millions of times per second!
PRACTICE EXERCISE 14.A — Easy (Classes 4–6)
Show all steps. State which method you used and verify each answer.
1. Find HCF by listing method: (a) HCF(42, 56) (b) HCF(64, 96) (c) HCF(45, 75)
2. Find HCF by prime factorisation: (a) HCF(360, 504) (b) HCF(2310, 1764) (c) HCF(5040, 7560)
3. Find HCF using Euclid's Algorithm: (a) HCF(315, 210) (b) HCF(1,339, 954) (c) HCF(9,867, 6,578)
4. Find HCF of three numbers: (a) HCF(36, 54, 72) (b) HCF(120, 180, 240) (c) HCF(252, 420, 588)
5. Given HCF and one number, find the other: (a) HCF=15, LCM=180, a=45. Find b. (b) HCF=8, product=960. Find both numbers if their ratio is 3:5.
6. Three bells ring at intervals of 12, 18, and 24 minutes. They rang together at 9:00 AM. When will they next ring together?
7. A rectangular courtyard 72m×48m is to be paved with square tiles without cutting. Find the largest tile size and number of tiles.
8. Find all pairs of numbers whose HCF is 12 and sum is 108.
9. Verify Bézout's Identity: find x,y such that 35x + 25y = HCF(35,25).
10. Which pairs are co-prime: (a)(15,16) (b)(21,35) (c)(100,101) (d)(81,64) (e)(p,q) for distinct primes p,q?
PRACTICE EXERCISE 14.B — Medium (Classes 6–8)
1. Prove: HCF(a, b+a) = HCF(a, b) for any positive integers a, b.
2. If HCF(a,b)=d, express HCF(2a, 2b, 3a, 3b) in terms of d.
3. Find all integers n such that HCF(n+6, 3n+2) = 2.
4. The HCF of two numbers is 12 and their product is 6,048. List all possible pairs.
5. Prove: If a|bc and HCF(a,b)=1, then a|c. (This is a fundamental lemma.)
6. Find HCF(10^12+1, 10^6+1). Use the result HCF(a^m+1, a^n+1) for even m/n.
7. Solve: 231x + 143y = 11. Find the smallest positive x.
8. A strip of land is 3,780 m long. Trees are to be planted at equal intervals at both ends and in between. If the interval at one boundary must be 18 m and the other must be 24 m, what is the longest uniform interval throughout?
9. Find HCF(F_{20}, F_{30}) where F_n is the n-th Fibonacci number (F_1=1, F_2=1, ...).
10. Prove: For any integers a,b,c: HCF(a, HCF(b, c)) = HCF(HCF(a, b), c). (HCF is associative.)
PRACTICE EXERCISE 14.C — Challenge (Classes 7–10)
1. Prove that among any n consecutive integers, exactly one is divisible by n. (Use this to show HCF(n,n+1)=1 always.)
2. Prove: The sum 1/HCF(a,n) over all a from 1 to n equals (1+number of integers coprime to n)/2 ... investigate this numerically for n=6.
3. The Stern-Brocot tree organises all positive fractions in reduced form using HCF. Find the path from the root 1/1 to 7/5 in the Stern-Brocot tree.
4. Prove: Euler's totient function φ(n) counts the integers from 1 to n co-prime to n. Compute φ(360).
5. Solve the system: 5x ≡ 3 (mod 7) and 3x ≡ 5 (mod 11) using the Chinese Remainder Theorem and HCF.
6. Investigate: When does HCF(a^m−1, a^n−1) = a^{HCF(m,n)} 1 fail? (It should never fail for ∢ a≥2, m,n≥1 integers.)
7. Prove that the Euclidean Algorithm on (F_{n+1}, F_n) takes exactly n−1 division steps and each quotient is 1.
8. (Project) Study the Euclidean Game and determine winning positions for all pairs (a,b) with a,b ≤ 20. Which positions are winning for Player 1?
CHAPTER 14 — KEY POINTS SUMMARY
1. HCF(a,b): the largest number dividing both a and b exactly.
Also called GCD (Greatest Common Divisor) or GCF (Greatest Common Factor).
2. Three methods: Listing (small numbers); Prime Factorisation (medium); Euclid's Algorithm (large).
3. Listing: find all common factors; HCF = largest.
4. Prime Factorisation: HCF = product of common primes with MINIMUM exponents.
5. Euclid's Algorithm: HCF(a,b) = HCF(b, a mod b). Repeat until remainder=0.
6. Euclid's Lemma: HCF(a,b) = HCF(b,r) where a=b×q+r. (Proved by divisibility.)
7. HCF(a,b,c) = HCF(HCF(a,b), c). HCF is associative.
8. Golden Formula: HCF(a,b) × LCM(a,b) = a × b. (For exactly two numbers.)
9. Co-primes: HCF=1. Consecutive integers are always co-prime.
10. Bézout's Identity: d=HCF(a,b) integers x,y such that ax+by=d.⇒ ∃
11. Linear Diophantine ax+by=c has solutions iff HCF(a,b)|c.
12. HCF(F_m, F_n) = F_{HCF(m,n)} (Fibonacci-HCF connection).
| 13. HCF(a^m 1, a^n 1) = a^{HCF(m,n)} 1 (Exponential-HCF connection).∢ | ∢ | ∢ |
14. Euclid's Algorithm: O(log min(a,b)) steps. Fibonacci pairs are worst-case.
15. Aryabhata's Kuttaka (499 AD) independently discovered the same algorithm!
ANSWER KEY — CHAPTER 14
Exercise 14.A (Easy)
1. (a) 14 (b) 32 (c) 15 2. (a) 360 = 2³ × 3² × 5, 504 = 2³ × 3² × 7 → 72 (b) 2310 = 2 × 3 × 5 × 7 × 11, 1764 = 2² × 3² × 7² → 42 (c) 5040 = 2⁴ × 3² × 5 × 7, 7560 = 2³ × 3³ × 5 × 7 → 2,520 3. (a) 315 = 210 × 1 + 105; 210 = 105 × 2 → 105 (b) 1339 = 954 + 385; 954 = 2 × 385 + 184; 385 = 2 × 184 + 17; 184 = 10 × 17 + 14; 17 = 14 + 3; 14 = 4 × 3 + 2; 3 = 2 + 1 → 1 (c) 9867 = 6578 + 3289; 6578 = 2 × 3289 → 3,289 4. (a) 18 (b) 60 (c) 84 5. (a) 15 × 180 = 45b → b = 60 (b) The numbers are 8 × 3 = 24 and 8 × 5 = 40 (24 × 40 = 960 ) 6. LCM(12, 18, 24) = 72 min → 10:12 a.m. 7. HCF(72, 48) = 24: 24 m ✓ tiles, 3 × 2 = 6 tiles 8. 12m + 12n = 108 → m + n = 9 with m, n coprime: (12, 96), (24, 84), (48, 60)
9. 35 = 25 + 10; 25 = 2 × 10 + 5 → 5 = 3 × 25 − 2 × 35: x = −2, y = 3 10. (a) coprime (b) not coprime (HCF 7) (c) coprime (d) coprime (e) coprime
Exercise 14.B (Medium)
1. Any common divisor of a and b divides a + b, and any common divisor of a and a + b divides (a +
b) − a = b. So the common divisors are the same and the HCFs are equal 2. With a = dm, b = dn (m, n coprime): HCF(2a, 2b, 3a, 3b) = d × HCF(2m, 2n, 3m, 3n) = d 3. d divides 3(n + 6) − (3n + 2) = 16. d is even only when n is even; if n ≡ 2 (mod 4) both numbers are multiples of 4. So HCF = 2 exactly when n is a multiple of 4 (n = 0, 4, 8, …) 4. 12m × 12n = 6048 → mn = 42, coprime: (12, 504), (24, 252), (36, 168), (72, 84) 5. Bézout: ax + by = 1, so c = acx + bcy; a divides both terms, hence a | c 6. If d divides 10⁶ + 1 then 10⁶ ≡ −1, so 10¹² + 1 ≡ 2 (mod d) and d | 2; both numbers are odd → HCF = 1
7. Divide by 11: 21x + 13y = 1; Euclid gives 1 = 5 × 21 − 8 × 13, so x = 5 + 13k → smallest positive x = 5 (231 × 5 − 143 × 8 = 11 ) 8. The interval must divide 18 and 24: 6 m (and 6 divides 3,780) 9. ✓ HCF(F₂₀, F₃₀) = F_HCF(20,30) = F₁₀ = 55 10. Both sides are the largest number dividing all of a, b, c
Exercise 14.C (Challenge)
1. Among n consecutive integers n+1,...,2n: exactly one divisible by n. For n and n+1: HCF=1 by this argument. 2. Euler totient connection: For n=6: coprimes are {1,5}; φ(6)=2. Sum formula relates to ✓ totient function. 3. Stern-Brocot tree path to 7/5: Start 1/1. 7/5<1/1? No, go to right mediant... complex tree traversal. 4. φ(360)=360×(1−1/2)(1−1/3)(1−1/5)=360×1/2×2/3×4/5=96 5. 5x≡3(mod 7): x≡3×3=9≡2(mod 7) [inv of 5 mod 7 is 3 since 15≡1]. 3x≡5(mod 11): x≡5×4=20≡9(mod 11) [inv of 3 mod 11 is 4]. CRT: x≡2(mod 7) and x≡9(mod 11). x=2+7k; 2+7k≡9(mod 11); 7k≡7(mod 11); k≡1(mod 11) [7×7=49≡1 so inv=7; k=7×7=49≡1]. k=1+11t; x=2+7(1+11t)=9+77t. x≡9(mod 77). 6. Always holds for a≥2. 7. HCF(F_{n+1},F_n): exactly n-1 steps each with quotient 1. Proved by induction. 8. Research project.
CHAPTER 14 — NEW TERMS FOR GLOSSARY
| Term | Definition |
|---|---|
| Bézout's Identity | For integers a,b with HCF=d: there exist integers x,y with ax+by=d. |
| Common Factor | A number that divides two or more given numbers exactly. |
| Coprime / Co-prime | Two numbers with HCF=1; sharing no common factor other than 1. |
| Euclidean Algorithm | HCF algorithm: HCF(a,b)=HCF(b,a mod b), repeated until remainder=0. ~300 |
BC.
| Extended Euclidean | Finds HCF(a,b) AND the Bézout coefficients x,y simultaneously. |
| GCD / GCF | Greatest Common Divisor / Greatest Common Factor. Same as HCF. |
| HCF | Highest Common Factor: the largest number dividing all given numbers |
exactly.
| Kuttaka | Aryabhata's method (499 AD) for solving linear Diophantine equations; |
equivalent to Extended Euclidean.
| Lamé's Theorem | Euclid's algorithm on (a,b) takes ≤ 5×(digits in smaller number) steps. First |
computational complexity theorem.
| Linear Diophantine | Equation ax+by=c with integer solutions; solvable iff HCF(a,b)|c. |