Euler Hall — free maths guides

Write a composite number as a product of primes

Write a composite number as a product of primes. The idea in plain words, a worked example, and a check with the answers shown — part of the free Arithmetic guides.

Break it into primes, then keep going

A prime factorisation writes a number as a product where every factor is prime. Start with any factor pair and keep splitting until nothing can be split again.

For 24:24=4×624 = 4 \times 6, then4=2×24 = 2 \times 2 and6=2×36 = 2 \times 3, so24=2×2×2×324 = 2 \times 2 \times 2 \times 3.

The order you split in does not matter. The primes at the end are always the same.

Why the primes come out the same every time

Every composite factor can be split further, so the process always ends at primes. And a prime cannot be split, so no prime can appear or vanish depending on the route.

That is the content of the statement that prime factorisation is unique. It is what makes the primes the true building blocks of the whole numbers.

Worked example

Write 60 as a product of primes.

Step 1: 60 is even, so split off 2:60=2×3060 = 2 \times 30. Step 2: 30 is even, so split off 2:60=2×2×1560 = 2 \times 2 \times 15. Step 3: 15 ends in 5, so split off 5:60=2×2×5×360 = 2 \times 2 \times 5 \times 3. Step 4: every factor is prime, so the process stops.

60=2×2×3×560 = 2 \times 2 \times 3 \times 5

By the end you can
  • Write a composite number as a product of primes
  • Count the prime factors of a number, including repeats
  • Explain why the prime factorisation is the same whatever route you take
Check yourself
  1. 1. Write 20 as a product of primes.
  2. 2. Write 27 as a product of primes.
  3. 3. Is2×92 \times 9 a prime factorisation of 18?
Answers
  1. 1.2×2×52 \times 2 \times 5.
  2. 2.3×3×33 \times 3 \times 3.
  3. 3. No: 9 is not prime. The prime factorisation is2×3×32 \times 3 \times 3.
Work out where to start — free, no accountAnswer six real questions — free, no account