Proven (formal proof, 2026) Open from 1859 to 2026

The Riemann Hypothesis

For 167 years the most famous unsolved problem in mathematics, it says that the prime numbers obey a hidden order: a strange landscape has infinitely many wells, and all of them lie on one straight line.

You are flying over the Riemann zeta function. Each beam of light stands on a zero. More than twelve trillion zeros have been checked by computer, every one exactly on the glowing line. In November 2026 a proof showed that all of them are.

Begin the journey

Primes thin out. But how exactly?

The question

Count the primes among the first hundred numbers and you find 25. Up to a thousand there are 168. Up to a million: 78,498. Primes never run out, but they become rarer and rarer. Is there a law behind the thinning?

As a teenager, around 1792, Gauss guessed one: near a large number x, roughly one number in every ln x is prime. Add up these chances and you get a smooth curve, the logarithmic integral li(x). It follows the staircase of the primes with uncanny accuracy.

Gauss's guess became a theorem in 1896. For the next 130 years nobody knew how big the leftover error can get. That error is what the Riemann hypothesis is about.

π(x): number of primes up to x (exact) x / ln x: Gauss's first guess li(x): logarithmic integral

For mathematicians

Proven Prime number theorem (Hadamard; de la Vallée Poussin, 1896, independently): π(x) / (x / ln x) → 1. With an error term (de la Vallée Poussin, 1899): π(x) = li(x) + O(x·exp(−c√ln x)) for some c > 0.

π(x) ~ x / ln x ~ li(x),   li(x) = PV ∫0x dt / ln t

Here li(x) is the principal value of the integral from 0; the variant Li(x) = li(x) − li(2) = li(x) − 1.04516… starts at 2. Gauss's x / ln x is only the first term of li(x) ~ (x / ln x)(1 + 1/ln x + 2/ln² x + …), which is why it lags behind.

Observed π(10⁷) = 664,579 and li(10⁷) = 664,918.4…: li is off by 0.05%. x / ln x gives 620,421: off by 6.6%. (Computed on this page with a sieve; the test checks π(10ᵏ) for k = 1…7.)

Euler's bridge, 1737

From primes to a function

ζ(s) = 1 + 12s + 13s + 14s + 15s + …  =  11 − 2−s · 11 − 3−s · 11 − 5−s · 11 − 7−s · …

In 1737 Euler found a bridge between adding and multiplying. On one side, add 1/nˢ over all whole numbers n. On the other, multiply 1/(1 − p⁻ˢ) over all primes p. The two sides are always equal.

Why? Every whole number is a product of primes in exactly one way. Multiply the brackets out and each 1/nˢ appears exactly once. So every prime becomes one factor of a single function, ζ(s). Whatever the primes do, ζ knows.

Slide s towards 1: the sum grows without limit. Then the product cannot be finite either, so there must be infinitely many primes. That was Euler's new proof of an ancient fact, and the first sign that ζ keeps the secrets of the primes.

sum of the first N terms 1/nˢ product over the first N primes ζ(s), the common limit

What each prime contributes at this s:

For mathematicians

Proven For Re s > 1 both the series ∑ n⁻ˢ and the product ∏ (1 − p⁻ˢ)⁻¹ converge absolutely and agree; this is unique factorisation in analytic form. No factor vanishes, so ζ(s) ≠ 0 for Re s > 1.

The product over primes p ≤ P equals the sum of n⁻ˢ over all n whose prime factors are ≤ P. At s = 2 the limit is π²/6 (Euler, 1734), and 6/π² ≈ 0.6079 is the probability that two random integers have no common factor. As s → 1⁺, ζ(s) ~ 1/(s − 1): the pole you will meet in the next chapter.

Riemann's leap into the complex plane, 1859

The zeta landscape

Riemann's idea: let s be a complex number, s = σ + it. Euler's sum only makes sense for σ > 1, but ζ can be extended to the whole plane, in exactly one way. The result is a landscape. Above every point s, the height shows the size |ζ(s)| and the colour shows its direction. Where the height drops to zero there is a well: a zero of ζ.

Drag to turn. Shift-drag or two fingers to move. Pinch or use + and − to zoom (arrow keys work after clicking the view). Tap or point at the surface to read ζ(s).

