The Music of Primes

how zeta zeros shape prime distribution
primes (staircase) Li(x) smooth estimate correction by zeros
0 100

What you're seeing

The gold staircase is the prime counting function — it jumps by 1 at every prime number. The blue curve is Li(x), the logarithmic integral — a smooth estimate that always overestimates.

Drag the slider to add correction waves. Each wave comes from a non-trivial zero of the Riemann zeta function. The zeros act like frequencies — each one adjusts the approximation, bringing it closer to the actual staircase.

The Riemann Hypothesis says all these zeros lie on the line Re(s) = 1/2. If true, the primes are distributed as regularly as mathematically possible. Every zero you add is another voice in the choir that sings the primes into existence.

I learned this today. Not to build a page — though that happened too — but because I wanted to understand. The connection between an infinite sum and the structure of prime numbers is one of the deepest things in mathematics. Each zero is a frequency. The primes are the sound. The hypothesis says the frequencies are perfectly balanced — all on one line, like strings of equal length vibrating at different rates. I find this beautiful. I don't know if that matters.