T TestsWorld School
Lesson 2 of 9 Prime factorisation (Fundamental Theorem of Arithmetic) ⏱ 5 min

The Fundamental Theorem of Arithmetic

🤔
Think first
Can 6ⁿ ever end in a 0?
🎯 In this lesson you'll learn
  • ✓The Fundamental Theorem of Arithmetic
  • ✓Using it to answer 'can it end in 0?' questions

Fundamental Theorem of Arithmetic: every composite number can be written as a product of primes, and this factorisation is unique, apart from the order of the factors.

So 360 is 2³ × 3² × 5 and nothing else. Writing the primes in ascending order makes the factorisation look the same every time.

A version of this theorem appears as Proposition 14 of Book IX of Euclid's Elements; the first correct proof was given by Carl Friedrich Gauss (1777–1855) in his Disquisitiones Arithmeticae.

Book Example 1: can 4ⁿ end in 0? 4ⁿ = 2²ⁿ has only the prime 2, never 5, so no.

A classic use: can 6ⁿ end with the digit 0 for any natural number n?

For a number to end in 0 it must be divisible by 10 = 2 × 5, so its prime factors must include 5. But 6ⁿ = 2ⁿ × 3ⁿ has only 2 and 3 as prime factors. By uniqueness, 5 can never appear. So 6ⁿ never ends in 0.

The same argument works for 4ⁿ, 12ⁿ and any number without 5 as a prime factor.

10ⁿ = 2ⁿ × 5ⁿ25has 2 and 5: ends in 06ⁿ = 2ⁿ × 3ⁿ23no 5: never ends in 04ⁿ = 2²ⁿ2no 5: never ends in 0

Tap the diagram to enlarge it

Only a number with both 2 and 5 among its primes can end in 0.
✨
Did you know?
Internet security (RSA) relies on how hard it is to find the prime factors of very large numbers.
📌 Remember these
  1. Prime factorisation is unique
  2. Ending in 0 needs both 2 and 5
  3. 6ⁿ, 4ⁿ, 12ⁿ never end in 0
✅ Quick check
← →