Skip to content
DAH
Wiki/Number TheoryTheoryActive

Analytic number theory: Dirichlet series and the explicit formula

Dirichlet series, Euler products and contour integration turn questions about primes into questions about zeros of zeta and L-functions; the toolkit includes large sieve, zero-density bounds and sieves.

On this page10 sections
Why other work relies on it

It is the working toolkit behind the Riemann zeta entry and the problems hosted there: the Riemann Hypothesis, zero-density beyond Guth–Maynard, the Lindelöf exponent, bounded prime gaps and the parity barrier, and even-order logarithmic Chowla. It also supplies the L-function analysis used for Birch–Swinnerton-Dyer.

Using calculus and complex numbers to count primes and other whole-number patterns.

  1. 1Encode a sequence in one function
  2. 2Primes become zeros of that function
  3. 3Zero locations bound the prime count error
  4. 4Sieves and estimates handle what is unproven

The central object is a Dirichlet series F(s)=∑n≥1ann−sF(s)=\sum_{n\ge1} a_n n^{-s}, which encodes a sequence ana_n in a function of a complex variable ss. The model case is the zeta function ζ(s)=∑nn−s\zeta(s)=\sum_n n^{-s} for ℜs>1\Re s>1. Euler noticed that unique factorization into primes gives an Euler product ζ(s)=∏p(1−p−s)−1\zeta(s)=\prod_p (1-p^{-s})^{-1}, over all primes pp. In words: the sum over all whole numbers equals a product over primes, and that is the bridge between the additive world of integers and the multiplicative world of primes.

Taking the logarithmic derivative of ζ\zeta produces a series whose coefficients Λ(n)\Lambda(n) are log⁡p\log p at prime powers and 00 elsewhere. So summing Λ(n)\Lambda(n) up to xx (called ψ(x)\psi(x)) counts primes weighted by size. A contour-integral identity, Perron's formula, expresses ψ(x)\psi(x) as an integral of ζ′/ζ\zeta'/\zeta in the complex plane. Shifting the contour picks up residues at the poles of ζ′/ζ\zeta'/\zeta, which are the zeros of ζ\zeta, giving the explicit formula: ψ(x)=x−∑ρxρ/ρ+…\psi(x)=x-\sum_\rho x^\rho/\rho+\dots. The sum runs over the non-trivial zeros ρ\rho. Each term has size about xℜρx^{\Re\rho}, so the farther left the zeros are, the smaller the error. That is why the real part of the zeros governs how well primes are counted.

The functional equation (from Poisson summation applied to a theta function) says ζ\zeta behaves symmetrically under s↦1−ss\mapsto1-s, forcing zeros to be symmetric about the line ℜs=1/2\Re s=1/2. The same machinery extends to L-functions, which twist the series by characters and detect primes in arithmetic progressions.

No one can prove the best location of the zeros, so the field proves partial statements: zero-free regions (no zeros very near ℜs=1\Re s=1), zero-density estimates (few zeros far from the line), and large sieve inequalities that bound sums over many characters at once. These are enough to give strong unconditional results, for example primes in short intervals.

Sieves (Brun, Selberg and others) bound how many integers in a set survive removing small prime factors. Their built-in limit is the parity problem: a sieve cannot tell whether a number has an even or odd count of prime factors, so it can find numbers with at most two prime factors but not primes. Recent breakthroughs (Maynard and Tao on bounded prime gaps, Guth and Maynard on zero densities) refine both parts of the toolkit.

Go deeper

The full technical text.

What it is

Analytic number theory studies arithmetic functions through their Dirichlet series F(s)=∑n≥1ann−sF(s)=\sum_{n\ge1}a_n n^{-s} and the analytic continuation of these series. For multiplicative ana_n there is an Euler product, the model case being ζ(s)=∑nn−s=∏p(1−p−s)−1\zeta(s)=\sum_n n^{-s}=\prod_p(1-p^{-s})^{-1} for ℜs>1\Re s>1. The logarithmic derivative −ζ′/ζ(s)=∑nΛ(n)n−s-\zeta'/\zeta(s)=\sum_n\Lambda(n)n^{-s} turns counting primes into a problem about the zeros of ζ\zeta. This entry collects the toolkit that the Riemann zeta entry relies on.

