Prime-count Wave Plot
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.
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.
Move s with the sliders or by clicking the left plane, and watch where ζ(s) lands on the right. On the critical line, the trace on the right swings back through 0 at every nontrivial zero.
Values are computed in your browser with Borwein's method for the alternating series, accurate to about ten digits across this range. ζ(s) is never exactly 0 on a slider stop, because the zeros are irrational; a zero shows as a value within 0.001 of 0, marked in color.
At s = 1 the function has a pole: it grows without bound, so the ζ(s) readout says "pole" there.