Maths · Ch 1 · Topic 2 of 6Prime factorisation
Topic 2 of 6

The Fundamental Theorem of Arithmetic

About 50 minutes · 3 things to learn
By the end you can…
  • State the Fundamental Theorem of Arithmetic and express any composite number as a product of primes (factor tree or repeated division).
  • Explain why the prime factorisation is unique, apart from the order of the factors.
  • Use prime factorisation to decide whether a number such as 6ⁿ can end in 0, and to show that a number is composite.

Water is always H₂O — two hydrogen atoms and one oxygen atom, never anything else. Whole numbers behave the same way. Every number bigger than 1 is either a prime or is built from primes, and its "formula" never changes: 60 is always two 2s, one 3 and one 5, however you break it up. That single fact — called the Fundamental Theorem of Arithmetic — is the engine of this whole chapter.

Primes are the building blocks

Start with a few primes, say 2, 3 and 7, and multiply them in different ways, repeating them as often as you like:

2×3=62×2×7=283×3×7=632×3×3×7=1262 \times 3 = 6 \qquad 2 \times 2 \times 7 = 28 \qquad 3 \times 3 \times 7 = 63 \qquad 2 \times 3 \times 3 \times 7 = 126

Every product is a composite number. Now go the other way: can every composite number be built like this? Yes. Take any composite number and split it into two smaller factors. If a factor is still composite, split it again. The numbers keep getting smaller, so the splitting must stop — and it can only stop at primes.

Two ways to take a number apart

Factor tree. Write the number at the top. Split it into any two factors (not 1 and itself). Keep splitting every composite branch. The primes at the ends of the branches — the leaves — are the prime factors.

Repeated division (the "ladder"). Divide by the smallest prime that goes in exactly, write the quotient underneath, and repeat until you reach 1. Work up through 2, 3, 5, 7, 11, … The divisors down the left side are the prime factors.

Both methods give the same answer. The ladder is tidier for big numbers; the tree is quicker when you can spot a large factor.

The theorem

The theorem says two things:

  1. Existence — every composite number can be written as a product of primes (you just saw why).
  2. Uniqueness — there is only one such product. 2×3×52 \times 3 \times 5 and 5×2×35 \times 2 \times 3 count as the same factorisation; changing the order is allowed, but you can never get a different set of primes or a different number of each.

We usually write the primes in ascending order with exponents, for example 1260=22×32×5×71260 = 2^2 \times 3^2 \times 5 \times 7. This is the standard form, and once we agree on it, every number has exactly one.

Why "unique" matters — and why 1 is not prime

Uniqueness is what makes prime factorisation useful. Two people can draw completely different factor trees for the same number and still end up with the same leaves (Worked example 4). If they did not, HCF and LCM in Topic 3 could not be read off from the factorisations.

It also explains why 1 is not counted as a prime. If it were, 6 could be written as 2×32 \times 3, 1×2×31 \times 2 \times 3, 1×1×2×31 \times 1 \times 2 \times 3, … and uniqueness would be lost. Leaving 1 out keeps the theorem true.

Using the theorem

Can a number end in 0? A number ends in 0 exactly when it is divisible by 10, that is, when its prime factorisation contains both 2 and 5. Now look at a power such as 6n6^n:

6n=(2×3)n=2n×3n6^n = (2 \times 3)^n = 2^n \times 3^n

By uniqueness, the only primes in 6n6^n are 2 and 3 — there is no 5, however large n is. So 6n6^n never ends in 0. In general, knk^n has exactly the same primes as k, just with bigger exponents. So knk^n can end in 0 only if k itself has both 2 and 5 among its prime factors.

Is a number composite? A number is composite if it has a factor other than 1 and itself. For expressions like 7×9×11+97 \times 9 \times 11 + 9, do not multiply out. Look for a common factor and take it out:

7×9×11+9=9×(7×11+1)=9×787 \times 9 \times 11 + 9 = 9 \times (7 \times 11 + 1) = 9 \times 78