The core machinery

  • Perron's formula / Mellin inversion. For c>1c>1, ψ(x)=∑n≤xΛ(n)=12πi∫c−iTc+iT(−ζ′ζ(s))xss ds+O(xlog⁡2xT)\psi(x)=\sum_{n\le x}\Lambda(n)=\frac{1}{2\pi i}\int_{c-iT}^{c+iT}\big(-\tfrac{\zeta'}{\zeta}(s)\big)\frac{x^s}{s}\,ds+O\big(\tfrac{x\log^2 x}{T}\big). Smoothed versions trade this for a Mellin transform of a test function.
  • Functional equation. Poisson summation applied to the theta function gives ξ(s)=ξ(1−s)\xi(s)=\xi(1-s), where ξ(s)=12s(s−1)π−s/2Γ(s/2)ζ(s)\xi(s)=\tfrac12 s(s-1)\pi^{-s/2}\Gamma(s/2)\zeta(s). The function ξ\xi is entire of order 1, so it has a Hadamard product over the nontrivial zeros ρ\rho. Counting zeros gives N(T)=T2πlog⁡T2πe+O(log⁡T)N(T)=\frac{T}{2\pi}\log\frac{T}{2\pi e}+O(\log T).
  • Convexity. Phragmén–Lindelöf interpolation between ℜs=1+ϵ\Re s=1+\epsilon and the reflected line gives ζ(12+it)≪∣t∣1/4+ϵ\zeta(\tfrac12+it)\ll|t|^{1/4+\epsilon}. The Lindelöf hypothesis replaces the exponent 1/41/4 by 00.
  • Explicit formula. For x>1x>1 not a prime power, ψ(x)=x−∑ρxρρ−log⁡2π−12log⁡(1−x−2)\psi(x)=x-\sum_\rho\frac{x^\rho}{\rho}-\log 2\pi-\tfrac12\log(1-x^{-2}), where the sum over zeros is taken symmetrically.
  • Zero-free regions and the PNT. The inequality 3+4cos⁡θ+cos⁡2θ≥03+4\cos\theta+\cos2\theta\ge0 gives the de la Vallée Poussin region σ>1−c/log⁡(∣t∣+2)\sigma>1-c/\log(|t|+2), and hence ψ(x)=x+O(xe−clog⁡x)\psi(x)=x+O\big(x e^{-c\sqrt{\log x}}\big). Vinogradov–Korobov improves the exponent to (log⁡x)3/5(log⁡log⁡x)−1/5(\log x)^{3/5}(\log\log x)^{-1/5}.
  • Dirichlet L-functions. Characters χ mod q\chi\bmod q, orthogonality, L(s,χ)L(s,\chi) and its functional equation lead to primes in progressions. Siegel's ineffective bound L(1,χ)≫ϵq−ϵL(1,\chi)\gg_\epsilon q^{-\epsilon} gives Siegel–Walfisz: ψ(x;q,a)=xφ(q)+OA(x(log⁡x)−A)\psi(x;q,a)=\frac{x}{\varphi(q)}+O_A\big(x(\log x)^{-A}\big) uniformly for q≤(log⁡x)Aq\le(\log x)^A.
  • Large sieve and Bombieri–Vinogradov. ∑q≤Qqφ(q)∑χ∗∣∑n≤Nanχ(n)∣2≤(N+Q2)∑∣an∣2\sum_{q\le Q}\frac{q}{\varphi(q)}\sum_{\chi}^{*}\big|\sum_{n\le N}a_n\chi(n)\big|^2\le(N+Q^2)\sum|a_n|^2. This yields level of distribution 1/21/2 on average over moduli: ∑q≤x1/2(log⁡x)−Bmax⁡(a,q)=1∣ψ(x;q,a)−xφ(q)∣≪Ax(log⁡x)−A\sum_{q\le x^{1/2}(\log x)^{-B}}\max_{(a,q)=1}\big|\psi(x;q,a)-\frac{x}{\varphi(q)}\big|\ll_A x(\log x)^{-A}. Elliott–Halberstam conjectures any level θ<1\theta<1.
  • Mean values and zero density. ∫0T∣∑n≤Nann−it∣2dt=(T+O(N))∑∣an∣2\int_0^T\big|\sum_{n\le N}a_n n^{-it}\big|^2dt=(T+O(N))\sum|a_n|^2. Large-value estimates for Dirichlet polynomials give N(σ,T)≪TA(1−σ)+ϵN(\sigma,T)\ll T^{A(1-\sigma)+\epsilon}, with A=3A=3 (Ingham), 12/512/5 (Huxley) and 30/1330/13 (Guth–Maynard). The density hypothesis is A=2A=2.
  • Sieves and parity. Brun's sieve, Selberg's Λ2\Lambda^2 sieve and the fundamental lemma are the basic tools. Selberg's parity barrier says that sieve weights alone cannot tell integers with an even number of prime factors from those with an odd number. Producing primes therefore needs extra bilinear (Type II) input.

