Every whole number greater than 1 is a product of primes in exactly one way
Every whole number greater than 1 can be written as a product of primes, called its prime factorisation.
Prime factorisation
A number's prime factorisation is the number written as a product of primes, such as 20=2×2×5,{20 = 2 \times 2 \times 5\text{,}}20=2×2×5, or 22×5{2^2 \times 5}22×5 in index form.
Two different first splits of 72 end on exactly the same five primes.
A factor tree finds a prime factorisation. Primes are covered in the guide Factors and Multiples.
- Split the number into any factor pair except 1 and itself.
- Ring each prime and leave it. Split every other factor into a pair that multiplies back to it.
- Stop when every branch ends in a ring. A branch ending in 4 or 9 is unfinished.
By the unique factorisation theorem, any first split gives the same primes.
Unique factorisation theorem
Every whole number greater than 1 has exactly one prime factorisation, apart from the order of the primes.
"A product of prime factors" means the primes joined by ×{\times}× signs with no 1s, not a list or a sum. "A product of powers" means index form, 22×53{2^2 \times 5^3}22×53 rather than 2×2×5×5×5.{2 \times 2 \times 5 \times 5 \times 5\text{.}}2×2×5×5×5.
Find the HCF and LCM from prime factors or by listing
The highest common factor (HCF) and lowest common multiple (LCM) come from a Venn diagram of prime factors, or from listing.
Highest common factor
The HCF of two or more numbers is the largest factor they all share.
Lowest common multiple
The LCM of two or more numbers is the smallest multiple they all share.
Only one of the two 3s in 36 is shared, because 60 has just one 3.
One shared prime alone, such as 2, is a common factor of 36 and 60 but not the highest.
Wrong. The HCF of 6 and 8 is 24, and the LCM is 2.
Right. The HCF is at most the smaller number and the LCM at least the larger, so 24 cannot be the HCF of 6 and 8, and 2 cannot be the LCM. The HCF is 2 and the LCM is 24.
Wrong. 18=2×3×3{18 = 2 \times 3 \times 3}18=2×3×3 and 30=2×3×5,{30 = 2 \times 3 \times 5\text{,}}30=2×3×5, so the LCM is 2×3×3×2×3×5=540.2 \times 3 \times 3 \times 2 \times 3 \times 5 = 540\text{.}2×3×3×2×3×5=540.
Right. The shared primes 2 and 3 are counted once, so the LCM is 2×3×3×5=90.{2 \times 3 \times 3 \times 5 = 90\text{.}}2×3×3×5=90.
For small numbers, list factor pairs from 1 until the pairs meet. Factors in both lists are common factors, and only the largest is the HCF.
Common factor
A common factor of two or more numbers is a factor they all share.
HCF and LCM by listing
Find the HCF and the LCM of 24 and 40.
- The factor pairs of 24 are 1×24,{1 \times 24\text{,}}1×24, 2×12,{2 \times 12\text{,}}2×12, 3×8,{3 \times 8\text{,}}3×8, 4×6,{4 \times 6\text{,}}4×6, and of 40 are 1×40,{1 \times 40\text{,}}1×40, 2×20,{2 \times 20\text{,}}2×20, 4×10,{4 \times 10\text{,}}4×10, 5×8.{5 \times 8\text{.}}5×8.
- The common factors are 1, 2, 4 and 8, so the HCF is 8.
- Adding on 24s gives 24, 48, 72, 96, 120 and adding on 40s gives 40, 80, 120, so the LCM is 120.
In index form, the HCF takes the lowest powers and the LCM the highest
For numbers in index form, compare the powers of each prime instead of working the numbers out.
5 and 7 each appear in only one number, so they go in the LCM but not the HCF.
The HCF is the largest number that divides both numbers, so it takes the lower power of each prime. The LCM is the smallest multiple of both, so it takes the higher. Give the answer in the form asked for, index form or an ordinary number.
Solve problems with the LCM and HCF (Higher)
Events that repeat at fixed intervals and start together next happen together at the LCM of the intervals.
Five gaps of 12 minutes and three gaps of 20 minutes both reach 60.
Three repeating events
Trains on three routes leave one station every 8, 12 and 18 minutes, starting together at 9 am. How many more times do all three leave together before 1 pm?
- 8=23,{8 = 2^3\text{,}}8=23, 12=22×3{12 = 2^2 \times 3}12=22×3 and 18=2×32,{18 = 2 \times 3^2\text{,}}18=2×32, so the LCM is 23×32=72 minutes.{2^3 \times 3^2 = 72\ \text{minutes.}}23×32=72 minutes.
- From 9 am to 1 pm is 4×60=240 minutes.{4 \times 60 = 240\ \text{minutes.}}4×60=240 minutes.
- All three leave together again 72, 144 and 216 minutes after 9 am, since 4×72=288{4 \times 72 = 288}4×72=288 is more than 240. That is 3 more times.
Two numbers with a given HCF are that HCF multiplied by two numbers with no common factor other than 1.
Two numbers with a given HCF
p{p}p is a multiple of 4, q{q}q is a multiple of 5 and their HCF is 6. Find a possible pair of values for p{p}p and q.{q\text{.}}q.
- Write p=6a{p = 6a}p=6a and q=6b,{q = 6b\text{,}}q=6b, where a{a}a and b{b}b have no common factor other than 1.
- 6=2×3{6 = 2 \times 3}6=2×3 has one 2, so a=2{a = 2}a=2 makes p=12{p = 12}p=12 a multiple of 4.
- b=5{b = 5}b=5 makes q=30{q = 30}q=30 a multiple of 5.
- 12=22×3{12 = 2^2 \times 3}12=22×3 and 30=2×3×5{30 = 2 \times 3 \times 5}30=2×3×5 share only 2×3=6,{2 \times 3 = 6\text{,}}2×3=6, so p=12{p = 12}p=12 and q=30.{q = 30\text{.}}q=30.
The LCM of several powers of one number is the largest power.
LCM of powers of one number
Find the LCM of 715,{7^{15}\text{,}}715, 740{7^{40}}740 and 723.{7^{23}\text{.}}723.
- 740=715×725{7^{40} = 7^{15} \times 7^{25}}740=715×725 and 740=723×717,{7^{40} = 7^{23} \times 7^{17}\text{,}}740=723×717, so 740{7^{40}}740 is a multiple of all three.
- A common multiple must be a multiple of 740{7^{40}}740 itself, so none is smaller, and the LCM is 740.{7^{40}\text{.}}740.
Check your understanding of prime factors, HCF and LCM
- Why do two different factor trees for the same number end in the same primes?
- Explain why the HCF of two numbers can never be larger than the smaller number.
What number has the prime factorisation 23×3×7?{2^3 \times 3 \times 7\text{?}}23×3×7?
Solution
168
How many common factors do 12 and 18 have?
Solution
4
What is the LCM of 4, 6 and 9?
Solution
36