Skip to content
S StudyGuide GH

Number · Number Operations · Lesson 11

Finding the HCF Using Prime Factors in Index Form

How wide should you cut strips of cloth so that nothing is wasted? How many equal parcels can you make from two different heaps of oranges? These are Highest Common Factor (HCF) questions. In this lesson you will write numbers as products of prime powers and use them to find the HCF quickly, even for large numbers, and you will see how the same idea gives the LCM.

NaCCA B7.1.2.3.5 ⏱ about 50 min

By the end you will be able to

  • ✔Write two or three numbers as products of prime factors in index form.
  • ✔Find the HCF by multiplying the common primes, each with its lowest index.
  • ✔Find the LCM by multiplying all the primes, each with its highest index.
  • ✔Decide whether a word problem needs the HCF or the LCM, and solve it.

Key words

Common factor
A number that divides two or more numbers exactly. 3 is a common factor of 12 and 15.
Highest Common Factor (HCF)
The largest number that divides each of the given numbers exactly. The HCF of 24 and 30 is 6.
Lowest Common Multiple (LCM)
The smallest number that is a multiple of each of the given numbers. The LCM of 8 and 12 is 24.
Prime factorisation
Writing a number as a product of primes, e.g. 24 = .
Curriculum reference

Content standard: B7.1.2.3 Demonstrate understanding and the use of powers of natural numbers in solving problems.

Indicator: Apply the concept of powers of numbers (product of prime) to find Highest Common Factor (HCF).

Starter

Akweley's strips of paper

Akweley is making paper chains for her school's Independence Day decoration in Accra. She has one piece of coloured paper 24 cm wide and another 30 cm wide. She wants to cut both into strips of the same width, as wide as possible, with no paper wasted. Should the strips be 2 cm? 3 cm? 6 cm? Prime factors give the answer in a few lines.

1. Common factors and the HCF

A factor of a number divides it exactly. Listing factors is the method you learnt in primary school:

  • Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24
  • Factors of 30: 1, 2, 3, 5, 6, 10, 15, 30
  • Common factors: 1, 2, 3, 6. The highest is 6, so HCF(24, 30) = 6.

Listing works for small numbers, but for numbers like 180 and 252 the lists become long and it is easy to miss a factor. Prime factors in index form give a faster, safer method.

▶ A strip width must divide BOTH widths exactly. The widest such width is the HCF.

2. The HCF from prime factors in index form

First write each number as a product of prime powers (use a factor tree or repeated division). Here is 24:

▶ Watch 24 break down to 2 × 2 × 2 × 3 = 2³ × 3.

Similarly, 30 = 2 × 3 × 5. Now line the numbers up prime by prime. A common factor can only use primes that appear in both numbers, and it cannot use more copies of a prime than the number with the fewest copies has. So for each common prime we take the lowest index.

HCF of 24 and 30
NumberPower of 2Power of 3Power of 5
24— (none)
30
HCF (lowest index, common primes only)not common

HCF = = 2 × 3 = 6, the same answer as listing. 5 is left out because 24 has no factor 5.

  1. 1Write each number as a product of prime factors in index form.
  2. 2Pick out the primes that appear in EVERY number.
  3. 3For each of those primes, take the LOWEST index.
  4. 4Multiply them together. That product is the HCF.

3. Bigger numbers and three numbers

The method shines for large numbers. 180 = and 252 = . Common primes: 2 and 3. Lowest indices: and . HCF = 4 × 9 = 36.

For three numbers, a prime must appear in all three. For 36, 54 and 90: 36 = , 54 = , 90 = . Common primes: 2 and 3. Lowest indices: and . HCF = 2 × 9 = 18.

4. HCF or LCM? Solving real problems

The LCM uses the same prime factors, but now we want the smallest number that every given number divides into. So we take every prime that appears, each with its highest index. For 12 = and 8 = : LCM = = 24.

Choosing the right tool
Clue in the questionUseWhy
Cut, share or pack into the largest equal groups/piecesHCFWe divide each amount exactly (factor), into the same size (common), as big as possible (highest).
When will events happen together again? Smallest amount that can be shared equally both waysLCMThe events repeat (multiples), must meet (common), as soon as possible (lowest).

Worked examples

Try each one yourself first, then open the solution and compare every step.

Example 1

HCF of 24 and 30

Use prime factors to find the HCF of 24 and 30.
Show the solution
  1. Step 124 = 2 × 2 × 2 × 3 = .
  2. Step 230 = 2 × 3 × 5.
  3. Step 3Common primes: 2 and 3. Lowest indices: and .
  4. Step 4HCF = 2 × 3 = 6.

