The Fundamental Theorem of Arithmetic
Why is the only way to write as a product of primes? Why not, say, ? The answer is that and themselves break apart into primes; once you push everything down to primes, the list is unique. This is the Fundamental Theorem of Arithmetic (FTA), and it is the bedrock of number theory.
Definitions
A natural number is prime if its only positive divisors are and . The first few primes are . A number that is not prime is called composite.
A prime factorisation of an integer is an expression where are primes and the exponents are positive integers.
Theorem and idea of proof
Fundamental Theorem of Arithmetic. Every integer can be written as a product of primes, and this factorisation is unique except for the order of the factors.
The statement has two parts: existence (there is some way to write as a product of primes) and uniqueness (there is only one such way once we sort the primes in increasing order).
Existence follows by repeated splitting. If is prime, we are done. Otherwise with . Apply the same step to and . The process must stop because at each stage the factors strictly decrease but remain . The leaves of this "factor tree" are primes.
Uniqueness is the deeper half. Suppose where all and are primes. The key lemma , sometimes called Euclid's lemma , says: if a prime divides a product , then or . Applying this to , we conclude that equals one of the . Cancel and continue. Both lists shrink at the same rate and turn out to be identical (after re-ordering).
The theorem has immediate consequences. Two integers can be compared by comparing their prime exponent vectors. The divisors of are exactly the numbers with , so the number of divisors is . The square divisors of , the structure of , and the irrationality of all sit on this foundation.
Finally, FTA tells us that primes are the atoms of the multiplicative world. Just as in chemistry every molecule is built from atoms in one way, every positive integer is built from primes in one way. That is why so much of modern cryptography (RSA, for example) hides a secret inside a hard-to-factor product of two enormous primes.
Worked examples
Example 1. Find the prime factorisation of .
Divide by the smallest primes in turn.
Example 2. Factorise into primes.
ends in , so divide by : . Check: , and . So .
Example 3. Show that is a composite number.
Factor out: . Because the expression has more than one prime factor, it is composite.
Example 4. How many positive divisors does have?
First factorise: . Number of divisors .
Example 5. Can the number end in the digit for any natural number ?
If ended in , then , so . By FTA the only prime factors of are and . Hence . So can never end in .
Try it yourself
- Express each as a product of primes: , , , .
- Without computing, decide whether can end in for some .
- How many divisors does have?
- Find the prime factorisation of .
- Is prime or composite? Justify using FTA.
- Show that is composite.
- If is prime and , must ? Why?
- List all positive divisors of using its prime factorisation.
- Find the smallest natural number that has exactly positive divisors.
- If (distinct primes), how many divisors does have?
Pitfalls / Insight
- is not a prime , it has only one divisor, not two. Many students wrongly include in factor lists.
- Order matters only as bookkeeping. ; FTA cares only about which primes and how many of each.
- "Factorise" means push down to primes, not just split into any two factors. is not a prime factorisation; is.
Insight. Think of an integer as a vector of exponents. in primes . Multiplication adds vectors, division subtracts them, and the gcd/lcm become coordinate-wise min/max. The whole chapter is just linear algebra on these exponent vectors.