28 November 2026 · 16 min read
What is the Riemann hypothesis? Explained simply
What the Riemann hypothesis says, why it matters for prime numbers, and what happened in 2026 when a mathematician working with Claude announced a proof that computers have checked line by line.
Ask anyone for the most famous unsolved problem in mathematics and you will usually hear the same answer: the Riemann hypothesis. It is 167 years old, it carries a million-dollar prize, and it is really a question about the most basic objects in maths, the prime numbers. In November 2026 that story changed. Here is what the hypothesis says, why it matters, and what has just happened.
Primes are irregular, but not random
A prime is a whole number with exactly two divisors: 2, 3, 5, 7, 11, 13 and so on. There is no simple formula for the next prime. Gaps between them jump around: 23 and 29 are six apart, 29 and 31 only two.
Yet zoom out and a pattern appears. Around a big number n, about one number in every ln n is prime, where ln is the natural logarithm. Near a thousand that is about one in seven; near a million, about one in fourteen. The primes thin out slowly and smoothly, even though each one arrives unpredictably.
Riemann’s idea: a function that knows the primes
In 1859 Bernhard Riemann wrote an eight-page paper about counting primes. He used a function, now called the zeta function, ζ(s) = 1 + 1/2ˢ + 1/3ˢ + 1/4ˢ + … Leonhard Euler had already shown that the same function can be written as a product with one factor for every prime. Riemann’s leap was to feed it complex numbers, numbers of the form a + bi.
He found an exact formula: the number of primes up to x equals a smooth curve, minus a collection of waves, one wave for every point where ζ(s) equals zero. Those points, the zeros of zeta, are the secret musical notes of the primes. Add enough of them and the smooth curve bends into a staircase that steps up exactly at each prime.
The hypothesis itself
Some zeros are easy: −2, −4, −6 and so on. The interesting ones all lie in a narrow vertical strip, between real part 0 and real part 1. Riemann computed a few and found every one sitting exactly on the middle line of that strip, where the real part is ½. He wrote that this was very likely true of all of them.
The Riemann hypothesis: every non-trivial zero of the zeta function has real part exactly ½.
Why care where the zeros sit? Each zero makes a wave in the prime count, and the further right a zero sits, the bigger its wave. If all of them are on the line, the waves are as small as they can possibly be, and the primes are spread as evenly as nature allows. Hundreds of theorems in number theory and cryptography start with the words “assume the Riemann hypothesis”.
167 years of partial progress
- 1900: David Hilbert puts it on his list of the most important problems for the new century.
- 1942: Atle Selberg proves that a positive fraction of the zeros are on the line.
- 1974: Norman Levinson shows more than a third are.
- 1989: Brian Conrey pushes it past two fifths.
- 2000: the Clay Mathematics Institute offers US$1 million for a proof.
- Computers check trillions of zeros. Every single one is on the line, but checking examples can never prove it for all of them.
August 2026: Claude moves the bound
In August 2026 Anthropic reported an experiment. A staff member asked an unreleased research version of Claude to take a real stab at the hypothesis. Claude tried more than six hundred ideas and none worked. Asked to try again, it coordinated about sixty copies of itself, ran thousands of numerical checks against known zeros, and found something real: a proof that at least 67.2% of the zeros lie on the critical line, up from the previous record of 41.6%. The proof was also checked in Lean, a computer system that verifies every logical step.
November 2026: a proof is announced
On 20 November 2026 Levent Alpöge, a mathematician at Anthropic, announced that, working with Claude, he had found a proof of the Riemann hypothesis itself, and of its generalisation to a family called Dirichlet L-functions. He did not release a traditional paper. He released a Lean proof of about 17 million lines.
The next day the Lean and Mathlib communities, who maintain the system and its maths library, published a joint statement: they had checked that the theorem proved is exactly the library’s own statement of the Riemann hypothesis, that the code compiles, and that several independent proof checkers accept it. They certified both the statement and the proof as correct.
So is it solved?
A computer-checked proof is extremely hard to fool: a single wrong step and Lean refuses it. But mathematics also wants understanding. Nobody, including Alpöge, has yet written the argument in a form a human can follow from start to finish, and mathematicians are working on readable versions now. The Clay Institute only awards its prize after a proof is published in a journal and accepted by the community for two years, so the prize is still pending. The honest summary for now: a proof has been announced and machine-verified, and people are still learning what it says.
What this means for you
- The maths behind it starts with things you know: primes, powers, and the idea of a sum that goes on for ever.
- Complex numbers, which you meet in Class 11, turn out to be the key that unlocks the primes.
- Proof checkers like Lean are becoming part of how mathematics is done, and AI is now a real collaborator.
Counting primes: the first clue
Write π(x) for the number of primes up to x. π(10) = 4 (2, 3, 5, 7), π(100) = 25 and π(1000) = 168. The primes thin out, but slowly. At fifteen, Gauss looked at tables of primes and guessed that near a number x, about one number in every ln x is prime, where ln is the natural logarithm. That guess became the prime number theorem, proved in 1896: π(x) is roughly x ÷ ln x.
A better estimate adds up those chances one number at a time. It is called the logarithmic integral, li(x). For x = 1,000,000 there are 78,498 primes, li(x) predicts about 78,628, and x ÷ ln x predicts about 72,382. The question every mathematician then asked was: how far off can li(x) be? That error is exactly what the Riemann hypothesis controls.
- Primes up to 1,000,000: 78,498
- x ÷ ln x ≈ 72,382 (about 8% too low)
- li(x) ≈ 78,628 (off by only 130)
- Riemann’s formula explains the 130 using the zeros of one function
The zeta function in plain words
Start with the sum 1 + 1/2ˢ + 1/3ˢ + 1/4ˢ + … for a number s. When s = 2 it adds up to π²/6, a famous result of Euler. When s = 1 it grows for ever. Euler also noticed that the same sum can be written as a product over primes only: one factor for 2, one for 3, one for 5, and so on. That is the bridge: a sum over all numbers equals a product over primes, so anything you learn about the sum tells you about primes.
Riemann’s leap in 1859 was to let s be a complex number, a point on a flat plane instead of a point on a line. The function, now called the Riemann zeta function ζ(s), then has special points where it equals zero. Some are easy: −2, −4, −6 and so on, called the trivial zeros. The others lie in a narrow strip, and every one found so far sits on a single straight line in the middle of that strip, where the real part of s is exactly ½.
More than ten trillion zeros have been checked by computer. Every one is on the line. But a pattern that holds for ten trillion cases is still not a proof.
Why the zeros control the primes
Riemann wrote an exact formula for counting primes. It is the smooth estimate li(x) plus a correction term for every non-trivial zero. Each zero adds a wave. The waves together make the jumps at each prime. If all zeros have real part ½, every wave has the smallest possible size, and the error in counting primes is about √x × ln x. If even one zero were off the line, some wave would be bigger and primes would be less predictable than we think.
You can picture it like music. The primes are a complicated sound. The zeros are the pure notes that make it up, the way a chord is made of single notes. The hypothesis says every note has the same loudness pattern: none is allowed to drown out the others.
Why a proof matters outside mathematics
Hundreds of published results begin with “assume the Riemann hypothesis”. A proof turns all of them into theorems at once: faster primality tests, sharper bounds on gaps between primes, and results about how evenly primes spread across remainders. Cryptography uses primes everywhere, but a proof would not break any code; it would mostly confirm that primes behave as everyone already assumes.
It is also one of the seven Millennium Prize Problems set by the Clay Mathematics Institute in 2000, each worth one million US dollars. Only one of the seven, the Poincaré conjecture, has been solved and accepted so far.
How a proof gets checked
A claimed proof is not accepted on announcement. Experts read it line by line, often for a year or more, and try to break each step. Many past claims about this problem failed at that stage. When a proof uses computers, the code and the formal steps are checked separately, ideally in a proof assistant such as Lean, where a computer confirms that every step follows from the last.
That is why careful reporting says “announced” or “claimed” until the community agrees. The way to follow the story is to watch for acceptance by a major journal and for statements from leading number theorists, not headlines.
How you can explore it yourself
- Count the primes up to 100 by hand with the sieve of Eratosthenes, then compare with 100 ÷ ln 100 ≈ 21.7.
- Add 1 + 1/4 + 1/9 + 1/16 + … on a calculator and watch it creep towards π²/6 ≈ 1.6449.
- Look up a plot of the first few zeros: they sit at heights of about 14.13, 21.02 and 25.01 on the line Re(s) = ½.
A closer look at the prime number theorem
The prime number theorem says that π(x) divided by x ÷ ln x gets closer and closer to 1 as x grows. That sounds precise, but it allows large absolute errors. At x = 10¹⁰ there are 455,052,511 primes, while x ÷ ln x gives about 434,294,482, a gap of over twenty million. The logarithmic integral li(x) does far better, missing by only about 3,100.
The Riemann hypothesis is equivalent to a sharp promise about that gap: it is never much more than √x × ln x. At x = 10¹⁰, √x × ln x is about 2.3 million, comfortably larger than the real error of 3,100. If the hypothesis failed, there would be places far out on the number line where the error is much bigger than this bound allows.
- x = 10⁴: π(x) = 1,229, li(x) ≈ 1,246
- x = 10⁶: π(x) = 78,498, li(x) ≈ 78,628
- x = 10⁸: π(x) = 5,761,455, li(x) ≈ 5,762,209
- x = 10¹⁰: π(x) = 455,052,511, li(x) ≈ 455,055,615
Notice that li(x) is always a little too large in this table. For a long time people thought it always would be. In 1914 Littlewood proved that the sign flips infinitely often, though the first flip happens at a number so large nobody has found it exactly. It is a warning that patterns seen in tables can mislead.
Seeing the zeros as waves
Each non-trivial zero has a height t on the critical line. In Riemann’s explicit formula, a zero at height t contributes a wave that oscillates like cos(t × ln x). The first zero, at t ≈ 14.13, gives the slowest wave; higher zeros give faster ones. Adding a hundred of these waves to the smooth curve already reproduces the staircase of primes up to a few hundred with surprising accuracy.
If you have used a music app that shows a sound’s spectrum, you have seen the same idea: a complicated signal split into pure frequencies. The zeros are the spectrum of the primes.
Related ideas worth knowing
- The twin prime conjecture: there are infinitely many pairs of primes two apart, like 11 and 13. Still open.
- Goldbach’s conjecture: every even number above 2 is a sum of two primes. Checked to 4 × 10¹⁸, still unproved.
- Bertrand’s postulate: there is always a prime between n and 2n. Proved in 1852.
- The largest known primes are Mersenne primes of the form 2ᵖ − 1, found by volunteer computers.
Questions to think about
- Why might mathematicians accept a result only after many experts have checked it?
- What is the difference between strong evidence and a proof?
- Why is it useful that every whole number has exactly one prime factorisation?
You do not need university mathematics to appreciate the problem. Counting primes, estimating with logarithms and noticing how good the estimates are is exactly how Gauss began, as a teenager with a table of numbers.
A short history
- 1737: Euler links the sum 1 + 1/2ˢ + 1/3ˢ + … to a product over primes
- 1792: Gauss, aged about 15, guesses that primes near x have density about 1/ln x
- 1859: Riemann publishes an eight-page paper with the hypothesis in one sentence
- 1896: Hadamard and de la Vallée Poussin prove the prime number theorem
- 1900: Hilbert puts it on his list of 23 great problems
- 1914: Hardy proves infinitely many zeros lie on the line
- 1942 and 1974: Selberg and Levinson show a positive share of zeros lie on it
- 2000: The Clay Institute offers one million dollars for a proof
Riemann’s paper was the only one he ever wrote on number theory. He said he had tried to prove the statement briefly and set it aside because it was not needed for his main goal. More than 160 years later, it is the most famous open question in mathematics.
Words you will meet
- Prime number: a whole number above 1 with exactly two factors, 1 and itself.
- π(x): the number of primes up to x. Here π is a name, not 3.14.
- Natural logarithm ln x: the power you raise e ≈ 2.718 to in order to get x.
- Complex number: a number a + bi, drawn as the point (a, b) on a plane.
- Zero of a function: an input where the output is 0.
- Critical line: the vertical line where the real part is ½.
- Critical strip: the band where the real part is between 0 and 1; all non-trivial zeros live there.
Misunderstandings to avoid
- It does not give a formula that produces every prime. Primes still have to be found by testing.
- A proof would not break online banking. Encryption depends on factoring being hard, which the hypothesis does not change.
- Checking trillions of zeros is not evidence enough. Some patterns in number theory hold for astronomically many cases and then fail; Skewes’ number is a famous example.
- “Riemann” and “Reimann” are different spellings; the mathematician is Bernhard Riemann.
Try these yourself
- Q1. How many primes are there below 50? Answer: 15 (2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47).
- Q2. Estimate π(1000) with x ÷ ln x. ln 1000 ≈ 6.91, so 1000 ÷ 6.91 ≈ 145. The true value is 168.
- Q3. Add the first five terms of 1 + 1/4 + 1/9 + 1/16 + 1/25. Answer ≈ 1.4636, already close to π²/6 ≈ 1.6449.
- Q4. Is −2 a trivial or non-trivial zero? Trivial: all negative even numbers are.
- Q5. If a zero sat at real part 0.6, would primes be more or less predictable? Less: that wave would be larger than √x.
Why number theorists care so much
Prime numbers are the building blocks of all whole numbers, because every whole number above 1 splits into primes in exactly one way. Understanding how they are spread is therefore understanding the deep structure of counting itself. The Riemann hypothesis is the cleanest statement of that structure we have: it says the primes are as random as they can be, and no more.
It also connects fields that seem unrelated. The spacing between zeros matches the spacing between energy levels of heavy atomic nuclei, a coincidence found over tea in 1972 between the mathematician Hugh Montgomery and the physicist Freeman Dyson. Nobody fully knows why, and it is one reason physicists have joined the search for a proof.
There are versions of the hypothesis for other kinds of number systems, called generalised Riemann hypotheses. Some of these have been proved, notably for curves over finite fields by André Weil and Pierre Deligne, which won Deligne a Fields Medal. Those successes are part of why experts believe the original is true.
How to judge news about a proof
- Who announced it? A known number theorist at a university is more credible than an anonymous upload.
- Where is it? A preprint on arXiv is a first step; a journal acceptance after review is the real milestone.
- What do other experts say? Look for named mathematicians commenting, not just social media excitement.
- Has it been formalised? A version checked in a proof assistant such as Lean removes most doubt about the logic.
In short
The primes look scattered, yet they follow a smooth law with a small error. Riemann found that the size of that error is set by where the zeros of one function lie. If they all lie on the line where the real part is ½, the primes are as orderly as possible. Proving it would settle a 160-year-old question and turn hundreds of conditional results into certainties.
Next steps: try the prime-counting questions above, then read our articles on logarithms and on the maths behind AI to see how the same tools appear elsewhere.
Keep going
Questions people ask
What does the Riemann hypothesis say in simple words?
That every non-trivial zero of the Riemann zeta function lies on one straight line, where the real part equals ½. If true, the primes are spread out as evenly as they possibly could be.
Why is it so important?
It controls how accurately we can count prime numbers, and hundreds of other results are proved assuming it. A proof would confirm all of them at once.
Has the Riemann hypothesis been proved?
A proof has been announced, but a result like this is only accepted after experts check it in detail, which usually takes a year or more. Follow journal acceptance, not headlines.