Primes from zeros
About 20 minutes
The prime staircase
Count the primes with a weight: every prime power contributes ,
This Chebyshev function is a staircase that jumps by at every prime power (black in Fig. 1). The weight makes the steps grow on average like : the prime number theorem, for the number of primes up to , is equivalent to . The coefficients are those of in episode 1.
The explicit formula
Perron’s formula picks the terms with out of the Dirichlet series: for and not a prime power,
because along this line is 1 for and 0 for . Shifting the contour to the left and collecting residues (Sec. 3.5.1 of the course) turns every singularity of into one term: the pole of at gives , every zero gives , the point gives , and the trivial zeros give . The result is the explicit formula (von Mangoldt 1895, after Riemann’s formula for the prime counting function of 1859):
Explicit formula
For ,
where the sum runs over the non-trivial zeros, taken in pairs , in order of increasing . Here if is not a prime power, and at a prime power is the midpoint of the jump.
The sum converges only conditionally, and the order of summation matters. The smooth part is the dashed line in Fig. 1. All steps come from the zeros.
Each pair of zeros is a wave
With , and . A pair of conjugate zeros contributes
Each pair adds a wave that is periodic in with angular frequency . Its amplitude grows like , so the real part of the zero sets how large the wave becomes, and the imaginary part sets how fast it oscillates. Near the period in is about . With the first pairs, details of the staircase finer than about are smeared out, and the steps sharpen as grows.
Try it: the slider sets the number of pairs of zeros in the sum. With only the smooth part remains. A few pairs already place the large steps, and around the curve follows every step up to .
The zeros set the error of the prime number theorem
The size of is controlled by the largest wave amplitude, so by . Since and are both zeros, . The error grows like , up to logarithmic factors. The prime number theorem itself needs only that no zero lies on , which makes small compared with .
The Riemann hypothesis, for every , is the smallest possible value . Every wave then grows only like . Von Koch (1901) showed that it is equivalent to the bound
and equally to . In this sense, all zeros on the critical line means that the primes are distributed as regularly as the symmetry of the zeros allows.
References
- B. Riemann, “Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse”, Monatsberichte der Königlichen Preußischen Akademie der Wissenschaften zu Berlin, 671 (1859).
- H. von Mangoldt, “Zu Riemanns Abhandlung ‘Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse’”, Journal für die reine und angewandte Mathematik 114, 255 (1895).
- H. von Koch, “Sur la distribution des nombres premiers”, Acta Mathematica 24, 159 (1901).
- H. M. Edwards, Riemann’s Zeta Function (Academic Press, New York, 1974, reprinted by Dover, 2001).
- H. Davenport, Multiplicative Number Theory, 3rd edition, revised by H. L. Montgomery (Springer, New York, 2000).