← All topics
Theorem

The primes never run out

No matter how many primes you've found, there is always another one. Proven ~2,300 years ago and still airtight.
Formally: Infinitude of primes (Euclid)number theoryModeratedepth 4 in the graph

Suppose you claim to hold ALL the primes in a finite list. Multiply them together and add 1. That new number leaves remainder 1 when divided by every prime on your list — yet it must have SOME prime divisor. So your list was incomplete. Any finite list fails, which is exactly what 'infinite' means. It's one of the most elegant arguments in all of mathematics: it doesn't find primes, it shows your net can never catch them all.

A wanted-poster wall claiming to show every outlaw; the proof is a machine that studies the wall and always sketches a face that isn't on it.

List: 2, 3, 5. Then 2×3×5 + 1 = 31 — prime, and not on the list. List: 2,3,5,7,11,13 → product+1 = 30031 = 59 × 509: not prime itself, but its prime factors 59 and 509 are new. Either way you win.

Beyond its beauty, it guarantees cryptography never runs out of raw material — there are always fresh large primes to build keys from.

Level 1 The precise statement

There are infinitely many prime numbers.

Level 2 The proof
Given any finite list of primes p_1, ..., p_k, form N = p_1 * ... * p_k + 1. By lem-prime-divisor N has a prime divisor q. If q were some p_i then q | N and q | (N - 1) = product, so by lem-divides-linear q | 1, impossible. Thus q is a new prime, so no finite list is complete: the primes are infinite.
Level 3 What it stands on (4 direct)
Level 4 The verified record

This page is generated from a machine-checked node. The kernel confirms its dependencies resolve, nothing is circular, and it grounds in axioms (foundation: ZFC). The content hash below makes tampering evident.

sha256:a0d6ba197abb78ff74c9e2035c8356fc33f0e634241329b89d2eaae836d687db

References: Euclid, Elements, Book IX, Proposition 20

1 downstream result would collapse with it. See the blast radius on the graph →

🔬 Open in the workbench🎓 More topics