Skip to content
DAH
Wiki/Number TheoryTheoryActive

The Riemann zeta function and prime distribution

The analytic function ζ(s) whose zeros encode the fluctuations in how primes are distributed; the object behind the Riemann Hypothesis and most of analytic number theory.

On this page10 sections
Why other work relies on it

Quantitative statements about primes (the prime number theorem and its error terms, primes in short intervals and in progressions) are proved by controlling ζ\zeta and its LL-function relatives. Sieve methods, explicit prime bounds and conditional algorithms all cite its zero-free regions and zero-density estimates.

A function built from all whole numbers whose zeros control how the primes are spread.

  1. 1Primes look irregular
  2. 2Zeta turns primes into a smooth function
  3. 3Its zeros add waves to the prime count
  4. 4All zeros on one line gives smallest waves

For a complex number ss with real part greater than 11, the zeta function is ζ(s)=∑n≥1n−s\zeta(s)=\sum_{n\ge1} n^{-s}. Euler observed that unique factorization of integers into primes turns this sum into a product over primes, ζ(s)=∏p(1−p−s)−1\zeta(s)=\prod_p (1-p^{-s})^{-1}. This single identity is the link between ζ and primes: take a logarithm and the primes appear as terms.

Riemann showed that ζ\zeta continues to the whole complex plane, with one pole (a point where it blows up) at s=1s=1, and satisfies a functional equation relating the values at ss and 1−s1-s. This equation forces the zeros into two types. The trivial zeros are at −2,−4,−6,…-2,-4,-6,\dots. The non-trivial zeros lie in the critical strip 0<ℜs<10<\Re s<1, in a pattern symmetric about the real axis and about the vertical line ℜs=1/2\Re s=1/2 (the critical line). There are infinitely many.

The explicit formula shows how the zeros govern primes. Let ψ(x)\psi(x) be the sum of log⁡p\log p over prime powers up to xx. Then, roughly, ψ(x)=x−∑ρxρρ+(small terms),\psi(x)=x-\sum_\rho \frac{x^\rho}{\rho}+\text{(small terms)}, where ρ\rho runs over the non-trivial zeros. The main term xx says that primes occur with density about 1/log⁡x1/\log x (the prime number theorem). Each zero contributes an oscillation of size xℜρx^{\Re\rho}. The closer ℜρ\Re\rho is to 11 the larger the oscillation. Knowing there are no zeros with ℜρ=1\Re\rho=1 gives the prime number theorem (Hadamard and de la Vallée Poussin, 1896). Knowing every zero has ℜρ=1/2\Re\rho=1/2 would give an error term of size about xlog⁡x\sqrt{x}\log x in the count of primes, which is essentially the best possible.

The Riemann Hypothesis (RH) is the statement that every non-trivial zero has real part exactly 1/21/2. It is one of the Clay Millennium Prize Problems. What is known: infinitely many zeros are on the line (Hardy, 1914), a positive proportion (Selberg, 1942), and more than five twelfths (2020); numerically, all zeros up to a height of 3⋅10123\cdot10^{12} have been rigorously checked. The best known zero-free regions shrink toward the line ℜs=1\Re s=1 as the height grows, so they fall far short of RH.

It also has natural generalizations. Dirichlet L-functions and other L-functions have their own versions of the hypothesis (the Generalized Riemann Hypothesis), which underlie many results about primes in progressions and some algorithms.

The entry connects with the problem pages on zero-density estimates, the Lindelöf hypothesis and the parity barrier for prime gaps, which all study partial or conditional versions of the same picture.

Go deeper

The full technical text.

The function

For Re⁡(s)>1\operatorname{Re}(s)>1 the zeta function is the Dirichlet series ζ(s)=∑n≥1n−s=∏p prime(1−p−s)−1.\zeta(s)=\sum_{n\ge 1} n^{-s}=\prod_{p\text{ prime}}\left(1-p^{-s}\right)^{-1}. The equality of the sum and the product (Euler, 1737) is unique factorization in analytic form. Riemann (1859) showed that ζ\zeta extends to a meromorphic function on C\mathbb{C} whose only singularity is a simple pole at s=1s=1, and that it satisfies a functional equation relating ss and 1−s1-s: with ξ(s)=12s(s−1)π−s/2Γ(s/2)ζ(s)\xi(s)=\tfrac12 s(s-1)\pi^{-s/2}\Gamma(s/2)\zeta(s) one has ξ(s)=ξ(1−s)\xi(s)=\xi(1-s).

