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.
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.
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:
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 counter | 30,001 |
| Places where the easy pattern (Gram's law) failed and a finer search was needed | 2,932 |
| Intervals that needed that finer search | 2,772 |
| Unresolved cases | 0 |
| Computer time | About 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.
- Every number from 5,041 to 10,000,000: 0 violations. The closest was n = 10,080, at 1.7558 against the limit of 1.7811.
- The 26 exceptions at or below 5040, which Robin's theorem allows, came out exactly as published: 3, 4, 5, 6, 8, 9, 10, 12, 16, 18, 20, 24, 30, 36, 48, 60, 72, 84, 120, 180, 240, 360, 720, 840, 2520, 5040. That's a good sign the code is right.
- Colossally abundant numbers have the most divisors for their size, so they come closest to breaking the inequality. I built 11,026 of them, the largest 50,003 digits long, and checked each one: 0 violations.
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.
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.
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.
| Check | What I ran | What is published |
|---|---|---|
| Zeros on the line | The first 30,001 zeros, up to height 25,756 | Every zero up to height 3 × 1012, about 12 trillion of them (Platt and Trudgian, 2021) |
| Robin's inequality | Every n up to 10 million, plus 11,026 special numbers of up to 50,003 digits | Every n up to 101013.11485 (Morrill and Platt, 2021) |
| Prime counting bound | Every x up to 100 million | Every x up to 1.101 × 1026 (Johnston, 2022) |
It also helps to keep three things apart, because they are easy to blur:
- Numerical evidence is what this page is. The computer evaluated the functions to many digits and found no counterexample. Rounding error is small but not formally bounded.
- Rigorous verification is what the published computations are. They bound every rounding error, so the statement "no counterexample below this limit" is itself a proved theorem. It still covers only a finite range.
- A proof covers every case at once. Nobody has one.
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:
- π(x) < li(x) holds for every x anyone has ever computed. Littlewood proved in 1914 that it eventually fails anyway, somewhere unimaginably far out.
- The Mertens conjecture held for every number checked for nearly a century. It was disproved in 1985 without anyone ever finding the actual counterexample.
- Scale: I checked 30,001 zeros. Professional computations have checked more than ten trillion, and RH has been rigorously verified up to height 3 × 1012 (Platt and Trudgian, 2021). None of that is a proof either.
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.
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:
- check1_zeros.py: zeros on the line against zeros in the strip. The argument is the last Gram point to check; 30000 gives the 30,001 zeros above (1000 gives the first 1,001 in under a minute). It works at 20 significant digits (25 for the count in the strip), uses 10 processes, and writes
check1_result_30000.json. My results: check1_result_30000.json. - check2_robin.py: Robin's inequality. The first argument is how far to check every n, the second is the largest number of digits for the colossally abundant numbers, which are handled at 60 significant digits. It writes
check2_result.json. My results: check2_result.json. - check3_primes.py: π(x) against Schoenfeld's bound, up to 100,000,000 unless you pass another limit. It uses 64-bit floating point and writes
check3_result.json, which also holds the points for the chart. My summary of it: check3_summary.json.
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
- B. Riemann (1859). Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse. Monatsberichte der Berliner Akademie. The paper that states the hypothesis.
- 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.
- D. Platt and T. Trudgian (2021). The Riemann hypothesis is true up to 3·1012. Bulletin of the London Mathematical Society 53, 792–797.
- 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.
- 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.
- K. Briggs (2006). Abundant numbers and the Riemann hypothesis. Experimental Mathematics 15, 251–256.
- T. Morrill and D. J. Platt (2021). Robin's inequality for 20-free integers. Integers 21, A28. arXiv:1809.10813.
- L. Schoenfeld (1976). Sharper bounds for the Chebyshev functions θ(x) and ψ(x). II. Mathematics of Computation 30, 337–360.
- J. Büthe (2018). An analytic method for bounding ψ(x). Mathematics of Computation 87, 1991–2009. arXiv:1511.02032.
- 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.
- J. E. Littlewood (1914). Sur la distribution des nombres premiers. Comptes Rendus de l'Académie des Sciences 158, 1869–1872.
- 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.
- B. Rodgers and T. Tao (2020). The de Bruijn–Newman constant is non-negative. Forum of Mathematics, Pi 8, e6.
- 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 zetazero | My 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 |