Prime factorisation and uniqueness
Every LEGO model is built from the same small bricks. A number is built from prime "bricks" in just one way.
The Fundamental Theorem of Arithmetic: every composite number can be written as a product of primes, and this factorisation is unique apart from the order of the factors.
Formula: n = p₁^a × p₂^b × p₃^c …
In the figure: The factor tree of 60 ends in the primes 2, 2, 3, 5, whatever order you split it in.
Prime factorisation and uniqueness
In the app you can move this figure with your finger.
Open in the appRule 1: Build the factor tree — Keep splitting until every branch is a prime, then write repeated primes as powers.
- Easy: 60 = 2² × 3 × 5.
- Medium: 588 = 2² × 3 × 7².
- Exam-type: 1 is not a prime and not a composite.
Rule 2: Uniqueness — Two different trees for the same number give the same primes.
- Easy: 36 = 4 × 9 = 6 × 6 → 2² × 3² both ways.
- Medium: If 2 × 3 × 5 = n then n = 30 and no other primes can appear.
- Exam-type: Check by multiplying back: 2² × 3² × 5 = 180.
Always finish with powers of primes in increasing order, for example 2² × 3 × 5.
Stopping while a composite factor like 4 or 9 is still left in the product.
"Split till every branch is a prime."
Practice questions
- 1How many different prime factors does 40 have?
- 2Which is the smallest prime number?
- 3Express 3375 as a product of prime factors.
- 4Express 1764 as a product of prime factors.
- 5How many different prime factors does 15435 have?
- 6How many different prime factors does 5324 have?
- 7In the prime factorisation of 1000, what is the exponent of the prime 5?
- 8In the prime factorisation of 784, what is the exponent of the prime 7?
Show answers (try them yourself first)
- 12
- 22
- 33³ × 5³
- 42² × 3² × 7²
- 53
- 62
- 73
- 82
HCF by prime factorisation
Two ropes of 12 m and 18 m are cut into equal pieces with no waste. The longest piece is their HCF.
HCF = product of the common primes, each with the smallest power it has in the numbers.
Formula: HCF = ∏ (common primes)^(least power)
In the figure: HCF(12, 18): common primes 2 and 3 at their lowest powers give 2 × 3 = 6.
HCF by prime factorisation
In the app you can move this figure with your finger.
Open in the appRule 1: Two numbers — Factorise both, then keep only primes present in both.
- Easy: HCF(36, 60): 2² × 3 = 12.
- Medium: HCF(96, 404) = 4.
- Exam-type: HCF(8, 9) = 1 (no common prime): co-prime.
Rule 2: Three numbers — Take the primes common to all three.
- Easy: HCF(12, 18, 24) = 2 × 3 = 6.
- Medium: HCF(8, 12, 20) = 2² = 4.
- Exam-type: Use HCF to make the largest equal groups.
HCF divides every number; it can never be bigger than the smallest of them.
Taking the highest power, or primes that are not common to all numbers.
"HCF: common and lowest."
Practice questions
- 1If a = 2² × 7 and b = 2³ × 3 × 7³, then HCF(a, b) = ?
- 2If a = 2 × 5 and b = 2³ × 3³ × 5³, then HCF(a, b) = ?
- 3Find the HCF of 20 and 24 using prime factorisation.
- 4Find the HCF of 12 and 84 using prime factorisation.
- 5In the prime factorisation method, the HCF is found by taking the ___ power of each COMMON prime.
- 6Find the largest number that divides 151 and 164 leaving remainders 15 and 11 respectively.
- 7Find the largest number that divides 52 and 21 leaving remainders 2 and 1 respectively.
- 8Find the HCF of 8, 4 and 10.
Show answers (try them yourself first)
- 12² × 7
- 22 × 5
- 34
- 412
- 5smallest
- 617
- 710
- 82
LCM by prime factorisation
Two lights blink every 12 and 18 seconds. They blink together again after their LCM.
LCM = product of all the primes that appear, each with its greatest power.
Formula: LCM = ∏ (all primes)^(greatest power)
In the figure: LCM(12, 18): 2² and 3² give 4 × 9 = 36.
Rule 1: LCM of two numbers — Collect every prime, with its highest power.
- Easy: LCM(6, 20) = 2² × 3 × 5 = 60.
- Medium: LCM(8, 9) = 72.
- Exam-type: LCM(12, 15, 21) = 2² × 3 × 5 × 7 = 420.
Rule 2: Meeting-again problems — "After how long together again?" asks for the LCM.
- Easy: Beats every 12 s and 18 s: together after 36 s.
- Medium: Two runners lap in 24 and 36 min: meet after 72 min.
- Exam-type: LCM is never smaller than the largest number.
HCF takes the common primes (lowest power); LCM takes all primes (highest power).
Mixing the two rules: using the lowest powers for LCM.
"LCM: all and highest."
Practice questions
- 1If a = 3 × 7 × 11 and b = 7² × 11², then LCM(a, b) = ?
- 2If a = 3³ × 5 and b = 3³ × 5², then LCM(a, b) = ?
- 3Find the LCM of 120 and 84 using prime factorisation.
- 4What is the smallest positive number that is exactly divisible by both 12 and 40?
- 5Find the LCM of 20 and 50 using prime factorisation.
- 6In the prime factorisation method, the LCM is found by taking the ___ power of EVERY prime that appears.
- 7Find the LCM of 16, 25 and 24.
- 8Find the smallest number which, when divided by 20, 8 and 18, leaves remainder 7 each time.
Show answers (try them yourself first)
- 13 × 7² × 11²
- 23³ × 5²
- 3840
- 4120
- 5100
- 6greatest
- 71200
- 8367
HCF × LCM = product of the two numbers
If you know the HCF and LCM, you can find a missing number without factorising it.
For any two positive integers a and b, HCF(a, b) × LCM(a, b) = a × b. This works for two numbers only, not three.
Formula: HCF × LCM = a × b
In the figure: 12 and 18: HCF 6, LCM 36, and 6 × 36 = 216 = 12 × 18.
Rule 1: Find the missing number — b = HCF × LCM ÷ a.
- Easy: HCF 9, LCM 360, one number 45: other = 9 × 360 ÷ 45 = 72.
- Medium: HCF 4, LCM 84, one number 12: other = 28.
- Exam-type: Co-prime numbers: LCM = product.
Rule 2: Find the LCM or HCF — Use whichever one is missing.
- Easy: HCF(25, 35) = 5 so LCM = 875 ÷ 5 = 175.
- Medium: HCF(8, 9) = 1 so LCM = 72.
- Exam-type: For three numbers this rule fails.
The HCF always divides the LCM.
Using HCF × LCM = a × b × c for three numbers.
"Two numbers: product = HCF × LCM."
Practice questions
- 1For two positive integers a and b, HCF(a, b) × LCM(a, b) = ?
- 29 and 11 are co-prime numbers. What is their LCM?
- 326 and 29 are co-prime numbers. What is their LCM?
- 425 and 23 are co-prime numbers. What is their LCM?
- 5The HCF of two numbers is 11, their LCM is 968, and one of the numbers is 88. Find the other number.
- 6The HCF of two numbers is 13, their LCM is 65, and one of the numbers is 13. Find the other number.
- 7The product of two positive integers is 256 and their HCF is 8. What is their LCM?
- 8Two numbers are in the ratio 11 : 2 and their HCF is 3. Find their LCM.
Show answers (try them yourself first)
- 1a × b
- 299
- 3754
- 4575
- 5121
- 665
- 732
- 866
Using the theorem
Why does 10 end in 0? Because it has both the primes 2 and 5. The theorem explains many such facts.
A number ends in 0 only if its prime factorisation has both 2 and 5. A number is composite if it has a factor other than 1 and itself. If n = p^a × q^b, it has (a + 1)(b + 1) factors.
Formula: factors = (a + 1)(b + 1)
In the figure: 6ⁿ = 2ⁿ × 3ⁿ has no prime 5, so it never ends in 0.
Rule 1: Ending digit and composite checks — Look for the primes 2 and 5, or a common factor.
- Easy: 4ⁿ = 2²ⁿ has no 5, never ends in 0.
- Medium: (2 × 5 × 7) × 3 + 5 has a factor 5 so it is composite.
- Exam-type: 7 × 11 × 13 + 13 = 13 × (77 + 1) = 13 × 78: composite.
Rule 2: Number of factors — Add 1 to each power and multiply.
- Easy: 36 = 2² × 3²: 3 × 3 = 9 factors.
- Medium: 60 = 2² × 3 × 5: 3 × 2 × 2 = 12 factors.
- Exam-type: A prime has exactly 2 factors.
A number is a perfect square if every prime power in its factorisation is even.
Counting factors as a + b instead of (a + 1)(b + 1).
"Add one to each power, then multiply."
Practice questions
- 1A composite number has at least ___ prime factors when repeated factors are counted separately.
- 2How many positive factors does 891 have (including 1 and 891)?
- 3How many positive factors does 5488 have (including 1 and 5488)?
- 4How many positive factors does 12 have (including 1 and 12)?
- 5784 = 2⁴ × 7². Is 784 a perfect square?
- 6How many positive factors does 676 have (including 1 and 676)?
- 71225 = 5² × 7². Is 1225 a perfect square?
- 8How many positive factors does 1125 have (including 1 and 1125)?
Show answers (try them yourself first)
- 12
- 210
- 320
- 46
- 5Yes, every exponent is even
- 69
- 7Yes, every exponent is even
- 812