Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 8 Maths Working with Numbers

Prime Factors

20 practice questions 2 video lessons Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Prime Factors - Video - Prime Factorization Explained! Watch
  • Prime Factors - Video - Prime factor trees - finding HCF + LCM Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A prime number has exactly two factors, \(1\) and itself. Every whole number greater than \(1\) is a product of primes in exactly one way: \(240 = 2^4 \times 3 \times 5\). This Year 8 maths page shows how to find prime factors and use them for the HCF, the LCM, division and roots.

A prime number can only be divided exactly by \(1\) and itself, such as \(2, 3, 5, 7, 11\). (\(1\) is not prime.)

Repeated division. Divide by the smallest prime that works, over and over, until you reach \(1\). Factor tree: split into any factor pair and keep splitting until every branch ends in a prime. Both give the same primes. Write them in index form, smallest prime first, and check by multiplying back.

HCF (highest common factor): use only the primes that every number has, each with the smaller index. LCM (lowest common multiple): use every prime that appears, each with the larger index.

In problems, the HCF is the largest equal share or longest equal piece; the LCM is the first time two cycles meet again, or the smallest length both numbers fit into exactly.

Dividing takes primes away, so subtract the indices: \(\dfrac{2^5 \times 7^3}{2^2 \times 7} = 2^3 \times 7^2\).

Roots. A square root splits the primes into two equal groups, so halve every index. A cube root divides every index by \(3\). A square number has every index even; a cube number has every index a multiple of \(3\): \(2^4 \times 5^2 = 400 = 20^2\).

Factor tree for 350 A factor tree: 350 splits into 10 and 35; 10 splits into 2 and 5; 35 splits into 5 and 7. The primes 2, 5, 5 and 7 are circled. 350 10 35 2 5 5 7
Split \(350\) into any factor pair and keep going until every branch ends in a prime (circled): \(350 = 2 \times 5^2 \times 7\).
Prime factors of 40 and 108 A Venn diagram. 40 only: 2 and 5. Both: 2 and 2. 108 only: 3, 3 and 3. HCF = 2 × 2 = 4; LCM = all of them multiplied = 1080. 40108 2522333 HCF = 2 × 2 = 4; LCM = 1080
\(40 = 2^3 \times 5\) and \(108 = 2^2 \times 3^3\). The shared primes give the HCF, \(2 \times 2 = 4\). Every prime in the diagram multiplied gives the LCM, \(1080\).

Using prime factors (index form):

To findUse
HCFshared primes only, smaller index
LCMevery prime, larger index
a quotientsubtract the indices
a square roothalve every index
a cube rootdivide every index by 3
The LCM takes the larger index, not the sum. For \(5^4\) and \(5^2\) the LCM has \(5^4\).
Halve the index, not the number. \(\sqrt{2^6} = 2^3 = 8\).

How to write a number as a product of primes

  1. Divide by \(2\) as many times as you can, then \(3\), then \(5\), and so on.
  2. Stop when you reach \(1\).
  3. Write the primes you divided by in index form and check.

How to find the HCF and LCM

  1. Write each number in index form.
  2. HCF: shared primes, smaller index. LCM: all primes, larger index.
  3. Check: the LCM divides by both numbers.
Example 1 — Repeated division
Write \(240\) as a product of its prime factors.
Solution
\(240\)\(=\)\(2 \times 120\)
\(\)\(=\)\(2 \times 2 \times 60\)
\(\)\(=\)\(2 \times 2 \times 2 \times 30\)
\(\)\(=\)\(2 \times 2 \times 2 \times 2 \times 15\)
\(\)\(=\)\(2^4 \times 3 \times 5\)
240=2×3×5

\(240 = 2^4 \times 3 \times 5\). Check: \(16 \times 15 = 240\).

Example 2 — HCF from primes
What is the highest common factor of \(42\) and \(63\)?
Solution
\(42\)\(=\)\(2 \times 3 \times 7\)
\(63\)\(=\)\(3 \times 3 \times 7\)
shared primes 3 and 7, HCF =21

