← All writing

I tried to solve the Riemann Hypothesis. Here's the evidence.

I set out to do everything I could to test the Riemann Hypothesis and show the evidence. Here's the honest result up front: I did not prove it, and no computer check can. What I did instead is what mathematicians do to test it. I ran three independent checks, each of which would have caught a counterexample, and published every step, number and line of code. The hypothesis survived all three.

Zeros checked30,001All on the critical line
Robin's test0Counterexamples up to 10 million, and in numbers up to 50,003 digits
Prime counting0Breaks of the RH bound up to 100,000,000

The problem in one paragraph

The Riemann zeta function takes a complex number s and adds up 1 + 1/2s + 1/3s + 1/4s + …, extended to the whole plane. It equals zero at certain points called its nontrivial zeros, which all live in a strip between real part 0 and 1. In 1859 Bernhard Riemann guessed that every one of them sits exactly on the middle line, real part ½. If he was right, we know precisely how evenly the prime numbers are spread out. Nobody has proved it in 165 years, and it carries a $1 million prize.

The equations, ready to copy

Plain text first, then LaTeX. Select a box to copy it.

ζ(s) = Σ_{n=1}^∞ 1/n^s = 1 + 1/2^s + 1/3^s + … (for Re(s) > 1) ζ(s) = ∏_p 1/(1 − p^(−s)) (Euler product over primes p, Re(s) > 1) ζ(s) = 2^s · π^(s−1) · sin(πs/2) · Γ(1−s) · ζ(1−s) (functional equation) Riemann Hypothesis: every nontrivial zero ρ of ζ(s) has Re(ρ) = 1/2, so ρ = 1/2 + it
\zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^{s}}, \quad \operatorname{Re}(s) > 1 \zeta(s) = \prod_{p \text{ prime}} \frac{1}{1 - p^{-s}} \zeta(s) = 2^{s} \pi^{s-1} \sin\!\left(\frac{\pi s}{2}\right) \Gamma(1-s)\, \zeta(1-s) \zeta(\rho) = 0,\ 0 < \operatorname{Re}(\rho) < 1 \implies \operatorname{Re}(\rho) = \tfrac{1}{2}

Check 1: are the zeros on the line?

On the middle line, zeta can be rewritten as a real-valued function called Z(t). That makes zeros easy to see: every time Z(t) crosses from positive to negative or back, there is a zero exactly on the line. Here are the first ones:

-4-2024t = 0t = 10t = 20t = 30t = 40t = 50t = 60zero at t = 14.134725zero at t = 21.022040zero at t = 25.010858zero at t = 30.424876zero at t = 32.935062zero at t = 37.586178zero at t = 40.918719zero at t = 43.327073zero at t = 48.005151zero at t = 49.773832zero at t = 52.970321zero at t = 56.446248zero at t = 59.347044
Z(t) for t from 0 to 60. Each dot is a zero of zeta, exactly on the critical line. The first is at t = 14.134725…

But crossings only find zeros on the line. To be sure none are hiding off it, I counted the zeros a second, independent way. The Riemann–von Mangoldt formula counts every zero in the whole strip, on the line or not, by tracking how far zeta's angle turns. If the two counts match, there's nowhere left for an off-line zero to hide.

