MathLabs
TheoremProved

Fundamental theorem of arithmetic

Statement

Every integer n>1n>1 can be written as a product of primes, n=p1a1p2a2⋯pkakn=p_1^{a_1}p_2^{a_2}\cdots p_k^{a_k}, and this factorization is unique up to the order of the factors.

Why is it true?

Primes are the indivisible 'atoms' of multiplication. Existence follows by repeatedly splitting off a smallest prime factor; uniqueness follows because a prime dividing a product must divide one of the factors (Euclid's lemma), which rules out two genuinely different factorizations of the same number.

Proof sketch

Existence: strong induction on nn — every n>1n>1 is either prime, or a product of two smaller integers >1>1, each of which factors into primes by the induction hypothesis. Uniqueness: from Euclid's lemma (p∣ab⇒p∣ap\mid ab\Rightarrow p\mid a or p∣bp\mid b, itself derived from Bézout's identity), repeatedly cancel matching primes from two supposed factorizations of the same nn until both sides are exhausted, forcing them to agree.

Stated by

Proved by

Topics that use this theorem

Related theorems

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. Carl Friedrich Gauss (trans. Arthur A. Clarke) (1986). Disquisitiones Arithmeticae
  2. G. H. Hardy, E. M. Wright (2008). An Introduction to the Theory of Numbers · DOI:10.1093/oso/9780199219858.001.0001