The shared primes are \(3\) and \(7\), so the HCF is \(3 \times 7 = 21\).

Example 3 — Primes, then divide
(i) Write \(1500\) in index form.
(ii) Use it to work out \(1500 \div 60\).
Solution

(i) \(1500 \div 2 = 750\), \(\div 2 = 375\), \(\div 3 = 125\), \(\div 5 = 25\), \(\div 5 = 5\), \(\div 5 = 1\).

\(1500\)\(=\)\(2^2 \times 3 \times 5^3\)
\(\dfrac{2^2 \times 3 \times 5^3}{2^2 \times 3 \times 5}\)\(=\)\(5^2 = 25\)
1500=2×3×51500÷60=5=25

(i) \(2^2 \times 3 \times 5^3\)
(ii) \(60 = 2^2 \times 3 \times 5\), so \(1500 \div 60 = 25\)

Example 4 — HCF and LCM
Find the HCF and the LCM of \(132\) and \(180\).
Solution
\(132\)\(=\)\(2^2 \times 3 \times 11\)
\(180\)\(=\)\(2^2 \times 3^2 \times 5\)
\(\text{HCF}\)\(=\)\(2^2 \times 3 = 12\)
\(\text{LCM}\)\(=\)\(2^2 \times 3^2 \times 5 \times 11 = 1980\)
HCF 12, LCM 1980

HCF \(= 12\), LCM \(= 1980\). Check: \(1980 \div 132 = 15\) and \(1980 \div 180 = 11\).

Example 5 — Roots without a calculator
Evaluate
(i) \(\sqrt{1296}\)
(ii) \(\sqrt[3]{2744}\)
Solution
\(\sqrt{2^4 \times 3^4}\)\(=\)\(2^2 \times 3^2 = 36\)
\(\sqrt[3]{2^3 \times 7^3}\)\(=\)\(2 \times 7 = 14\)
1296=362744=14

(i) \(1296 = 16 \times 81 = 2^4 \times 3^4\), so \(36\)
(ii) \(2744 = 8 \times 343 = 2^3 \times 7^3\), so \(14\)

Example 6 — Making a cube and a square
\(675 = 3^3 \times 5^2\).
(i) What is the smallest whole number that multiplies \(675\) to a cube number?
(ii) What is the smallest whole number you can divide \(675\) by to leave a square number?
Solution
\(675 \times 5\)\(=\)\(3^3 \times 5^3 = 15^3\)
\(675 \div 3\)\(=\)\(3^2 \times 5^2 = 15^2\)
multiply by 5 to get 3375=15 divide by 3 to get 225=15

(i) \(5\) (the \(5^2\) needs one more \(5\)): \(3375 = 15^3\)
(ii) \(3\) (the \(3^3\) has an odd index): \(225 = 15^2\)

Common pitfalls

Stopping at a number that is not prime. \(2 \times 2 \times 15\) is not finished: \(15 = 3 \times 5\).
Adding indices for the LCM. That gives the product of the numbers, not the LCM.
Putting a prime from only one number in the HCF. \(22 = 2 \times 11\) and \(26 = 2 \times 13\) share only \(2\).
Calling 1 a prime. A prime has exactly two factors; 1 has only one.

Frequently asked questions

What is a prime number?

A whole number greater than 1 whose only factors are 1 and itself, such as 2, 3, 5, 7 and 11.

How do you write a number as a product of prime factors?

Divide by the smallest prime that works, again and again, until you reach 1: \(60 = 2^2 \times 3 \times 5\).

How do you find the HCF using prime factors?

Multiply the primes both numbers share, using the smaller index of each.

How do you find the LCM using prime factors?

Multiply every prime that appears, using the larger index of each.

How can prime factors help find a square root?

Halve every index: \(\sqrt{2^4 \times 3^2} = 2^2 \times 3 = 12\).