Both brackets are bigger than 1, so the number has a factor (9) other than 1 and itself: it is composite.

How far do I test? When a factor might be a large prime, test only up to its square root (Topic 1). A large prime factor — like the 37 in Worked example 3 — is perfectly normal.

Visuals

Factor tree and repeated division for 1260 Two ways to find the prime factors of 1260. Factor tree: 1260 in a box splits into 12 and 105; 12 splits into 2 and 6, and 6 into 2 and 3; 105 splits into 3 and 35, and 35 into 5 and 7. The six leaves 2, 2, 3, 3, 5 and 7 are circled: leaves are primes. Repeated division: divide by the smallest prime each time — 2 into 1260 gives 630, 2 into 630 gives 315, 3 into 315 gives 105, 3 into 105 gives 35, 5 into 35 gives 7, 7 into 7 gives 1; the divisor column is highlighted. Result for both: 1260 = 2² × 3² × 5 × 7 — same answer. Factor tree leaves are primes 1260 12 105 2 6 3 35 2 3 5 7 Repeated division divide by the smallest prime each time 2 1260 2 630 3 315 3 105 5 35 7 7 1 divisors stop at 1 1260 = 22 × 32 × 5 × 7 same answer — both methods
Factor tree and division ladder (1260)Shows that both methods give the same prime factors, and how to set each one out.Draw in exam

Worked examples

Worked example 1

A factor tree

Question. Express 1 260 as a product of its prime factors, using a factor tree.

Given: 1 260. Asked: its prime factorisation.

Concept used: split into factors until every branch ends in a prime. Why it applies: 1 260 is composite (it ends in 0).

  1. 1

    Split 1 260 into two factors you can see.

    1260=12×1051260 = 12 \times 105
  2. 2

    Split 12.

    12=2×6=2×2×312 = 2 \times 6 = 2 \times 2 \times 3
  3. 3

    Split 105 (it ends in 5, so 5 is a factor; 105=3×35105 = 3 \times 35).

    105=3×35=3×5×7105 = 3 \times 35 = 3 \times 5 \times 7
  4. 4

    Collect all the leaves.

    1260=2×2×3×3×5×71260 = 2 \times 2 \times 3 \times 3 \times 5 \times 7
  5. 5

    Write in standard form.

    1260=22×32×5×71260 = 2^2 \times 3^2 \times 5 \times 7
  6. Check: 4×9×5×7=36×35=12604 \times 9 \times 5 \times 7 = 36 \times 35 = 1260 ✔. Every factor is prime ✔.

  7. Answer 1260=22×32×5×71260 = 2^2 \times 3^2 \times 5 \times 7

    Common trap: Stopping at 1260=4×9×351260 = 4 \times 9 \times 35. 4, 9 and 35 are composite, so this is not a prime factorisation.

Worked example 2

Repeated division

Question. Find the prime factorisation of 6 552 by repeated division.

Given: 6 552. Asked: its prime factorisation.

Concept used: divide by the smallest prime that goes in exactly, until the quotient is 1. Why it applies: this never misses a factor.

  1. 1

    6 552 is even: divide by 2.

    6552÷2=32766552 \div 2 = 3276
  2. 2

    Still even: divide by 2.

    3276÷2=16383276 \div 2 = 1638
  3. 3

    Still even: divide by 2.

    1638÷2=8191638 \div 2 = 819
  4. 4

    819 is odd. Digit sum 8+1+9=188 + 1 + 9 = 18, so 3 divides it.

    819÷3=273819 \div 3 = 273
  5. 5

    Digit sum of 273 is 12, so 3 divides it again.

    273÷3=91273 \div 3 = 91
  6. 6

    91 is not divisible by 3 or 5. Try 7.

    91÷7=1391 \div 7 = 13
  7. 7

    13 is prime.

    13÷13=113 \div 13 = 1
  8. 8

    Collect the divisors.

    6552=23×32×7×136552 = 2^3 \times 3^2 \times 7 \times 13
  9. Check: 8×9=728 \times 9 = 72, 72×7=50472 \times 7 = 504, 504×13=6552504 \times 13 = 6552 ✔.

  10. Answer 6552=23×32×7×136552 = 2^3 \times 3^2 \times 7 \times 13

    Common trap: Losing count of the 2s. Write each division on its own line, then count: three 2s here, not two.