A three-dimensional surface over the complex plane. On the left rise coloured mountains; on the right lies a flat indigo plain. Between them runs a glowing line, Re(s) = ½, with a row of wells on it, each marked by a beam of light: the nontrivial zeros, starting at height 14.13. A golden tower stands at s = 1, the pole. Three violet beams mark the trivial zeros −2, −4, −6 on the real axis.

The pole at s = 1

The golden tower. It is the only point where ζ is infinite: there the sum becomes 1 + ½ + ⅓ + ¼ + …, which grows without end.

Trivial zeros: −2, −4, −6, …

Wells on the real axis at every negative even number. They are completely understood: a sine factor in ζ's symmetry law puts them there.

Nontrivial zeros

The wells of light. They all lie in the critical strip 0 < σ < 1, and since 2026 it is proven that every one lies on its centre line, σ = ½. The first is at ½ + 14.134725… i.

Reading the colours

Colour is the direction of ζ(s): indigo for positive values, gold for negative, cyan and pink for the imaginary directions. Around a zero all colours meet once, like a pinwheel. Each shade step means |ζ| has doubled.

For mathematicians

Proven ζ extends to a meromorphic function on ℂ with a single simple pole at s = 1 (residue 1), and satisfies the functional equation (Riemann, 1859):

ζ(s) = 2s πs−1 sin(πs/2) Γ(1−s) ζ(1−s)

Equivalently ξ(s) = ½ s(s − 1) π−s/2 Γ(s/2) ζ(s) is entire and ξ(s) = ξ(1 − s). Hence the nontrivial zeros are symmetric about the line Re s = ½ and about the real axis; the trivial ones come from sin(πs/2). There are no zeros with Re s ≥ 1 or Re s ≤ 0 other than the trivial ones.

Observed The surface is computed here in double precision: Euler–Maclaurin summation for Re s ≥ 0, the functional equation for Re s < 0, on a grid of about 300,000 points. Height = ln(1 + 5|ζ|0.45), compressed once more on the mountains and cut off at the pole, so that wells, plain and mountains fit in one picture; it is not to scale. Checked values: ζ(2) = π²/6, ζ(0) = −½, ζ(−1) = −1/12, ζ(−2) = 0, |ζ(½ + 14.134725141734693 i)| < 10⁻¹³.

One line, all the zeros

The hypothesis

Proven (formal proof, 2026)

Every nontrivial zero of ζ(s) has real part exactly ½.

Bernhard Riemann, 1859. Proven formally (Lean, 20 Nov 2026).

Proven (formal proof, 2026) Latest (November 2026). On 20 November Levent Alpöge (Anthropic) announced a proof, found working with an unreleased version of the AI model Claude and written in the Lean proof language. On 21 November the Lean FRO and the Mathlib Initiative certified that the statement and the proof are correct. Proven formally - human-readable account and peer review in progress. As of 29 Nov 2026.

Why should anyone care where the wells are? Because the primes can be rebuilt exactly from the zeros: each zero adds one wave to the smooth curve (you can hear them in The Music of the Primes). A zero at σ + it gives a wave whose size grows like xσ.

Zeros come in mirror pairs about the line σ = ½. A zero to the left of the line would have a twin to the right, with a bigger wave. So the waves are as small as they can possibly be exactly when every zero is on the line. The hypothesis says: the primes are spread as evenly as the laws of arithmetic allow. In numbers:

|π(x) − li(x)| < 18π √x · ln x   (x ≥ 2657)

Schoenfeld showed in 1976 that the hypothesis implies this for every x ≥ 2657, so since the 2026 proof it holds for all those x. Conversely, if an estimate of this kind holds for all x, the hypothesis is true (von Koch, 1901). Below: the real error against this limit.

actual error li(x) − π(x) Observed limit √x·ln x / 8π, holds since RH is proven (2026)

Proven In this whole range li(x) is larger than π(x), and it stays so as far as anyone has computed. Yet Littlewood proved in 1914 that the difference changes sign infinitely often. It is proven that no change happens below 10¹⁹ (Büthe, 2015) and that one happens before about 1.4 × 10³¹⁶ (Bays and Hudson, 2000, and later work). In this subject, what you can compute is not always what is true.

For mathematicians

