MathLabs
TheoremProved

Euclid's proof of the infinitude of primes

Statement

There are infinitely many prime numbers.

Why is it true?

It is impossible to directly list infinitely many primes to verify the claim, so contradiction instead assumes a finite complete list exists and manufactures, from that very list, a number that exposes the list as incomplete.

Proof sketch

Suppose, for contradiction, that there are only finitely many primes, and let p1,p2,…,pnp_1, p_2, \dots, p_n be the complete list of all of them.

Consider the number N=p1p2⋯pn+1N = p_1 p_2 \cdots p_n + 1. Since N>1N > 1, it must have at least one prime divisor; call it pp (every integer greater than 11 has a prime factor).

By assumption, p1,…,pnp_1, \dots, p_n is the list of all primes, so pp must equal pip_i for some ii. In particular, pp divides the product p1p2⋯pnp_1 p_2 \cdots p_n.

But pp also divides N=p1p2⋯pn+1N = p_1 p_2 \cdots p_n + 1. If pp divides both p1p2⋯pnp_1 p_2 \cdots p_n and NN, then pp divides their difference: p∣(N−p1p2⋯pn)=1p \mid \big(N - p_1 p_2 \cdots p_n\big) = 1.

No prime number can divide 11, since every prime is greater than 11. This is a contradiction. Therefore the original assumption — that there are only finitely many primes — must be false, so there are infinitely many primes.

Topics that use this theorem

Step-by-step proofs

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