Theorem. Euclid’s infinitude of primes [01FZ]
- November 1, 2026
- Marcelo Fiore, Jon Sterling
The set of prime numbers is infinite.
Proof.
- November 1, 2026
- Marcelo Fiore, Jon Sterling
We will use proof by contradiction. In particular, suppose that the set of primes is finite, and let p_1,\ldots ,p_\ell be the collection of all primes. When then consider the natural number p \coloneqq p_1\cdot \ldots \cdot p_\ell + 1 which we know not to be in the list because it is strictly greater than any p_i. By the prime factorisation existence lemma, p is a product of primes, and so there must exist some p_i in our list of all primes such that p_i\mid p. Because p_i\mid {\mathopen {}\left (p_1\cdot \ldots \cdot p_\ell \right )\mathclose {}}, it also divides their difference p-{\mathopen {}\left (p_1\cdot \ldots \cdot p_\ell \right )\mathclose {}} = 1, so we have p\mid 1, but this is contradictory as p\geq 1.