factsmate.
◆ Science · Mathematics

Euclid proved the primes never run out — 2,300 years ago

40 sec read

One of the oldest proofs in mathematics shows the prime numbers go on forever.

Verified · MacTutor History of Mathematics

Primes — numbers like 2, 3, 5, 7, 11 divisible only by 1 and themselves — grow rarer as you count higher. Yet they never stop. Around 300 BC, in Book IX of his Elements, Euclid proved there are infinitely many of them, in one of the first arguments ever to use proof by contradiction.

Suppose the primes were finite, a complete list. Multiply them all together and add 1. The resulting number leaves a remainder of 1 when divided by every prime on the list — so none of them divides it.

That means a prime is missing from your supposedly complete list, a contradiction. The list can never be finished.

Euclid couldn’t write ‘infinitely many’ — the Greeks phrased it as primes being more than any assigned multitude.

~300 BC
Euclid's Elements, Book IX
primes that exist

Sources & references

2 references

Well-established. Corroborated by 2 independent sources.

1 MacTutor History of Mathematics University archive “In Book IX of the Elements, Euclid proves that there are infinitely many prime numbers. This is one of the first proofs known which uses the method of contradiction.” mathshistory.st-andrews.ac.uk ↗
2 The Prime Pages Mathematics reference “Let P = p1p2...pr+1 and let p be a prime dividing P; then p cannot be any of p1, p2, ..., pr, otherwise p would divide the difference P − p1p2...pr = 1, which is impossible.” t5k.org ↗
✓ Last reviewed Jun 6, 2026

More like this