Math & machines
How predictable are prime numbers?
Use the grid to find prime gaps up to 1,000 and compare the exact count with an estimate. See why estimating how many primes there are is different from predicting the next one.
DIGITO
If you want to estimate how many primes lie below a huge number, you don’t want to count them one by one. But an estimate is only useful if you know how far off it might be. Start with the first thousand numbers: find the gap between 113 and 127, switch blocks, and compare the exact total with an estimate.
Here’s the distinction: you can estimate how many primes there are without knowing where the next one will land. The Riemann hypothesis would put a bound on that estimation error at large scales. This grid shows small examples; it does not prove the hypothesis.
Jump to the interactive test ↓How many primes are there before you reach 100?
Try counting them. Start with 2, 3, 5 and 7. Skip 9 because it’s 3 times 3. Keep going until 100 and you’ll find 25 primes. Count the next hundred and you’ll find only 21. The change is easy to see. What happens if you keep going for a billion more?
Put those two groups together. There are 46 primes up to 200. That running total is what mathematicians estimate. Riemann’s hypothesis would put a limit on how far the estimate can drift from the count as you move along the number line. The remarkable part is how he got at that question. He studied where a function called the zeta function takes the value zero. Riemann’s prediction was that all the nontrivial zeros lie on one vertical line, where the real part is ½. Where those zeros lie governs how far the estimate can miss the true count. The grid uses a simple version of that estimate; it does not calculate Riemann’s error bound.
Interactive explorer (1 to 1,000)
Count primes by the hundred and compare the estimate
9 is not prime (9 = 3 × 3)
It divides cleanly by 3. The next prime along the number line is 11.
Computed locally in your browser across whole numbers from 1 to 1,000.
What did Claude actually do?
On November 20, mathematician Levent Alpöge published a formal proof in Lean. In his account, Claude helped develop the proof; Alpöge gives one specific example. Lean and Mathlib verified the submitted proof; the Clay Mathematics Institute still lists the problem as active and handles the prize separately.
Alpöge had wanted to solve this problem since he was a student. In his account, he and Claude first explored a simpler case. He spotted how two ideas from that case might fit the harder problem. Then they faced a specific choice. Their method linked a series of mathematical operations. How long should that chain be? Alpöge credits Claude with suggesting a length tied to the square root of the quantity they were studying. Lean is a language that lets a computer check each step.
Imagine someone claims there’s a path through a maze. They hand you every turn. You can walk it and verify that it reaches the exit. Ask what they noticed about the maze that let them find the route, and you’ve asked for something else. Now imagine the directions run to 17 million lines of code.
How did mathematicians verify 17 million lines of code?
On November 21, the Lean and Mathlib communities certified that the code proved the exact statement mathematicians call the Riemann hypothesis. Andrew Sutherland at MIT documented independent checks: a separate build reproduced the proof export, multiple checkers accepted it, and the statement matched the reference problem.
Machine verification confirms that the 17 million lines of Lean lead logically to the theorem, within the formal system. A shorter Lean version appeared on November 25; that is not the same as a conventional written exposition. As of November 26, the Clay Mathematics Institute lists the Riemann hypothesis as an active problem; the institute administers the million-dollar prize and decides on the award separately.
Why local gaps and long-range order both matter
Zoom in on the number line and primes look erratic: between 113 and 127 there are thirteen composite numbers in a row, and that gap doesn’t tell you where the prime after 127 lands. Zoom out, and Riemann’s hypothesis would bound how far the running total can drift from the smooth estimate. Pairing human intuition with formal proof checkers like Lean lets mathematicians verify those long-range claims step by step, even when the machine-checked argument is far too long to read by hand.
Read the evidence
Sources checked November 26, 2026. The proof checks are by Lean, Mathlib and the linked authors; DIGITO tested the counting exercise in a browser.