Height checked (t up to)25,755.99
Zeros found on the line (sign changes of Z)30,001
Zeros in the whole strip (Riemann–von Mangoldt formula)30,001.0000 → 30,001
Same count from mpmath's own counter30,001
Places where the easy pattern (Gram's law) failed and a finer search was needed2,932
Intervals that needed that finer search2,772
Unresolved cases0
Computer timeAbout 10 hours on a laptop, 10 cores

Result: every one of the first 30,001 zeros is on the critical line. As a cross-check, I computed the first 100 zeros to 15 digits two different ways (mpmath's zero-finder, and my own bisection on Z). The largest disagreement was 2.8e-14. They're listed at the bottom of this page.

How strict is this? It is a numerical computation, done with the mpmath library at 20 significant digits. It is not a certified one: the published verifications use interval arithmetic, which carries a guaranteed error bound through every step, and mine does not. What protects it is that three separate counts agree: the sign changes of Z, the Riemann–von Mangoldt formula, and mpmath's own zero counter all give exactly 30,001.

Check 2: Robin's inequality

In 1984 Guy Robin found a test that involves no complex numbers at all. Add up the divisors of a number n and call it σ(n); for example, σ(12) = 1+2+3+4+6+12 = 28. Robin proved that the Riemann Hypothesis is true if and only if

σ(n) < eγ · n · ln(ln n)   for every n > 5040

where eγ ≈ 1.78107. So one number above 5040 that breaks it would disprove RH and win the prize.

What was already known. This range has been covered many times over. Keith Briggs (2006) and then Thomas Morrill and David Platt (2021) checked Robin's inequality, with interval arithmetic, for every n from 5,041 up to 101013.11485, a number with more than ten trillion digits. My largest test number has 50,003 digits. So this check reproduces a small part of their result. It does not extend it.

1.701.721.741.761.7810 digits100 digits1,000 digits10,000 digitslimit e^γ = 1.78107
Robin's ratio σ(n) / (n ln ln n) for colossally abundant numbers. It creeps up toward the limit as the numbers grow (the gap is down to 0.00037 at 49,998 digits) but never crosses it. RH says it never will.

Check 3: counting primes

The whole point of RH is the primes. π(x), the number of primes up to x, is closely tracked by a smooth curve called li(x). Lowell Schoenfeld proved in 1976 that if RH is true, the error is always smaller than the bound below. The reverse also holds: an error that stays this small for every x forces RH to be true. So RH is true if and only if

| π(x) − li(x) | < √x · ln x / (8π)   for every x ≥ 2657

I found all 5,761,455 primes up to 100,000,000, matching the known count exactly, and checked the bound at both ends of every gap between consecutive primes. That covers every x in range, not just samples: 5,761,071 gaps and 0 violations.

What was already known. Up to 100 million this is not an open question. Daniel Johnston (2022), building on a method of Jan Büthe and on the verification of the zeros up to height 3 × 1012, proved that the inequality holds for every x from 2,657 to 1.101 × 1026, with no assumption about RH. My check independently reproduces about one part in a billion billion of that range. One note on precision: I computed li(x) with ordinary 64-bit floating point, and it agrees with mpmath's high-precision value to about 0.0003, while the bound it is compared against is never smaller than 16.

-6,000-4,000-2,00002,0004,0006,000x = 10^4x = 10^5x = 10^6x = 10^7x = 10^8
The real error π(x) − li(x) (the line) against the band RH allows (shaded). The tightest point is right at the start, x = 2657, at 98% of the bound, which is why Schoenfeld chose that starting point. By 100 million the error uses only about 10% of the room.

What is new here, and what isn't

Nothing on this page is a new mathematical result. Each check repeats, at laptop scale, something that has been done far more thoroughly in published work. What I added is an independent rerun with all the code and numbers in the open.

CheckWhat I ranWhat is published
Zeros on the lineThe first 30,001 zeros, up to height 25,756Every zero up to height 3 × 1012, about 12 trillion of them (Platt and Trudgian, 2021)
Robin's inequalityEvery n up to 10 million, plus 11,026 special numbers of up to 50,003 digitsEvery n up to 101013.11485 (Morrill and Platt, 2021)
Prime counting boundEvery x up to 100 millionEvery x up to 1.101 × 1026 (Johnston, 2022)

It also helps to keep three things apart, because they are easy to blur:

Why this still isn't a proof

Every check above looks at finitely many cases. The hypothesis is about infinitely many, and math has burned people who trusted examples:

A proof needs an argument that covers every zero at once. The serious approaches include finding a physical system whose energy levels are the zeros (the Hilbert–Pólya idea), and pinning the de Bruijn–Newman constant Λ, since RH is equivalent to Λ = 0. Rodgers and Tao proved Λ ≥ 0 (preprint 2018, published in 2020), and a large online collaboration showed Λ ≤ 0.22. Closing that gap to exactly zero is the whole problem. I don't have a new idea that does it, and if I claimed one you should be very suspicious.

What this page is. An honest, reproducible test of the Riemann Hypothesis on a laptop, in which every check would have caught a counterexample in its range and none did. It is not a proof, it doesn't extend the record, and it doesn't claim the prize.

Check it yourself

Everything is published so anyone can rerun it. You need Python 3 and two libraries, mpmath and numpy. Download the three scripts below into one folder, then:

python3 -m venv rh source rh/bin/activate pip install mpmath numpy python check1_zeros.py 1000 python check2_robin.py 10000000 50000 python check3_primes.py

I reran all three from a clean install on November 10, 2026, with Python 3.9.6, mpmath 1.4.1 and numpy 2.0.2 on a 10-core Apple M5 laptop. Every number matched the published result files exactly. The runs took about 51 seconds, 6 seconds and 1 second.

Sources

  1. B. Riemann (1859). Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse. Monatsberichte der Berliner Akademie. The paper that states the hypothesis.
  2. H. M. Edwards (1974). Riemann's Zeta Function. Academic Press. Background for Z(t), Gram points and the Riemann–von Mangoldt formula used in Check 1.
  3. D. Platt and T. Trudgian (2021). The Riemann hypothesis is true up to 3·1012. Bulletin of the London Mathematical Society 53, 792–797.
  4. X. Gourdon (2004). The 1013 first zeros of the Riemann zeta function, and zeros computation at very large height. Unpublished report; the source for "more than ten trillion" zeros checked.
  5. G. Robin (1984). Grandes valeurs de la fonction somme des diviseurs et hypothèse de Riemann. Journal de Mathématiques Pures et Appliquées 63, 187–213.
  6. K. Briggs (2006). Abundant numbers and the Riemann hypothesis. Experimental Mathematics 15, 251–256.
  7. T. Morrill and D. J. Platt (2021). Robin's inequality for 20-free integers. Integers 21, A28. arXiv:1809.10813.
  8. L. Schoenfeld (1976). Sharper bounds for the Chebyshev functions θ(x) and ψ(x). II. Mathematics of Computation 30, 337–360.
  9. J. Büthe (2018). An analytic method for bounding ψ(x). Mathematics of Computation 87, 1991–2009. arXiv:1511.02032.
  10. D. R. Johnston (2022). Improving bounds on prime counting functions by partial verification of the Riemann hypothesis. The Ramanujan Journal. doi:10.1007/s11139-022-00616-x, arXiv:2109.02249.
  11. J. E. Littlewood (1914). Sur la distribution des nombres premiers. Comptes Rendus de l'Académie des Sciences 158, 1869–1872.
  12. A. M. Odlyzko and H. J. J. te Riele (1985). Disproof of the Mertens conjecture. Journal für die reine und angewandte Mathematik 357, 138–160.
  13. B. Rodgers and T. Tao (2020). The de Bruijn–Newman constant is non-negative. Forum of Mathematics, Pi 8, e6.
  14. D. H. J. Polymath (2019). Effective approximation of heat flow evolution of the Riemann ξ function, and a new upper bound for the de Bruijn–Newman constant. Research in the Mathematical Sciences 6, 31.

The first 100 zeros

Imaginary parts of the first 100 zeros, all with real part ½, found two independent ways. Shown to 15 significant digits, 99 of the 100 rows are identical in both columns, and the other differs only in the last digit.

Show all 100 zeros
#mpmath zetazeroMy bisection on Z(t)
1½ + 14.1347251417347 i½ + 14.1347251417347 i
2½ + 21.0220396387716 i½ + 21.0220396387716 i
3½ + 25.0108575801457 i½ + 25.0108575801457 i
4½ + 30.4248761258595 i½ + 30.4248761258595 i
5½ + 32.9350615877392 i½ + 32.9350615877392 i
6½ + 37.5861781588257 i½ + 37.5861781588257 i
7½ + 40.9187190121475 i½ + 40.9187190121475 i
8½ + 43.327073280915 i½ + 43.327073280915 i
9½ + 48.0051508811672 i½ + 48.0051508811672 i
10½ + 49.7738324776723 i½ + 49.7738324776723 i
11½ + 52.9703214777145 i½ + 52.9703214777145 i
12½ + 56.4462476970634 i½ + 56.4462476970634 i
13½ + 59.3470440026024 i½ + 59.3470440026024 i
14½ + 60.8317785246098 i½ + 60.8317785246098 i
15½ + 65.1125440480816 i½ + 65.1125440480816 i
16½ + 67.0798105294942 i½ + 67.0798105294942 i
17½ + 69.546401711174 i½ + 69.546401711174 i
18½ + 72.0671576744819 i½ + 72.0671576744819 i
19½ + 75.7046906990839 i½ + 75.7046906990839 i
20½ + 77.1448400688748 i½ + 77.1448400688748 i
21½ + 79.3373750202494 i½ + 79.3373750202494 i
22½ + 82.910380854086 i½ + 82.910380854086 i
23½ + 84.7354929805171 i½ + 84.7354929805171 i
24½ + 87.4252746131252 i½ + 87.4252746131252 i
25½ + 88.8091112076345 i½ + 88.8091112076345 i
26½ + 92.4918992705585 i½ + 92.4918992705585 i
27½ + 94.6513440405199 i½ + 94.6513440405199 i
28½ + 95.8706342282453 i½ + 95.8706342282453 i
29½ + 98.8311942181937 i½ + 98.8311942181937 i
30½ + 101.317851005731 i½ + 101.317851005731 i
31½ + 103.725538040478 i½ + 103.725538040478 i
32½ + 105.446623052326 i½ + 105.446623052326 i
33½ + 107.168611184276 i½ + 107.168611184276 i
34½ + 111.02953554317 i½ + 111.02953554317 i
35½ + 111.874659176993 i½ + 111.874659176993 i
36½ + 114.320220915453 i½ + 114.320220915453 i
37½ + 116.226680320858 i½ + 116.226680320858 i
38½ + 118.790782865976 i½ + 118.790782865976 i
39½ + 121.370125002421 i½ + 121.370125002421 i
40½ + 122.946829293553 i½ + 122.946829293553 i
41½ + 124.256818554346 i½ + 124.256818554346 i
42½ + 127.516683879596 i½ + 127.516683879596 i
43½ + 129.578704199956 i½ + 129.578704199956 i
44½ + 131.087688530933 i½ + 131.087688530933 i
45½ + 133.497737202998 i½ + 133.497737202998 i
46½ + 134.756509753374 i½ + 134.756509753374 i
47½ + 138.116042054533 i½ + 138.116042054533 i
48½ + 139.736208952121 i½ + 139.736208952121 i
49½ + 141.123707404021 i½ + 141.123707404021 i
50½ + 143.111845807621 i½ + 143.111845807621 i
51½ + 146.000982486766 i½ + 146.000982486766 i
52½ + 147.42276534256 i½ + 147.42276534256 i
53½ + 150.053520420785 i½ + 150.053520420785 i
54½ + 150.925257612241 i½ + 150.925257612241 i
55½ + 153.024693811199 i½ + 153.024693811199 i
56½ + 156.112909294238 i½ + 156.112909294238 i
57½ + 157.597591817594 i½ + 157.597591817594 i
58½ + 158.84998817142 i½ + 158.84998817142 i
59½ + 161.188964137596 i½ + 161.188964137596 i
60½ + 163.030709687182 i½ + 163.030709687182 i
61½ + 165.5370691879 i½ + 165.5370691879 i
62½ + 167.184439978175 i½ + 167.184439978175 i
63½ + 169.094515415569 i½ + 169.094515415569 i
64½ + 169.911976479412 i½ + 169.911976479412 i
65½ + 173.411536519592 i½ + 173.411536519592 i
66½ + 174.754191523366 i½ + 174.754191523366 i
67½ + 176.44143429771 i½ + 176.44143429771 i
68½ + 178.3774077761 i½ + 178.3774077761 i
69½ + 179.916484020257 i½ + 179.916484020257 i
70½ + 182.207078484366 i½ + 182.207078484366 i
71½ + 184.874467848388 i½ + 184.874467848387 i
72½ + 185.598783677707 i½ + 185.598783677707 i
73½ + 187.228922583502 i½ + 187.228922583502 i
74½ + 189.416158656017 i½ + 189.416158656017 i
75½ + 192.026656360714 i½ + 192.026656360714 i
76½ + 193.079726603846 i½ + 193.079726603846 i
77½ + 195.265396679529 i½ + 195.265396679529 i
78½ + 196.876481840958 i½ + 196.876481840958 i
79½ + 198.015309676252 i½ + 198.015309676252 i
80½ + 201.264751943704 i½ + 201.264751943704 i
81½ + 202.493594514141 i½ + 202.493594514141 i
82½ + 204.189671803105 i½ + 204.189671803105 i
83½ + 205.394697202163 i½ + 205.394697202163 i
84½ + 207.906258887806 i½ + 207.906258887806 i
85½ + 209.576509716856 i½ + 209.576509716856 i
86½ + 211.690862595365 i½ + 211.690862595365 i
87½ + 213.347919359713 i½ + 213.347919359713 i
88½ + 214.547044783491 i½ + 214.547044783491 i
89½ + 216.169538508264 i½ + 216.169538508264 i
90½ + 219.067596349021 i½ + 219.067596349021 i
91½ + 220.714918839314 i½ + 220.714918839314 i
92½ + 221.430705554693 i½ + 221.430705554693 i
93½ + 224.007000254604 i½ + 224.007000254604 i
94½ + 224.983324669582 i½ + 224.983324669582 i
95½ + 227.421444279679 i½ + 227.421444279679 i
96½ + 229.337413305525 i½ + 229.337413305525 i
97½ + 231.250188700499 i½ + 231.250188700499 i
98½ + 231.98723525318 i½ + 231.98723525318 i
99½ + 233.693404178908 i½ + 233.693404178908 i
100½ + 236.524229665816 i½ + 236.524229665816 i

Have an idea, a project, or a question for Arun?

Let's talk
Based in Madison, Wisconsinhello@arunsella.comLinkedInInstagramX

Arun Sella

Entrepreneur in Madison, Wisconsin, building free tools for money, small business and everyday life.

Pages