The zeros of ζ\zeta come in two kinds. The "trivial" zeros are at s=−2,−4,−6,…s=-2,-4,-6,\dots, forced by the Gamma factor. The "non-trivial" zeros ρ\rho lie in the critical strip 0<Re⁡(s)<10<\operatorname{Re}(s)<1, are symmetric about the real axis and about the line Re⁡(s)=12\operatorname{Re}(s)=\tfrac12, and there are infinitely many of them.

Why zeros control primes

Riemann's explicit formula expresses the prime-counting function through the zeros. In the Chebyshev form, for x>1x>1 not a prime power, ψ(x)=∑n≤xΛ(n)=x−∑ρxρρ−log⁡2π−12log⁡(1−x−2),\psi(x)=\sum_{n\le x}\Lambda(n)=x-\sum_{\rho}\frac{x^{\rho}}{\rho}-\log 2\pi-\tfrac12\log\left(1-x^{-2}\right), where Λ\Lambda is the von Mangoldt function and the sum over zeros is taken symmetrically, as lim⁡T→∞∑∣γ∣<T\lim_{T\to\infty}\sum_{|\gamma|<T}. Each zero ρ=β+iγ\rho=\beta+i\gamma contributes an oscillation of size xβx^{\beta}. The main term xx comes from the pole at s=1s=1. Consequently the real parts of the zeros set the size of the error in the prime number theorem: the theorem itself (π(x)∼x/log⁡x\pi(x)\sim x/\log x, Hadamard and de la Vallée Poussin, 1896) is equivalent to ζ(s)≠0\zeta(s)\neq 0 on Re⁡(s)=1\operatorname{Re}(s)=1, and the Riemann Hypothesis (all non-trivial zeros have β=12\beta=\tfrac12) is equivalent to the sharpest possible error term, π(x)=li⁡(x)+O(xlog⁡x)\pi(x)=\operatorname{li}(x)+O(\sqrt{x}\log x) (von Koch, 1901).

What is proved unconditionally

  • Zero-free regions: the classical region β<1−c/log⁡(∣γ∣+2)\beta<1-c/\log(|\gamma|+2) was sharpened by Vinogradov and Korobov to roughly 1−c(log⁡∣γ∣)−2/3(log⁡log⁡∣γ∣)−1/31-c(\log|\gamma|)^{-2/3}(\log\log|\gamma|)^{-1/3}. Nothing close to β=12\beta=\tfrac12 is known.
  • Positive proportion of zeros on the critical line: Selberg (1942); more than one third (Levinson, 1974); more than two fifths (Conrey, 1989); the current record is just over five twelfths (Pratt, Robles, Zaharescu and Zeindler, 2020).
  • Zero-density estimates: bounds on N(σ,T)N(\sigma,T), the number of zeros with β≥σ\beta\ge\sigma and ∣γ∣≤T|\gamma|\le T. These are "RH on average" and are often sufficient for applications. Huxley's 1972 bound N(σ,T)≪T12(1−σ)/5+εN(\sigma,T)\ll T^{12(1-\sigma)/5+\varepsilon} stood for over fifty years until Guth and Maynard (2024) proved N(σ,T)≤T30(1−σ)/13+o(1)N(\sigma,T)\le T^{30(1-\sigma)/13+o(1)}.
  • Numerical verification: every non-trivial zero with ∣γ∣≤3⋅1012|\gamma|\le 3\cdot 10^{12} lies on the critical line, rigorously, by interval arithmetic (Platt and Trudgian). Earlier non-rigorous computations by Gourdon (2004) checked roughly the first 101310^{13} zeros.

Generalizations

Dirichlet LL-functions, Dedekind zeta functions of number fields and automorphic LL-functions have the same structure and the same conjectural location of zeros (the Generalized Riemann Hypothesis). Over finite fields the analogue is a theorem: Weil proved it for curves (1948) and Deligne for higher-dimensional varieties (1974). That result is evidence that the phenomenon is real, but the proofs rely on cohomology and Frobenius, with no known counterpart for ζ\zeta itself.

