Kolton Ndoj

Infinitely many primes

No list of primes can ever be complete, because from any list you can build a number that needs a new one.

N=p1p2⋯pk+1N=p_1p_2\cdots p_k+1

What the symbols mean

p1,…,pkp_1,\dots,p_k
any finite list of primes you claim is complete
NN
a number that no prime on your list divides

Why it works — the picture

Multiply every prime on your supposed complete list and add 1. Divide N by any prime on the list: the product part divides evenly, so you always get remainder 1. So none of your primes divides N. But N is either a prime itself or has a prime factor, and that prime is not on your list. The list was incomplete after all.

Try it yourself

Where it’s used in real life

The infinitude of primes is what makes encryption keys possible: there is always a bigger prime to pick.

The story behind it

Proved by Euclid in the Elements around 300 BCE.

Related

Play with it live →

Math · Number theory · Intermediate