Answer: HCF = 6

Example 2

HCF of 72 and 120

Find the HCF of 72 and 120, giving your answer in index form and as a number.

▶ The prime factors of 120: compare them with 72 = 2³ × 3² to see the common part.

Show the solution
  1. Step 172 = (72 → 36 → 18 → 9 → 3 → 1).
  2. Step 2120 = (120 → 60 → 30 → 15 → 5 → 1).
  3. Step 3Common primes: 2 and 3. Lowest index of 2 is 3; lowest index of 3 is 1.
  4. Step 4HCF = = 8 × 3 = 24.
  5. Step 5Check: 72 ÷ 24 = 3 and 120 ÷ 24 = 5; 3 and 5 share no factor ✓

Answer: HCF = = 24

Example 3

HCF of three numbers

Find the HCF of 36, 54 and 90.
Show the solution
  1. Step 136 = .
  2. Step 254 = .
  3. Step 390 = .
  4. Step 4Primes in all three: 2 and 3. Lowest indices: and .
  5. Step 5HCF = 2 × 9 = 18.

Answer: HCF = 18

Example 4

Akweley's strips

Akweley has two pieces of paper, 24 cm and 30 cm wide. She wants to cut both into strips of equal width, as wide as possible, with nothing wasted. How wide should each strip be, and how many strips will she get altogether?
Show the solution
  1. Step 1The width must divide 24 and 30 exactly and be as large as possible, so we need the HCF.
  2. Step 224 = and 30 = 2 × 3 × 5, so HCF = 2 × 3 = 6 cm.
  3. Step 3Strips: 24 ÷ 6 = 4 and 30 ÷ 6 = 5.
  4. Step 4Altogether: 4 + 5 = 9 strips.

Answer: Each strip 6 cm wide; 9 strips altogether

Example 5

When will they meet again? (LCM)

Baba exercises every 12 days and Serwa every 8 days. Both exercised today. After how many days will they next exercise on the same day?
Show the solution
  1. Step 1Repeating events meeting again → LCM.
  2. Step 212 = and 8 = .
  3. Step 3Take every prime with its highest index: and .
  4. Step 4LCM = 8 × 3 = 24.

Answer: 24 days

Summary

  • Write each number as a product of prime factors in index form first.
  • HCF = product of the COMMON primes, each with its LOWEST index.
  • LCM = product of ALL the primes, each with its HIGHEST index.
  • The HCF divides every number, so it is never bigger than the smallest number.
  • Use HCF to cut/share into the largest equal parts; use LCM for events that repeat and meet again.

Practice: 15 questions

5 easy, 5 medium, 5 hard. Each one is marked straight away, with a full worked solution.

You can practise without an account, but sign up free or sign in to save your progress.

1 easy
List the factors of 12 and of 18. What is their HCF?
2 easy
24 = and 30 = 2 × 3 × 5. What is the HCF of 24 and 30?
3 easy
Find the HCF of and . Give your answer as a number.
4 easy
Which statement about the HCF is correct?
5 easy
Find the HCF of 15 and 20.
6 medium
Using prime factors, find the HCF of 72 and 120.
7 medium
Find the HCF of 36, 54 and 90.
8 medium word problem
Akweley has two pieces of paper 24 cm and 30 cm wide. She cuts both into strips of equal width, as wide as possible, with no paper left over. How wide is each strip?
cm
9 medium
Which is the HCF of 180 and 252 in index form?
10 medium word problem
Baba exercises every 12 days and Serwa every 8 days. They both exercised today. After how many days will they next exercise on the same day?
days
11 hard word problem
A trader at Makola has 48 oranges and 72 mangoes. She wants to make identical parcels, each with the same number of oranges and the same number of mangoes, using all the fruit, and as many parcels as possible.
  1. (a) What is the greatest number of parcels she can make?

  2. (b) How many oranges are in each parcel?

  3. (c) How many mangoes are in each parcel?

12 hard
Kwabena says the HCF of and is = 120. What is wrong?
13 hard
Find the HCF of , and . Give your answer as a number.
14 hard word problem
A carpenter in Kumasi has three planks 84 cm, 126 cm and 210 cm long. He cuts them all into pieces of the same length, as long as possible, with no wood wasted.
  1. (a) What is the length of each piece (in cm)?

    cm
  2. (b) How many pieces does he get altogether?

15 hard
Consider 60 and 84.
  1. (a) Find the HCF of 60 and 84.

  2. (b) Find the LCM of 60 and 84.

  3. (c) Find HCF × LCM.