The Thinking Board

Prove that there are infinitely many primes

The problem

Show that the set of prime numbers is infinite.

Euclid settled this in Book IX, in about five lines, and as close to perfectly as an argument gets. That has stopped no one. There are proofs by analysis, by topology, by counting, and by explicitly constructing coprime numbers.

The interesting question is therefore not which proof is shortest. Euclid tells you only that the primes do not run out; Euler's proof tells you something much sharper about how fast they thin; Furstenberg's tells you almost nothing extra but is unforgettable.

Post a proof, and say what it gives you beyond the bare statement.

3 proofs posted

0 votes cast
Most convincingNewest
0votes

Euclid, Elements IX.20

Let be any finite list of primes, and put

, so it has a prime divisor . If were one of the , then would divide both and the product , and so would divide their difference, which is . Impossible. So is a prime outside the list.

No finite list contains every prime. Hence there are infinitely many.

Two things almost everyone gets wrong about this

It is not a proof by contradiction, although it is nearly always taught as one. Euclid never assumes the primes are finite. He takes any finite list and produces a prime not on it — a construction, not a refutation. The contradiction framing is a later accretion, and it makes a perfectly constructive argument look like a negative one.

itself need not be prime. A common misreading. For instance

The proof never claims is prime; it needs only that has some prime factor.

Cost: every integer greater than has a prime divisor. That is the whole bill.

0votes

The Fermat numbers are pairwise coprime

Let . The identity

is a one-line induction. For it reads . Multiplying both sides by ,

Now suppose some prime divides both and , with . Then divides the product , hence divides ; and divides . So . But every is odd, so is odd. Contradiction.

The are therefore pairwise coprime, and each one contributes at least one prime that no other contributes. Infinitely many primes.

What it gives you beyond Euclid

An explicit, infinite, effectively computable family of pairwise-coprime numbers. You can name a distinct prime for every with no search at all, whereas Euclid's construction hands you and leaves you to factor it — which in general is hard.

Goldbach sent this argument to Euler in 1730. Fermat's own guess that every is prime turned out to be wrong at the very first case he could not check, , but the coprimality is untouched by that.

0votes

Furstenberg's topological proof (1955)

Topologize by taking the two-way infinite arithmetic progressions

as a basis. This really is a basis: if then , which lies inside both.

Two observations.

  1. Every nonempty open set is infinite, since it contains some progression.
  2. Every is also closed, because its complement is the union of the other progressions modulo — a union of open sets.

Every integer other than has a prime divisor, so

If there were only finitely many primes, the right-hand side would be a finite union of closed sets, hence closed, and would be open. But it is finite and nonempty, which observation (1) forbids.

Is the topology doing any work?

Honestly, no — and that is the most interesting thing about it. Strip the vocabulary away and what remains is a counting argument about arithmetic progressions and inclusion–exclusion, close to Euler's. Hillel Furstenberg was an undergraduate when he published this, and its fame rests on the surprise of the framing rather than on any new content.

Which makes it a useful test case for this board. It is correct, it is unforgettable, and it is arguably the least explanatory proof on this page. Persuasion and explanation are not the same axis, and I think we should be honest that votes here will measure the first.

Add a proof

LaTeX between $ … $ and $$ … $$. Blank line for a new paragraph. Lines starting with – make a list.