Proven Explicit formula (Riemann 1859; proved by von Mangoldt, 1895), for x > 1 not a prime power, summing over the nontrivial zeros ρ symmetrically:

ψ(x) = x − ∑ρ xρ/ρ − ln 2π − ½ ln(1 − x−2)

A pair ρ, ρ̄ = β ± iγ contributes −2·Re(xρ/ρ): an oscillation of amplitude 2xβ/|ρ| in ψ(x), hence about 2xβ/(|ρ| ln x) in π(x). That is the dashed curve of the “what if” switch. RH ⇔ ψ(x) = x + O(√x ln² x) ⇔ π(x) = li(x) + O(√x ln x) (von Koch, 1901). Schoenfeld (1976), assuming RH: |ψ(x) − x| < √x ln² x / 8π for x ≥ 73.2 and |π(x) − li(x)| < √x ln x / 8π for x ≥ 2657.

Observed

Trillions of zeros, no exception - and finally a proof

The evidence, and the strangeness

Watching zeros appear

Proven Along the critical line, ζ can be straightened into an ordinary real graph, Hardy's function Z(t): it is real, and |Z(t)| = |ζ(½ + it)|. So every time the curve crosses the axis, there is a zero exactly on the line. No rounding error can push it off.

A separate formula tells how many zeros there must be up to a given height. If the number of crossings matches it, no zero is missing and none is off the line. That is how the hypothesis was checked, stretch by stretch, long before it was proved (Turing's method, 1953).

Lehmer's near miss.

How far has it been checked?

Riemann himself computed the first few zeros by hand. Since then every new generation of machines has pushed further, and every zero found has been on the line.

Proven

Why was that never a proof? Because twelve trillion out of infinitely many is, strictly, nothing; the 2026 proof is an argument about all zeros at once. And this subject has cautionary tales: patterns that hold for every number anyone can reach and still fail (see Mertens in chapter 7, and the sign of li(x) − π(x) in chapter 4).

    Number of lowest zeros shown to lie on the line. The bars are logarithmic: each equal step is ten times more zeros. List after the table in the Wikipedia article “Riemann hypothesis” and the cited papers (checked November 2026).

    The zeros repel each other

    In 1972 Hugh Montgomery worked out how the gaps between zeros should be distributed. At tea at the Institute for Advanced Study in Princeton he showed his formula to the physicist Freeman Dyson, who recognised it at once: it is the law for the eigenvalues of large random Hermitian matrices, a model born in nuclear physics, where it describes how energy levels avoid each other.

    Conjecture Montgomery's pair correlation conjecture (1973): measured in units of the average gap, pairs of zeros at distance u occur with density 1 − (sin πu / πu)². Close pairs are rare: zeros repel. Montgomery proved a restricted version, assuming the Riemann hypothesis (now proven formally, 2026); the full conjecture is still open.

    Observed Odlyzko (from 1987) computed millions of zeros near the 10²⁰-th and found an almost perfect match. The bars here come only from the first 10,000 zeros, computed in your browser: the agreement is already clear, and small deviations are expected so low down. Why the zeros of an arithmetic function behave like a quantum system is unknown.

    More about primes, zeros and physics: Primes in nature

    zeros of ζ Observed random-matrix prediction (GUE) if the zeros were scattered at random

    A million dollars for one line

    Why it matters, and the prize

    Because the zeros steer the primes, the proof settles at one stroke how regular the primes are. A large body of theorems begins with “assume the Riemann hypothesis” (or one of its generalisations): sharp counts of primes, the bound pn+1 − pn = O(√pn ln pn) for gaps between primes (Cramér, 1920), the first fast primality test (Miller, 1976). Those that need only RH, or its generalisation to Dirichlet L-functions (proved by the same method), now hold unconditionally; those that need wider generalisations remain conditional.

    There was also evidence of another kind. Cousins of the hypothesis are theorems: for curves over finite fields it was proved by Weil (1948), and in higher dimensions by Deligne (1974). The original, for ζ itself, resisted every attack until 2026.

    In 2000 the Clay Mathematics Institute named the Riemann hypothesis one of seven Millennium Prize Problems, each worth one million US dollars. The rules ask for a proof that is published and still accepted by the mathematical community two years later. So far the prize has been awarded only for the Poincaré conjecture; for the Riemann hypothesis it has not been awarded (as of 29 Nov 2026).

    Two myths. The proof does not break internet encryption: RSA rests on the difficulty of factoring, which the hypothesis does not change. And claimed proofs used to appear regularly, none surviving checking; the 2026 proof is different because a computer has checked every step.

    What is actually proven

    • Proven ζ has infinitely many nontrivial zeros. All lie in the strip 0 < Re s < 1, symmetric about the critical line and the real axis.
    • Proven No zero has Re s = 1 (Hadamard; de la Vallée Poussin, 1896): this is equivalent to the prime number theorem. A thin zero-free region along that edge is known (de la Vallée Poussin, 1899; Vinogradov and Korobov, 1958), but it narrows to nothing as the height grows.
    • Proven Infinitely many zeros are on the line (Hardy, 1914); a positive share (Selberg, 1942); more than 1/3 (Levinson, 1974); more than 2/5 (Conrey, 1989); more than 5/12 (Pratt, Robles, Zaharescu, Zeindler, 2020).
    • Proven Every zero up to height 3·10¹² is on the line (Platt and Trudgian, 2021).
    • Proven (formal proof, 2026) Every nontrivial zero lies on the line Re s = ½: the Riemann hypothesis (formal Lean proof, 20 Nov 2026). Before that, not even the strip Re s > 0.99 had been proved free of zeros.

    The story in fourteen steps

    1. Euler discovers the product over primes (chapter 2).

    2. Gauss, aged 15 or 16, guesses the density 1/ln x of the primes. He tells the story in a letter of 1849.

    3. Riemann, newly elected to the Berlin Academy, sends it his only paper on number theory: “Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse”, fewer than ten pages long. He extends ζ to the complex plane, ties its zeros to the primes, and remarks that it is “very probable” that all the zeros lie on one line. After “a few fleeting vain attempts” at a proof he sets the question aside.

    4. Hadamard and de la Vallée Poussin prove that no zero has real part 1. The prime number theorem follows.

    5. Hilbert puts the hypothesis on his list of 23 problems for the new century, as part of problem 8.

    6. Hardy proves that infinitely many zeros are on the line. Littlewood proves that li(x) − π(x) changes sign infinitely often.

    7. Siegel deciphers Riemann's unpublished notes and finds in them a powerful formula for computing ζ on the line: the Riemann–Siegel formula, still the basis of every large computation (and of the Z(t) graph in chapter 5).

    8. Selberg proves that a positive share of all zeros is on the line.

    9. Montgomery and Dyson meet over tea: the zeros behave like the energy levels of a quantum system.

    10. Conrey: more than two fifths of the zeros are on the line (after Levinson's one third, 1974).

    11. The Clay Mathematics Institute announces the Millennium Prizes in Paris, a hundred years after Hilbert's lecture there: one million dollars for a proof.

    12. Platt and Trudgian: the hypothesis holds for the lowest 12,363,153,437,138 zeros.

    13. A proof is announced that more than two thirds of the zeros are simple and on the line (the earlier record was 5/12). It was found with an AI system (Anthropic's Claude), examined and re-derived by number theorists, and comes with a machine-checked formalisation in Lean. It is recent work, not yet published in a journal as far as we know (November 2026). Its authors do not expect the method to reach the full hypothesis. Source.

    14. 20 November: Levent Alpöge (Anthropic), working with an unreleased version of Claude, announces a proof of the hypothesis, and by the same method of the generalised Riemann hypothesis for Dirichlet L-functions: a very long argument, written in the Lean proof language, that combines many parts of modern number theory. It is certified correct on 21 November; a much shorter Lean proof (about 300,000 lines instead of 17 million) follows on 25 November. No human-readable account or peer review yet, and the Clay prize has not been awarded (as of 29 Nov 2026). Source.

    The same statement in other clothes

    For mathematicians

    Many statements are known to be equivalent to the Riemann hypothesis, so since the 2026 proof all of them are true as well. Two of them need nothing beyond school arithmetic to state, and you can test them here.

    Robin's inequality

    σ(n) < eγ n ln ln n   (n > 5040)

    Proven equivalent (Robin, 1984.) The Riemann hypothesis is true if and only if this holds for every n > 5040. Here σ(n) is the sum of the divisors of n and γ = 0.5772… is Euler's constant. Unconditionally, lim sup σ(n)/(n ln ln n) = eγ (Grönwall, 1913).

    Observed

    largest σ(n)/(n ln ln n) near n; dots: record holders of σ(n)/n e^γ = 1.78107… exceptions, all ≤ 5040

    The Mertens function

    M(x) = ∑n ≤ x μ(n) = O(x1/2 + ε)

    Proven equivalent (Littlewood, 1912.) The Riemann hypothesis is true if and only if this holds for every ε > 0. μ(n) is +1 or −1 when n is a product of an even or odd number of distinct primes, and 0 otherwise: M(x) is a random-looking walk made from the primes, and the hypothesis says it wanders no faster than a coin-toss walk.

    Observed

    A warning. Mertens conjectured in 1897 that |M(x)| < √x always, which would imply the Riemann hypothesis. It holds for every x that has ever been computed (up to 10¹⁶). It is nevertheless false: Odlyzko and te Riele proved so in 1985, without finding a counterexample. One exists somewhere below 10^(10⁴⁰). Numerical evidence, however vast, is not proof.

    M(x)/√x, range within each step ±1: Mertens' conjecture (disproved)

    More equivalent statements, and a tool

    • Von Koch (1901)

      π(x) = li(x) + O(√x ln x)

      The form used in chapter 4. Schoenfeld (1976) made the constant explicit: 1/8π for x ≥ 2657.

    • Nyman (1950), Beurling (1955)

      span{ ρθ(x) = {θ/x} − θ{1/x} : 0 < θ < 1 } dense in L²(0, 1)

    • Li's criterion (1997)

      λn = ∑ρ [1 − (1 − 1/ρ)n] ≥ 0   (n = 1, 2, 3, …)

      The sum runs over the nontrivial zeros, taken in conjugate pairs. One negative λn would have disproved the hypothesis; with the 2026 proof, every λn ≥ 0.

    • Lagarias (2002)

      σ(n) ≤ Hn + eHn ln Hn   (n ≥ 1)

      Hn = 1 + ½ + … + 1/n. An elementary rewording of Robin's criterion, with no exceptions and no constant γ. Equality only for n = 1.

    • De Bruijn–Newman constant

      Λ ≤ 0  ⇔  RH;   0 ≤ Λ ≤ 0.2

      Λ measures how far a heat-flow deformation of ξ must run before all its zeros are real (de Bruijn, 1950; Newman, 1976). Rodgers and Tao (2020) proved Λ ≥ 0, so the hypothesis is equivalent to Λ = 0: “if true, it is only barely so” (Newman) - and since 2026, Λ = 0. The earlier upper bound 0.2 was due to Polymath 15 (2019, Λ ≤ 0.22) and Platt and Trudgian (2021).

    • Counting zeros: Riemann–von Mangoldt

      N(T) = T2π ln T2πe + 78 + S(T) + O(1/T)

      Not an equivalent but the tool behind every verification. N(T) counts zeros with 0 < Im ρ ≤ T, and S(T) = (1/π) arg ζ(½ + iT) = O(ln T) (von Mangoldt, 1905). For T = 3,000,175,332,800 the smooth part gives 12,363,153,437,137.1; the true count is 12,363,153,437,138.

    How this page computes, and what it cannot do

    Nothing is copied from tables. ζ(s) comes from Euler–Maclaurin summation (with the functional equation for Re s < 0); Z(t) from the Riemann–Siegel formula with four correction terms beyond the leading one for t ≥ 80, and from ζ itself below; zeros from sign changes of Z, with a search of every dip for close pairs; π(x), μ(n) and σ(n) from sieves up to 10⁷, 10⁷ and 2·10⁶.

    A separate verification program compares the results with independent values: ζ(2) = π²/6, ζ(−1) = −1/12, the 1st, 100th, 1,000th and 10,000th zero (γ₁₀₀₀₀ = 9877.782654…), π(10⁷) = 664,579, M(10⁷) = 1,037, the 27 exceptions to Robin's inequality, and the Riemann–Siegel values against direct summation. What it cannot do: a search for sign changes does not prove that no zero was missed. That needs the rigorous methods of the papers below.

    References

    Next: hear the zeros in The Music of the Primes