Primes, HCF and LCM

Chapter 1 Study Notes · O-Level 4052

Section 5 of 11
Contents▾

1.4Highest Common Factor (HCF)

The highest common factor (HCF) of two or more numbers is the largest number dividing exactly into all of them. Write each as a product of primes, then multiply the primes appearing in every factorisation, each at its smallest index. The smaller index is all the numbers can share.

HCF rule
HCF=product of common prime factors, each with the smallest index\displaystyle \text{HCF} = \text{product of } \textbf{common} \text{ prime factors, each with the } \textbf{smallest} \text{ index}
23784 = 2² × 3 × 7126 = 2 × 3² × 7HCF = 2 × 3 × 7the gold boxes are the ones the HCF picks up
One column per prime, one mark per index. The HCF takes each common prime at its smaller index.

Finding the HCF of two numbers

Find the HCF of 84\displaystyle 84 and 126\displaystyle 126.

Show solution▾
84\displaystyle 84
=22×3×7\displaystyle = 2^2 \times 3 \times 7
126\displaystyle 126
=2×32×7\displaystyle = 2 \times 3^2 \times 7
Common prime factors: 22, 33 and 77.
Take the smaller index for each: 212^1, 313^1 and 717^1.
HCF\displaystyle \text{HCF}
=2×3×7\displaystyle = 2 \times 3 \times 7
=42\displaystyle = 42

Now you try

Find the HCF of 200200 and 225225.

Show solution▾
200\displaystyle 200
=23×52prime factorisation\displaystyle = 2^{3} \times 5^{2} \quad \scriptsize\textit{prime factorisation}
225\displaystyle 225
=32×52\displaystyle = 3^{2} \times 5^{2}
Common prime factors with lowest indices: 525^{2}
HCF\displaystyle \text{HCF}
=52\displaystyle = 5^{2}
=25\displaystyle = 25

Want it marked, with hints, and a new question each time? Practise this →

Finding the HCF of three numbers

Find the HCF of 72\displaystyle 72, 108\displaystyle 108 and 180\displaystyle 180.

Show solution▾
72\displaystyle 72
=23×32\displaystyle = 2^3 \times 3^2
108\displaystyle 108
=22×33\displaystyle = 2^2 \times 3^3
180\displaystyle 180
=22×32×5\displaystyle = 2^2 \times 3^2 \times 5
Common prime factors: 22 and 33 (the prime 55 appears only in 180180, so it is excluded).
Take the smallest index for each: 222^2 and 323^2.
HCF\displaystyle \text{HCF}
=22×32\displaystyle = 2^2 \times 3^2
=36\displaystyle = 36

Practise this

Questions on Primes, HCF and LCM, marked as you go, with the working shown.

Practise Primes, HCF and LCM