Techniques to master

Complex analysis (Hadamard factorization, Jensen's formula, Borel–Carathéodory, contour shifting), partial summation, Gauss sums, the approximate functional equation, Vaughan's and Heath-Brown's identities, the van der Corput and Weyl differencing bounds for exponential sums, and the duality principle behind the large sieve.

Standard references / Reading path

Prerequisites are graduate complex analysis and Fourier analysis on R\mathbb{R} and Z/qZ\mathbb{Z}/q\mathbb{Z} (see the harmonic analysis entry). Read Davenport, Multiplicative Number Theory (GTM 74), for the classical core; then Montgomery–Vaughan, Multiplicative Number Theory I, for elementary and analytic methods side by side; Titchmarsh, The Theory of the Riemann Zeta-Function, for ζ\zeta itself; and Iwaniec–Kowalski, Analytic Number Theory (AMS Colloquium 53), for sieves, exponential sums and automorphic methods.

Where it bites

  • The Riemann Hypothesis is equivalent to ψ(x)=x+O(x1/2+ϵ)\psi(x)=x+O(x^{1/2+\epsilon}), through the explicit formula.
  • The zero-density problem beyond Guth–Maynard asks to lower 30/1330/13 toward 22. The bottleneck is how often Dirichlet polynomials of length NN reach values near N3/4N^{3/4}.
  • The Lindelöf exponent problem asks to improve Bourgain's μ(1/2)≤13/84\mu(1/2)\le13/84 over convexity.
  • Bounded prime gaps use Bombieri–Vinogradov, or Zhang's extension of it to smooth moduli, together with Maynard–Tao weights. The parity barrier is why sieves stop short of twin primes.
  • Chowla's conjecture for the Liouville function λ\lambda remains open for even orders k≥4k\ge4, even with logarithmic averaging. Tao's entropy-decrement argument and the Matomäki–Radziwiłł short-interval theorem are the entry points.
  • Birch–Swinnerton-Dyer concerns the order of vanishing of L(E,s)L(E,s) at s=1s=1. Studying it requires analytic continuation by modularity, functional equations and explicit formulae for L(E,s)L(E,s).
Words on this page (12)
Words on this page
prime number
A whole number bigger than 1 divisible only by 1 and itself.
Dirichlet series
An infinite sum of the form a1/1^s + a2/2^s + a3/3^s + ..., turning a sequence into a function.
Euler product
A way of writing a sum over all whole numbers as a product over primes.
Riemann zeta function
The function whose zeros control how the primes are spread out.
L-function
A zeta-like function built from a character or a more general arithmetic object; used to study primes in progressions and more.
explicit formula
An exact formula that writes the prime count as a main term plus a sum over zeta zeros.
contour integration
Integrating a complex function along a path in the complex plane, which can pick up residues at special points.
sieve theory
Methods that count numbers surviving the removal of multiples of small primes.
parity problem
The limit of sieves: they cannot tell numbers with an even number of prime factors from an odd number.
zero-density estimate
A bound on how many zeta zeros can lie away from the critical line.
Dirichlet character
A function on whole numbers that repeats with a fixed period and multiplies nicely; used to pick out primes in one progression.
zero-free region
A part of the complex plane proved to contain no zeros of zeta, close to the line where real part is 1.
New to this? Read first (4)
New to this? Read first

Understanding map

map of the whole wiki →

What to read before Analytic number theory: Dirichlet series and the explicit formula (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. May 31, 2024
    Guth–Maynard zero-density estimate

    New large-value estimates for Dirichlet polynomials give N(σ,T) ≤ T^{30(1−σ)/13+o(1)}. The first improvement on Ingham's exponent near σ = 3/4, and asymptotics for primes in intervals of length x^{17/30+o(1)}.

    source
  2. Jul 17, 2023
    Ferreira preprint
    Related to: Legendre's conjecture: a prime between every two consecutive squares

    Claims primes in all intervals (x, x+x^λ] asymptotically, implying Legendre for large n. Unrefereed; version 4 dated 7 May 2026.

    source
  3. Sep 17, 2015
    Logarithmic two-point Chowla

    Tao proved the logarithmically averaged two-point Chowla and Elliott conjectures. The proof combines the Matomäki–Radziwiłł theorem with an entropy-decrement argument.

    source
  4. May 1, 2014
    Zhang: bounded gaps between primes

    Zhang extended Bombieri–Vinogradov beyond level 1/2 for smooth moduli and proved liminf (p_{n+1} − p_n) < 7·10^7.

    source
  5. Nov 19, 2013
    Maynard's multidimensional sieve weights

    Maynard (and independently Tao) introduced multidimensional Selberg weights. Bombieri–Vinogradov alone then gives bounded gaps, and m consecutive primes lie in bounded windows.

    source
  6. Jan 1, 2011
    Counting bound and the 3 | n case
    Related to: Lehmer's totient problem: is there a composite n with φ(n) dividing n − 1?

    Luca and Pomerance bound the number of solutions; Burcsi, Czirbusz and Farkas push the 3 | n case to enormous size (year only known).

    source
  7. Jan 1, 2011
    Continued-fraction method to 10^1,667,658,416
    Related to: The Erdős–Moser equation: 1k + 2k + … + (m−1)k = mk has only the solution k = 1, m = 3

    Gallot, Moree and Zudilin (Math. Comp. 80; year only known).

    source
  8. Jan 1, 2001
    Gaps below p^0.525
    Related to: Legendre's conjecture: a prime between every two consecutive squares

    Baker, Harman and Pintz prove primes in [x - x^(21/40), x] for large x (year only known).

    source
  9. Jan 1, 2000
    Exact computation to 10^9,321,155
    Related to: The Erdős–Moser equation: 1k + 2k + … + (m−1)k = mk has only the solution k = 1, m = 3

    Butske, Jaje and Mayernik (Math. Comp. 69; year only known).

    source
  10. Jan 1, 1996
    13,800-digit lower bound
    Related to: The Agoh–Giuga conjecture: a congruence that detects primes

    Borwein, Borwein, Borwein and Girgensohn show a counterexample is Carmichael and Giuga with at least 13,800 digits (year only known).

    source
  11. Jan 1, 1980
    At least 14 prime factors
    Related to: Lehmer's totient problem: is there a composite n with φ(n) dividing n − 1?

    Cohen and Hagis raise the bound on distinct prime factors (year only known).

    source
  12. Dec 1, 1965
    Bombieri's large sieve and the Bombieri–Vinogradov theorem

    Bombieri's large-sieve inequality gives primes in progressions with level of distribution 1/2 on average over moduli, which is GRH strength on average.

    source
  13. Jan 1, 1953
    Moser's bound
    Related to: The Erdős–Moser equation: 1k + 2k + … + (m−1)k = mk has only the solution k = 1, m = 3

    Leo Moser shows any other solution is astronomically large (Scripta Mathematica 19).

    source
  14. Jan 1, 1950
    Giuga's conjecture
    Related to: The Agoh–Giuga conjecture: a congruence that detects primes

    Giuga proposes the power-sum characterization of primes (Istituto Lombardo Rendiconti 14).

    source
  15. Jan 1, 1932
    Problem posed with first constraints
    Related to: Lehmer's totient problem: is there a composite n with φ(n) dividing n − 1?

    Lehmer shows a solution must be odd, squarefree, a Carmichael number and have at least 7 prime factors.

    source