Worked example 3

A large prime factor

Question. Express 1 702 as a product of primes.

Given: 1 702. Asked: its prime factorisation.

Concept used: repeated division, testing primes only up to the square root of what is left. Why it applies: after taking out 2, the quotient has no small factors.

  1. 1

    1 702 is even.

    1702÷2=8511702 \div 2 = 851
  2. 2

    Now factorise 851. Stopping point: 292=84129^2 = 841 and 302=90030^2 = 900, so test primes up to 29.

  3. 3

    3: digit sum 14 — no. 5 — no. 7: 7×121=8477 \times 121 = 847, remainder 4 — no. 11: 8−5+1=48 - 5 + 1 = 4 — no.

  4. 4

    13: 13×65=84513 \times 65 = 845, remainder 6 — no. 17: 17×50=85017 \times 50 = 850, remainder 1 — no. 19: 19×44=83619 \times 44 = 836, remainder 15 — no.

  5. 5

    23: try it.

    851÷23=37851 \div 23 = 37
  6. 6

    37 is prime (not divisible by 2, 3 or 5, and 72=49>377^2 = 49 > 37).

  7. 7

    Collect the factors.

    1702=2×23×371702 = 2 \times 23 \times 37
  8. Check: 23×37=85123 \times 37 = 851 and 2×851=17022 \times 851 = 1702 ✔.

  9. Answer 1702=2×23×371702 = 2 \times 23 \times 37

    Common trap: Giving up after 7 or 11 and writing "1702=2×8511702 = 2 \times 851". 851 is composite — keep testing up to its square root.

Worked example 4

Two trees, one answer

Question. Arjun starts a factor tree for 2 160 with 40×5440 \times 54. Meera starts with 16×13516 \times 135. Show that they reach the same prime factorisation.

Given: two different first splits of 2 160. Asked: both factorisations.

Concept used: uniqueness in the Fundamental Theorem of Arithmetic. Why it applies: the theorem predicts the same primes; we confirm it.

  1. 1

    Arjun: split 40 and 54.

    40=23×5,54=2×3340 = 2^3 \times 5, \qquad 54 = 2 \times 3^3
  2. 2

    Arjun's result (add the exponents of 2: 3+1=43 + 1 = 4).

    2160=23×5×2×33=24×33×52160 = 2^3 \times 5 \times 2 \times 3^3 = 2^4 \times 3^3 \times 5
  3. 3

    Meera: split 16 and 135.

    16=24,135=33×516 = 2^4, \qquad 135 = 3^3 \times 5
  4. 4

    Meera's result.

    2160=24×33×52160 = 2^4 \times 3^3 \times 5
  5. Check: 16×27×5=16×135=216016 \times 27 \times 5 = 16 \times 135 = 2160 ✔.

  6. Answer Both reach 2160=24×33×52160 = 2^4 \times 3^3 \times 5 — different trees, the same leaves.

Worked example 5

Can it end in 0?

Question. Check whether (a) 15n15^n (b) 14n14^n can end with the digit 0 for any natural number n.

Given: two powers. Asked: can either end in 0?

