The Riemann Hypothesis at Your Fingertips: An Interactive Explorer

Prime-count Wave Plot

Counting primes with the zeros

The sky-blue staircase counts the primes up to x: it steps up by 1 at every prime. Point at it, or tap on a phone, to read the count and the prime there. The dashed curve is Riemann's smooth estimate. Each nontrivial zero adds one wave to that estimate, and as you add more zeros, the navy curve bends into the staircase.

Primes up to x, π(x) Smooth estimate R(x), no zeros Smooth estimate plus 10 waves
Each zero ½ + it adds a wave that wiggles faster the larger t is. Two hundred zeros pick out every step up to 100.
Past x = 100, two hundred zeros start to blur the closest steps; more zeros would sharpen them again.

This uses Riemann's explicit formula: π(x) ≈ R(x) − Σ R(xρ) − 1/ln x + arctan(π/ln x)/π, summed over the zeros ρ = ½ ± it you choose. The zeros' heights come from published tables; the waves are computed in your browser. If a zero ever left the critical line, its wave would grow faster than the others, and the staircase would stray further from the smooth curve.