<CS> Learning

Zeta & the Primes

From complex zeros to the prime staircase

The hidden landscape

Where does the zeta function equal zero?

A complex input has two coordinates: s = σ + it, where i² = −1. This map colours the size of the output, |ζ(s)|. Dark valleys lead to zeros.

Year 13 · visual exploration

The complex input plane

Your browser needs canvas support to display this map.
Small magnitude to largeZero× Pole at s = 1

Drag to pan · scroll over the map to zoom · tap to inspect. Keyboard: arrows pan, + / − zoom. The axes use different scales.

Choose a zero below, or inspect a point on the map.
What is ζ(s), and why isn’t this an ordinary graph?

For real inputs greater than 1, the zeta function begins as ζ(s) = 1 + 1/2s + 1/3s + 1/4s + …. At s = 2, for example, its value is about 1.645.

Mathematicians extend this function to complex inputs, except for a pole at s = 1, where its size grows without bound. The series above only converges when σ > 1; this map uses the extended function elsewhere.

A complex input and a complex output would need four real coordinates. We show the two input coordinates as a map and use colour for the magnitude (distance of the output from zero). We do not show the output’s angle. Circle markers pinpoint known zeros that may be smaller than a pixel.

The map is calculated numerically, with exploration bounded to −12 ≤ σ ≤ 6 and −100 ≤ t ≤ 100. More about zeta zeros (NIST).