Trillions of computed zeros lay on the line, and number theory is full of patterns that held just as long before failing. Meet Skewes’ number, the Mertens conjecture and a pair of zeros that almost was not there, and see why the evidence was never the proof
More than ten trillion zeros have been checked, and every one is on the critical line. In most sciences that would settle the matter. In number theory it does not: this is a field full of patterns that held in every case anyone could compute and then failed at numbers too large to write down. This lesson meets three of them and asks what the evidence for the Riemann hypothesis was ever worth. The hypothesis was proved in November 2026, and the proof did not come from computing more zeros.
The amber band is every x up to ten million: li(x) is ahead throughout. Press the buttons for the region near 1.4 × 10316 and slide K to see what the browser’s zeros say about a place no sieve will ever reach.
| Year | Who | What | Standing |
|---|---|---|---|
| 1914 | J. E. Littlewood | π(x) − li(x) changes sign infinitely often. The proof gives no value of x. source | theorem |
| 1933 | Stanley Skewes | From the Riemann hypothesis, an assumption then and a theorem since November 2026: a crossing below eee79, which is less than 10101034. source | theorem |
| 1955 | Stanley Skewes | Without the hypothesis, a crossing below eeee7.705, which is less than 101010964. source | theorem |
| 1966 | R. Sherman Lehman | A crossing between 1.53 × 101165 and 1.65 × 101165, by a new method: average the explicit formula against a Gaussian and bound what is left out. source | theorem |
| 1987 | Herman te Riele | A crossing below 7 × 10370. source | theorem |
| 2000 | Carter Bays and Richard Hudson | A crossing near 1.39822 × 10316, using the first million zeros. source | theorem |
| 2010 | Kuok Fai Chao and Roger Plymen | A sharper interval, between e727.951858 and e727.952178, using ten million zeros. source | theorem |
| 2010 | Yannick Saouter and Patrick Demichel | A crossing between e727.95132478 and e727.95134682, about 1.397 × 10316, using 22 million zeros. source | theorem |
| 2011 | Douglas Stoll and Patrick Demichel | Evidence from up to 2 × 1011 zeros that the first crossing is near 1.397162914 × 10316. Evidence, not a proof that there is none earlier. source | numerical evidence |
| 2015 | Yannick Saouter, Timothy Trudgian and Patrick Demichel | A slightly smaller upper bound in the same region, still close to e727.9513. source | theorem |
| 2018 | Jan Büthe | li(x) − π(x) is positive for every x from 2 to 1019 (preprint 2015, printed 2018). source | theorem |
The formula is −1 − 2/u − 2 ∑ Re[eiγu/ρ · (1 + 1/(ρu))] over the first K zeros ρ = ½ + iγ, with u = ln x, plus exponentially small terms; it uses the fact that the zeros are on the line, proved in November 2026 (the browser itself only found a sign change of Z for each). With Lehman’s kernel each wave is multiplied by exp(−γ²σ²/2), with σ set so that the K-th zero is damped to e−4.5: this is the average of the true quantity over a window of width σ in u, and it is what the published searches bound rigorously. The density is the chance that −1 + ∑ (2/|ρ|) cos(angle) exceeds 0 when the angles are independent and uniform, found by Fourier inversion of its characteristic function ∏ J0(2t/|ρ|), with a Gaussian standing in for the zeros beyond the K-th. That the angles behave independently is a conjecture (linear independence of the γ), so the density is conditional on it; the hypothesis itself, which the calculation also needs, is a theorem since November 2026. Sampling cannot confirm a density near one in four million: 20,000 samples would be expected to contain none. Everything here is double-precision arithmetic.
In every table of primes ever made, li(x) is larger than π(x). Gauss and Riemann both took this to be a permanent feature. The explicit formula shows where the lead comes from. Riemann’s formula counts prime powers pk with weight 1/k, so to isolate the primes one has to take the squares of primes back out, at weight ½, and there are about li(√x) of those. After dividing by √x/ln x, that correction is the constant −1 in
(π(x) − li(x)) · ln x / √x ≈ −1 − 2 ∑γ > 0 sin(γ ln x)/γ
which is the leading part of what the demo plots (it keeps more terms, listed under the chart). The formula in this form uses the fact that the zeros are on the line. The sum over zeros averages to zero, so li(x) leads by one unit on this scale, and the waves 2 sin(γu)/γ are individually much smaller than 1: the first is 0.14 high. To overcome the −1, many waves have to peak at once.
That they sometimes do is a theorem. John Littlewood proved in 1914 that π(x) − li(x) changes sign infinitely often, by an argument that gives no idea where. Stanley Skewes, his student, gave the first bound in 1933: assuming the Riemann hypothesis, as one then had to, a crossing below eee79, which is less than 10101034; in 1955, without the hypothesis, a far larger bound. For a time these were the largest numbers to have played a part in a proof. Sherman Lehman (1966) found the method still in use: average the formula against a narrow Gaussian, which makes the sum over zeros converge quickly, and bound everything left out. With it Carter Bays and Richard Hudson (2000) found a crossing near 1.39822 × 10316 using a million zeros, and Yannick Saouter and Patrick Demichel (2010) another slightly lower, below e727.9513468 ≈ 1.397 × 10316. Whether that is the first crossing is not proved. It is proved that there is none below 1019 (Jan Büthe).
How often is π(x) ahead? Michael Rubinstein and Peter Sarnak (1994) showed that, if the hypothesis holds and the heights γ satisfy no linear relation with rational coefficients, the set of x with π(x) > li(x) has a logarithmic density, meaning a proportion measured in ln x, and they computed it: about 0.00000026. The demo repeats their computation with the browser’s zeros. The first assumption has been a theorem since November 2026. The second, the linear independence of the heights, is still a conjecture, so the density is still conditional. The lesson for evidence is the size of the numbers: a statement checked for every x up to 1019 is false, and it is false because the sum that governs it has thousands of terms that almost never agree. See also: The Prime Staircase, for li(x) against π(x), and Primes from Zeros, for the explicit formula.
The amber band stays well inside the rose lines at ±√x for every x up to ten million. Raise K, then press Search and try to find a place where the waves from the zeros line up and break the bound.
| Year | Who | What | Standing |
|---|---|---|---|
| 1885 | Thomas Stieltjes | Announced a proof that M(x)/√x stays bounded, which would have given the Riemann hypothesis. No proof was ever published. source | claim or conjecture |
| 1897 | Franz Mertens | Tabulated M(x) up to 10,000 and concluded that |M(x)| < √x is very probable. source | claim or conjecture |
| 1942 | Albert Ingham | If the heights of the zeros are linearly independent over the rationals, M(x)/√x is unbounded: the first serious doubt. source | assumes a hypothesis |
| 1985 | Andrew Odlyzko and Herman te Riele | Disproof: limsup M(x)/√x > 1.06 and liminf < −1.009, from 2,000 zeros computed to 100 decimals and lattice basis reduction. No x is exhibited. source | theorem |
| 1987 | János Pintz | A counterexample exists below exp(3.21 × 1064). source | theorem |
| 2006 | Tadej Kotnik and Herman te Riele | A counterexample exists below exp(1.59 × 1040). source | theorem |
| 2015 | Darcy Best and Timothy Trudgian | limsup M(x)/√x > 1.6383 and liminf < −1.6383. source | theorem |
| 2018 | Greg Hurst | M(x) computed for every x up to 1016 with no counterexample; limsup > 1.826054 and liminf < −1.837625. source | theorem |
| 2023 | John Rozmarynowycz and Seungki Kim | A counterexample exists below exp(1.017 × 1029). source | theorem |
| 2024 | Seungki Kim and Phong Nguyen | A counterexample exists below about exp(1.96 × 1019): the smallest bound published as this page was written. source | theorem |
If every zero is simple (the hypothesis itself is a theorem since November 2026), M(x)/√x = 2 ∑ Re[eiγu/(ρ ζ′(ρ))] − 2/√x plus a smaller term from the trivial zeros, with u = ln x and the sum taken over zeros ρ = ½ + iγ in a suitable order. The browser finds each γ, differentiates ζ there (Euler–Maclaurin summation, differentiated term by term) and adds the first K waves. Nothing about the primes goes into the fuchsia curve in the top chart; the amber band is a separate sieve of the Möbius function. The search tries random values of u from 20 upwards and climbs to the nearest peak or trough. Beyond x = e1,000,000 the phases γu could no longer be trusted in double precision, which is why the search stops there. No x with |M(x)| > √x has ever been exhibited by anyone.
M(x) adds up the Möbius function μ(n) for n ≤ x: +1 for a product of an even number of distinct primes, −1 for an odd number, 0 if a square divides n. The Riemann hypothesis is equivalent to M(x) growing more slowly than x½ + ε for every ε > 0. In 1885 Thomas Stieltjes announced a proof that M(x)/√x stays bounded, which would have settled the hypothesis; no proof ever appeared. In 1897 Franz Mertens tabulated M(x) up to 10,000 and proposed |M(x)| < √x. Past the first few dozen x and up to 1016, the ratio has never been seen outside about ±0.6.
The formula in the demo shows why the bound is too much to ask. The hypothesis is now a theorem; if in addition the zeros are simple, which is not proved,
M(x)/√x = 2 ∑γ > 0 Re[xiγ / (ρ ζ′(ρ))] + O(1/√x)
and the sizes 2/|ρ ζ′(ρ)| of the waves add up to infinity, though very slowly. Albert Ingham showed in 1942 that if the heights γ are linearly independent over the rationals then the waves can be brought as nearly into step as one likes, so M(x)/√x is unbounded. In 1985 Andrew Odlyzko and Herman te Riele made a weaker version of that rigorous. They needed a single u = ln x at which the 70 largest waves nearly all peak together, which is a problem of approximating many real numbers at once by fractions with a common denominator. The tool was the lattice basis reduction algorithm of Arjen Lenstra, Hendrik Lenstra and László Lovász, published three years earlier. The result is that M(x)/√x exceeds 1.06 somewhere and falls below −1.009 somewhere. Nobody has exhibited such an x. The first one lies above 1016 (Greg Hurst) and below about exp(1.96 × 1019) (Seungki Kim and Phong Nguyen, 2024), down from exp(1.59 × 1040) in 2006.
What is left? It is widely believed, and not proved, that M(x)/√x is unbounded; Steven Gonek conjectured that its largest values grow like (ln ln ln x)5/4, and Nathan Ng (2004) gave a heuristic for that. Between 1016 and the bound above, that function rises only from about 1.4 to about 5. The weak Mertens conjecture, that the average of (M(x)/x)² against dx grows no faster than ln x, is still open; it implies the hypothesis, which is now known, and that every zero is simple, which is not. A bound verified over sixteen orders of magnitude failed because the function in charge is an iterated logarithm. See also: The Hypothesis in Disguise, for the Möbius function as a random walk, and Cryptography in P versus NP, where lattice problems reappear.
Press Play and zoom in on a place where the curve seems to touch the axis without crossing, which the hypothesis, now a theorem, forbids. Then lower the threshold to find other close pairs, and look at how little of the scale that matters has ever been computed.
| Zeros | Heights | Gap ÷ mean spacing | Arch | Show |
|---|---|---|---|---|
| Scanning… | ||||
| Pattern | First failure | Digits | Shown false by | In this browser |
|---|---|---|---|---|
Primes 4k + 3 stay ahead of primes 4k + 1 Counting primes up to x, those leaving remainder 3 on division by 4 are at least as many as those leaving remainder 1. Observed by Chebyshev, 1853. | x = 26,861 The lead changes hands infinitely often, but 4k + 3 is ahead most of the time. source | 5 | John Leech, 1957 | … |
Gram’s law Exactly one zero of Z lies between each Gram point and the next, so ζ is positive at every Gram point. Observed by Gram for the first fifteen zeros, 1903. | Gram point n = 126 The 127th zero and the Gram point before it are in the wrong order. The law is known to fail infinitely often. source | 3 | John Hutchinson, 1925 | … |
Pólya’s conjecture Up to any x ≥ 2, the numbers with an odd number of prime factors are at least as many as those with an even number. George Pólya, 1919. | x = 906,150,257 Haselgrove’s disproof used zeros of zeta and exhibited no example. Sherman Lehman found one in 1960 and Minoru Tanaka the first, in 1980. source | 9 | Brian Haselgrove, 1958 | … |
Rosser’s rule Every block of Gram intervals between two good Gram points holds as many zeros as it has intervals. Rosser, Yohe and Schoenfeld, 1968: no exception among the first 3.5 million zeros. | Gram point n = 13,999,525 Like Gram’s law it has infinitely many exceptions. It is still used, with a check, to organise computations. source | 8 | Richard Brent, 1979 | … |
Mertens’s conjecture |M(x)| < √x for every x > 1, where M(x) adds up the Möbius function. Franz Mertens, 1897, from a table up to 10,000. | unknown: above 1016, below exp(1.96 × 1019) No counterexample has ever been exhibited. The upper bound is a number with about 8.5 × 1018 digits. source | at most about 8.5 × 1018 | Andrew Odlyzko and Herman te Riele, 1985 | … |
li(x) stays ahead of π(x) li(x) > π(x) for every x ≥ 2. True in every table; believed by Gauss and by Riemann. | believed near 1.397 × 10316; proved to lie above 1019 A crossing in that region is proved; that it is the first is supported by computation only. source | at most 317 | J. E. Littlewood, 1914 | … |
The scan evaluates Z twelve times in every mean spacing and records a zero at each sign change. Where |Z| dips without changing sign on that grid, it follows the dip to its bottom to see whether the curve crosses after all, which is how a pair closer than the grid is found; the total is then checked against the Riemann–von Mangoldt count. Heights on the last chart are computed from the number of zeros each project checked, by inverting the smooth counting formula. All of it is double-precision arithmetic: a rigorous verification, such as Platt and Trudgian’s of 2021, uses interval arithmetic and Turing’s method to prove that no zero has been missed. The typical size of S(T) and of ln |ζ(½ + iT)| grows like √(ln ln T) (Selberg), which is why ln ln T is the scale to watch.
Derrick Lehmer’s computations of 1956, which reached the first 25,000 zeros, met zeros number 6,709 and 6,710 only 0.038 apart, with Z rising to 0.004 between them. The hypothesis makes Z′/Z monotonic between consecutive zeros (for t beyond a small bound), so Z cannot have a positive local minimum or a negative local maximum. An arch that stopped short of the axis would therefore have been a counterexample, and this one clears it by very little. Was that alarming? If the zeros are spaced like the eigenvalues of large random Hermitian matrices, as Montgomery’s conjecture and Odlyzko’s computations suggest, the chance that a gap is below a small fraction δ of the mean is about 1.08 δ³. For δ = 0.042 and ten thousand zeros that predicts about one such pair, which is what the scan finds. That is a heuristic, and it says close pairs are expected. See also: Riemannium in Random Matrix Theory.
The deeper worry is about scale. The quantities that control rare behaviour of ζ on the line, such as S(T) and ln |ζ(½ + iT)|, have typical size √(ln ln T) by a theorem of Atle Selberg. From Gram’s calculation in 1903 to the rigorous verification by David Platt and Timothy Trudgian in 2021, which covers every zero up to height 3 × 1012, ln ln T has gone from about 1.4 to about 3.4. In that range |S(T)| has never been found much larger than 3, yet it is known to be unbounded. David Farmer argued in 2022 that the zeta function within reach of computers is not representative of the function at large heights. The same observation cut both ways: it weakened the numerical case for the hypothesis and equally the case that near misses were a sign of trouble.
What the computations did establish is specific: the first 1.2 × 1013 zeros are on the line and simple, and the statistics of zeros near the 1022-nd, computed by Andrew Odlyzko, match the random-matrix prediction closely. What most number theorists found persuasive before the proof was structural instead. The analogue of the hypothesis was already a theorem for curves over finite fields (André Weil) and for varieties in general (Pierre Deligne, 1974). Many other L-functions show the same behaviour in every computation. And consequences of the hypothesis kept being proved by other means. See also: Where the Hypothesis Is a Theorem and A Family of Zeta Functions.
There have always been sceptics. Littlewood wrote in 1962 that he believed the hypothesis false and saw no reason for it to be true. Aleksandar Ivić set out reasons for doubt in 2003, Lehmer’s phenomenon among them. Richard Guy’s “strong law of small numbers” (1988) is the general warning: there aren’t enough small numbers to meet the many demands made of them, and in this problem every number that has ever been computed is small. No amount of such evidence could settle the hypothesis, and none did. It was proved in November 2026 by a machine-checked argument about every zero at once, and not by computing more of them. The sceptics were wrong about the answer and right about the evidence. See also: What Is Actually Known and Proving There Are No Others, for S(T) and Turing’s method.
Spot a mistake or have an idea?