Uses

Beyond pure number theory, ζ\zeta-based estimates feed into explicit prime bounds, error analysis in sieve theory, and conditional algorithms (for example, Miller's deterministic primality test is polynomial-time under GRH; the unconditional AKS test covers that need). Statistics of the zeros match random matrix theory (Montgomery, Odlyzko), an observation that connects the subject to quantum chaos.

Words on this page (12)
Words on this page
prime number
A whole number bigger than 1 divisible only by 1 and itself.
complex number
A number with a real part and an imaginary part, which can be drawn as a point in a plane.
Euler product
A formula writing a sum over all whole numbers as a product over primes.
analytic continuation
Extending a function from the region where its formula works to a larger region in a unique natural way.
functional equation
A relationship between a function's values at two different inputs, here s and 1-s.
critical strip
The band of the complex plane between real part 0 and 1 where all the interesting zeros lie.
explicit formula
An exact formula that writes the prime count as a main term plus a sum over zeta zeros.
prime number theorem
The result that the number of primes up to x is about x divided by the natural logarithm of x.
Riemann Hypothesis
The conjecture that every non-trivial zero of zeta has real part one half.
L-function
A zeta-like function built from a character or a more general arithmetic object.
pole
A point where a function blows up to infinity.
critical line
The vertical line in the complex plane where the real part equals one half.
New to this? Read first (4)
New to this? Read first

Understanding map

map of the whole wiki →

What to read before The Riemann zeta function and prime distribution (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then

Open problems & questions

Progress timeline

  1. Nov 20, 2026
    Claimed Lean proof of RH and of GRH for Dirichlet L-functions (claim under review)
    Related to: Riemann Hypothesis: all non-trivial zeros of ζ(s) lie on Re s = 1/2

    A note on Levent Alpöge's site claims a proof found with Claude and releases it only as an archive of 175,187 Lean 4 files, with no paper. Third parties report that the archive builds, uses only the three standard axioms and is accepted by several independent checkers; the mathematics has not been reviewed, so the problem stays open here.

    source
  2. Aug 31, 2026
    Unconditional bound 240 (preprint)
    Related to: Prime gaps beyond the sieve parity limit: H₁ < 6 under generalized Elliott–Halberstam

    Stadlmann; AI-produced claims of 212 and 186 followed, all unrefereed and all within the sieve framework.

    source
  3. Aug 13, 2026
    At least 2/3 of zeros simple and on the line (unrefereed)
    Related to: Riemann Hypothesis: all non-trivial zeros of ζ(s) lie on Re s = 1/2

    Alpöge–Furman (v1 13 August 2026), Lean-formalized; Lamzouri gives an independent proof in September.

    source
  4. Jul 11, 2025
    Extension to Dirichlet L-functions
    Related to: Zero-density exponent for ζ beyond Guth–Maynard: N(σ,T) ≤ TA(σ)(1−σ)+o(1) with A < 30/13

    Chen–Gupta–Li obtain exponent 7/3 for the sum over characters mod q.

    source
  5. May 31, 2024
    Guth and Maynard improve the zero-density exponent

    New large-value estimates for Dirichlet polynomials lower the zero-density exponent for ζ\zeta from 12/512/5 to 30/1330/13, the first improvement of Huxley's 1972 estimate, and give an asymptotic for primes in short intervals [x,x+x17/30+ε][x,x+x^{17/30+\varepsilon}].

    source
  6. May 31, 2024
    Guth–Maynard: 30/13
    Related to: Zero-density exponent for ζ beyond Guth–Maynard: N(σ,T) ≤ TA(σ)(1−σ)+o(1) with A < 30/13

    A(σ) ≤ 15/(3+5σ); with Ingham this gives sup A ≤ 30/13, the first improvement of Huxley’s 12/5.

    source
  7. May 31, 2024
    Guth–Maynard zero-density exponent 30/13
    Related to: Riemann Hypothesis: all non-trivial zeros of ζ(s) lie on Re s = 1/2

    First improvement of Huxley's exponent 12/5 in four decades.

    source
  8. Jul 30, 2020
    Higher-order uniformity for H ≥ X^θ
    Related to: Logarithmically averaged Chowla conjecture for even k ≥ 4: Σ λ(n)λ(n+1)λ(n+2)λ(n+3)/n = o(log x)

    Matomäki–Radziwiłł–Tao–Teräväinen–Ziegler (Annals 2023); the slowly growing range needed for even k remains open.

    source
  9. Apr 21, 2020
    Rigorous verification to height 3⋅10123\cdot 10^{12}

    Platt and Trudgian verify, with interval arithmetic, that all non-trivial zeros with imaginary part up to 3⋅10123\cdot 10^{12} have real part 12\tfrac12 (arXiv preprint; published in the Bulletin of the LMS, 2021).

    source
  10. Apr 21, 2020
    Rigorous check up to height 3·10^12
    Related to: Riemann Hypothesis: all non-trivial zeros of ζ(s) lie on Re s = 1/2

    Platt and Trudgian verify RH to |Im ρ| ≤ 3·10^12 with interval arithmetic.

    source
  11. Sep 13, 2017
    Bourgain–Watt sharp mean-square estimates
    Related to: Subconvexity for ζ(1/2+it): reducing Bourgain's exponent μ(1/2) ≤ 13/84 toward the Lindelöf value 0

    Applications to the circle and divisor problems.

    source
  12. Aug 8, 2017
    All odd orders
    Related to: Logarithmically averaged Chowla conjecture for even k ≥ 4: Σ λ(n)λ(n+1)λ(n+2)λ(n+3)/n = o(log x)

    Tao–Teräväinen prove the logarithmic conjecture for every odd k (arXiv August 2017).

    source
  13. Sep 17, 2015
    Log-averaged two-point Chowla
    Related to: Logarithmically averaged Chowla conjecture for even k ≥ 4: Σ λ(n)λ(n+1)λ(n+2)λ(n+3)/n = o(log x)

    Tao’s entropy decrement argument.

    source
  14. Aug 25, 2014
    Bourgain: 13/84 by decoupling
    Related to: Subconvexity for ζ(1/2+it): reducing Bourgain's exponent μ(1/2) ≤ 13/84 toward the Lindelöf value 0

    New Fourier-analytic method for the exponential sums.

    source
  15. Jul 18, 2014
    Polymath8b: 246, 6 under GEH, and the parity limit
    Related to: Prime gaps beyond the sieve parity limit: H₁ < 6 under generalized Elliott–Halberstam

    Shows that 6 is the best a sieve argument can give under GEH.

    source
  16. Nov 19, 2013
    Maynard’s multidimensional sieve
    Related to: Prime gaps beyond the sieve parity limit: H₁ < 6 under generalized Elliott–Halberstam

    H₁ ≤ 600, and H₁ ≤ 12 under Elliott–Halberstam.

    source
  17. Jan 1, 1973
    Chen’s theorem
    Related to: Prime gaps beyond the sieve parity limit: H₁ < 6 under generalized Elliott–Halberstam

    p + 2 is a prime or a product of two primes infinitely often (date approximate to the year).

    source
  18. Jan 1, 1940
    Ingham's zero-density bound
    Related to: Zero-density exponent for ζ beyond Guth–Maynard: N(σ,T) ≤ TA(σ)(1−σ)+o(1) with A < 30/13

    A(σ) ≤ 3/(2−σ) (date approximate to the year; cited in Guth–Maynard).

    source
  19. Jan 1, 1921
    Hardy–Littlewood: μ(1/2) ≤ 1/6
    Related to: Subconvexity for ζ(1/2+it): reducing Bourgain's exponent μ(1/2) ≤ 13/84 toward the Lindelöf value 0

    Weyl-type differencing (date approximate).

    source
  20. Nov 1, 1859
    Riemann states the hypothesis
    Related to: Riemann Hypothesis: all non-trivial zeros of ζ(s) lie on Re s = 1/2

    In 'Über die Anzahl der Primzahlen unter einer gegebenen Grösse' (date approximate to the month).

    source
  21. Nov 1, 1859
    Riemann's memoir on the number of primes below a given size

    Riemann continues ζ\zeta to the complex plane, derives the functional equation and the explicit formula, and states that the non-trivial zeros are very probably all on the critical line. Date given is the month of the Berlin Academy report; the day is not asserted.

    source