Kolton Ndoj

Euler's prime product

A sum over every whole number equals a product over only the primes.

∑n=1∞1ns=∏p prime11−p−s\sum_{n=1}^{\infty}\frac1{n^{s}}=\prod_{p\text{ prime}}\frac{1}{1-p^{-s}}

What the symbols mean

ss
a number bigger than 1
pp
each prime in turn
∏\prod
multiply them all together

Why it works — the picture

Each factor 1/(1 - p^(-s)) is a geometric series: 1 + p^(-s) + p^(-2s) + ... Multiply these series for 2, 3, 5, 7, ... and expand. Every term is 1 over a product of prime powers, like 1/(2^a 3^b 5^c)^s, and since every whole number factors into primes in exactly one way, each 1/n^s appears exactly once. The product is the sum in disguise. It also proves at s = 1 that the primes cannot be sparse enough to make the harmonic series stop.

Try it yourself

Where it’s used in real life

It is the first link between primes and analysis, and the starting point of the Riemann hypothesis, the most famous unsolved problem about primes.

The story behind it

Euler found it in 1737.

Related

Play with it live →

Math · Number theory · Stretch