Maths Dictionary · JSS 1
HCF (highest common factor)
Also called: GCD, greatest common divisor
Simple meaning
The biggest number that divides exactly into two or more numbers.
Example
The HCF of 12 and 18 is 6.
HCF explained
The HCF is the largest number that fits exactly into all the given numbers. You can list the factors and pick the biggest shared one, or use prime factors. For 24 and 36: 24 = 23 × 3 and 36 = 22 × 32. Take the lowest power of each prime that appears in both: 22 × 3 = 12.
The HCF solves problems about splitting things into the largest possible equal groups with nothing left over, such as cutting ropes into the longest equal pieces or packing items into identical bags. It also simplifies fractions: divide the top and bottom by their HCF. The HCF of two numbers can never be bigger than the smaller number.
Worked example
Aisha has 42 mangoes and 70 oranges. She wants to pack them into identical baskets, each with the same number of mangoes and the same number of oranges, with no fruit left over. What is the greatest number of baskets she can make?
- Write each number as a product of primes: 42 = 2 × 3 × 7 and 70 = 2 × 5 × 7.
- The primes common to both are 2 and 7, so HCF = 2 × 7 = 14.
- Check: 42 ÷ 14 = 3 mangoes and 70 ÷ 14 = 5 oranges in each basket.
Answer: 14 baskets, each with 3 mangoes and 5 oranges.
See it
From the Highest Common Factor (HCF) lesson. Try moving things around.
Factors of 12
Factors of 18
Common factors: 1, 2, 3, 6 → HCF = 6
Prime factors
HCF = the overlap = 2 × 3 = 6
First number
Second number
Common mistakes
- Confusing HCF with LCM. The HCF is a factor, so it is no bigger than the smallest number. The LCM is a multiple, so it is at least as big as the largest number.
- Using the highest powers in the prime factor method. For the HCF, take the lowest power of each prime common to all the numbers, and leave out primes that are not in every number.
In BECE and WASSCE
HCF is a regular BECE topic, both in objective questions and in word problems about sharing, cutting or arranging. WASSCE may ask for the HCF of algebraic terms, such as 6a2b and 9ab2, whose HCF is 3ab. Words like "greatest", "largest" or "longest" in a sharing problem usually signal HCF.
Questions students ask
Can the HCF of two numbers be 1?
Yes. When two numbers share no factor except 1, like 8 and 15, their HCF is 1. Such numbers are called co-prime. Neither number has to be prime itself: 8 and 15 are both composite numbers.
How do I find the HCF of three numbers?
The same way. Write each as a product of primes and take the primes common to all three, using the lowest power. For 12, 18 and 30: 12 = 22 × 3, 18 = 2 × 32, 30 = 2 × 3 × 5. The common primes are 2 and 3, so the HCF is 6.