Concept used: a number ends in 0 only if its prime factorisation contains both 2 and 5; by uniqueness, knk^n has the same primes as k. Why it applies: we can read the primes of each power directly.

  1. 1

    (a)

    Factorise the base: 15=3×515 = 3 \times 5.

    15n=(3×5)n=3n×5n15^n = (3 \times 5)^n = 3^n \times 5^n
  2. 2

    By uniqueness, the only primes in 15n15^n are 3 and 5. There is a 5 but no 2.

  3. 3

    Without a factor 2, 15n15^n is not divisible by 10, so it cannot end in 0.

  4. 4

    (b)

    Factorise the base: 14=2×714 = 2 \times 7.

    14n=(2×7)n=2n×7n14^n = (2 \times 7)^n = 2^n \times 7^n
  5. 5

    The only primes are 2 and 7. There is a 2 but no 5, so 14n14^n cannot end in 0.

  6. Check: the first powers: 15,225,337515, 225, 3375 end in 5; 14,196,274414, 196, 2744 end in 4 or 6 — no 0 ✔.

  7. Answer Neither 15n15^n nor 14n14^n ends in 0 for any natural number n.

    Common trap: "14n14^n is even, so it might end in 0." Being even gives the 2, but a 0 at the end needs a 5 as well.

Worked example 6

Showing a number is composite

Question. Explain why (a) 3×5×11×13+113 \times 5 \times 11 \times 13 + 11 (b) 6×5×4×3×2×1+36 \times 5 \times 4 \times 3 \times 2 \times 1 + 3 are composite numbers.

Given: two expressions. Asked: to show each is composite.

Concept used: a composite number has a factor other than 1 and itself; take out a common factor. Why it applies: each sum has a factor that appears in both of its terms.

  1. 1

    (a)

    11 appears in both terms. Take it out.

    3×5×11×13+11=11×(3×5×13+1)3 \times 5 \times 11 \times 13 + 11 = 11 \times (3 \times 5 \times 13 + 1)
  2. 2

    Work out the bracket: 3×5×13=1953 \times 5 \times 13 = 195.

    =11×196= 11 \times 196
  3. 3

    Both factors are greater than 1, so 11 is a factor other than 1 and the number itself. The number is composite.

  4. 4

    (b)

    33 is a factor of both terms. Take it out of the product by removing the 3.

    6×5×4×3×2×1+3=3×(6×5×4×2×1+1)6 \times 5 \times 4 \times 3 \times 2 \times 1 + 3 = 3 \times (6 \times 5 \times 4 \times 2 \times 1 + 1)
  5. 5

    Work out the bracket: 6×5×4×2×1=2406 \times 5 \times 4 \times 2 \times 1 = 240.

    =3×241= 3 \times 241
  6. 6

    3 is a factor other than 1 and the number itself, so the number is composite.

  7. Check: (a) 11×196=215611 \times 196 = 2156 and 3×5×11×13+11=2145+11=21563 \times 5 \times 11 \times 13 + 11 = 2145 + 11 = 2156 ✔. (b) 720+3=723=3×241720 + 3 = 723 = 3 \times 241 ✔.

  8. Answer (a) =11×196= 11 \times 196 (b) =3×241= 3 \times 241 — each has a factor other than 1 and itself, so each is composite.

    Common trap: Calling a number composite "because it is big" or "because it is odd". You must show an actual factor other than 1 and the number.

6 examples · they get harder as you go

Quick check

Answer without scrolling up
Quick check · 1 of 3MCQ1 mark

The prime factorisation of 180 is:

Quick check · 2 of 3Very short answer1 mark

Can 21n21^n end with the digit 0 for some natural number n? Give a reason.

Quick check · 3 of 3Very short answer1 mark

Express 3 120 as a product of primes in exponent form.

Key points

  • Fundamental Theorem of Arithmetic: every composite number is a product of primes, and this factorisation is unique apart from the order of the factors.
  • Find it with a factor tree or repeated division; write it in standard form — primes in ascending order with exponents.
  • Always multiply back to check, and make sure every factor is prime (1 is not prime).
  • knk^n has exactly the same primes as k. A number ends in 0 only if its factorisation contains both 2 and 5.
  • To show a number is composite, exhibit a factor other than 1 and itself — often by taking out a common factor.
My notesComing soon