What the Riemann Hypothesis says
The claim can be said three ways.
Prime numbers are spread out about as evenly as they could be. Their count strays from its smooth average by roughly the square root of the numbers involved, the same scale as the drift of random coin flips.
Count the primes up to any number x past 2,657. The count stays within √x × ln x ÷ 8π of Gauss's smooth estimate li(x), where 8π is about 25. Up to a million the estimate is 78,628 and the true count is 78,498.
Every nontrivial zero of the zeta function has real part ½. Zeta is a function built from the primes, and a zero is an input where its output is exactly 0. Apart from a row of simple zeros at −2, −4, −6 and so on (the trivial zeros), every zero lies on one straight line.
The three say the same thing because the zeros make waves in the prime count (Chapter 6), and on the line ½ those waves are exactly as small as coin-flip noise (Chapter 7).
Prime numbers
A prime is a whole number bigger than 1 that only divides by 1 and itself: 2, 3, 5, 7, 11, 13 and so on. Every whole number bigger than 1 is built by multiplying primes together, and each has exactly one recipe. That makes primes the building blocks of multiplication.
Why is 1 not a prime?
If it were, recipes would stop being unique: 6 would be 2 × 3, and also 1 × 2 × 3, and also 1 × 1 × 2 × 3. Leaving 1 out keeps one recipe per number, and Chapter 3 depends on that.
Hover over (or tap) any square to see its recipe. Then run the Sieve of Eratosthenes: cross out every multiple of 2, then of 3, of 5 and of 7. Whatever survives is prime.
Why stop at 7?
A non-prime up to 100 is two smaller numbers multiplied together, and they cannot both be bigger than 10, because 11 × 11 is already 121. So every non-prime up to 100 has a prime factor of 10 or less: 2, 3, 5 or 7.
Gaps between the first 40 primes. No obvious rhythm:
Counting primes
Primes get rarer as numbers grow. In the 1790s, as a teenager, Carl Friedrich Gauss noticed that they thin out in a regular way.
Step 1: How common are primes near a number?
Gauss's rule: near a number x, about 1 in every ln x numbers is prime. Here ln x is the natural logarithm, which grows very slowly: ln 1,000 ≈ 6.9 and ln 1,000,000 ≈ 13.8. So near a thousand about 1 number in 7 is prime, and near a million about 1 in 14.
| Numbers checked | Gauss predicts | Reality |
|---|
Step 2: Add up the chances to get a count
Treat 1 in ln n as each number's rough chance of being prime (a rough guide, since for small n it is too big: 1/ln 2 is 1.44). Then the expected number of primes up to x is the sum of those chances: 1/ln 2 + 1/ln 3 + … + 1/ln x. Smoothed into the area under the curve 1/ln t, that sum is Gauss's estimate, written li(x) (short for logarithmic integral).
Step 3: Compare the estimate with the real count
Now climb one step every time you pass a prime. That gives the prime staircase, the real count. Up close it is jagged. Zoom out and it hugs li(x).
What is the dashed curve?
The simpler guess x / ln x is a cruder version of the estimate. It gives every number up to x the same chance of being prime as x itself, so it undercounts the small numbers, where primes are more common.
Step 4: How far off is the estimate?
The estimate misses by a small, wobbly amount, the wiggle. How big can it get? In 1976 Lowell Schoenfeld proved that if the Riemann Hypothesis is true, the wiggle at x is smaller than √x × ln x ÷ 8π (8π is about 25.1) for every x from 2,657 on. That is the gold band below. At a million it allows about 550, and the real wiggle there is 130.
This is the counting form of the hypothesis. In 1901 Helge von Koch showed that a wiggle of roughly this size is equivalent to it, and the 2026 proof makes the band a guarantee.
Why does the band start at 2,657?
The band is as tight as Schoenfeld could prove, and small numbers are lumpy enough to poke slightly outside it. At 1,000, for example, the wiggle is 9.6 while the band allows only 8.7. From 2,657 on, the wiggle stays inside for every number. A slightly wider band would cover the small numbers too, but it would say less about the large ones.
Euler's product and the zeta function
Add up one over every whole number squared: 1 + 1/2² + 1/3² + 1/4² + … forever. The total settles at about 1.6449. Leonhard Euler worked that out in 1734. He also found a way to reach the same total using only the primes.
Give each prime its own sum. A prime's sum uses only that prime and its powers. For 2 it is 1 + 1/2² + 1/4² + 1/8² + …, which comes to 1.333. For 3 it is 1 + 1/3² + 1/9² + …, which comes to 1.125. Multiply all the prime sums together and you get 1.6449 again.
Why the two match. Multiplying sums pairs every piece of one with every piece of the other: 1/2² from 2's sum times 1/3² from 3's sum gives 1/6², the piece for 6. Each whole number has exactly one prime recipe (Chapter 1), so once every prime is in, each number's piece appears exactly once. Bring in the primes one at a time and watch the numbers fill in.
Riemann called this total the zeta function, written ζ(s), where s is the power: you choose the power and zeta returns the total.
Complex inputs and zeros
Riemann plugged in points on a flat map instead of ordinary numbers. Mathematicians call these points complex numbers. An input point s = σ + it has a left-right position σ and an up-down position t. The output is also a point on a map. A zero is an input whose output lands exactly on the center of the output map, the bullseye.
Step 1: Plugging in a point
Each piece of the sum, 1/ns, becomes an arrow. Its length is 1/nσ, set by the left-right position. Its direction turns clockwise by an angle of t × ln n, set by the up-down position. Zeta lays the arrows head to tail, and the point where the chain ends is the output.
Step 2: Zeros, and why they matter for primes
A zero of zeta is an input s where ζ(s) is exactly 0. In the arrow picture, the chain of arrows ends exactly where it started. Zeros matter because they can rebuild a function. In school algebra the zeros 2 and 3 give (x − 2)(x − 3) = x² − 5x + 6. Zeta can be rebuilt in a similar way, so it has two complete recipes:
Multiply one small sum per prime (Chapter 3): ζ(s) = 1/(1 − 2−s) × 1/(1 − 3−s) × 1/(1 − 5−s) × …
Multiply one factor per nontrivial zero, like (x − 2)(x − 3) but with infinitely many factors, then a few known simple pieces that handle the spike at s = 1 and the trivial zeros. Riemann guessed this in 1859, and Jacques Hadamard proved it in 1893.
Both recipes make the same function, so the list of primes and the list of zeros carry the same information. Know every zero and you can recover every prime. Chapter 6 shows how: each zero adds one wave to the prime count.
Step 3: Going left of σ = 1
The sum only settles to the right of σ = 1. At σ = 1 the pieces are 1, ½, ⅓, ¼, … They shrink too slowly: the total passes 10 after about 12,000 pieces and keeps climbing forever. Further left they shrink more slowly still. Yet the hypothesis is about the line σ = ½ (drawn in gold throughout), which is left of 1. Zeta still has exactly one sensible value there. Just as 1 + x + x² + … only works between −1 and 1 while the function it adds up to, 1/(1 − x), works almost everywhere, zeta extends past its sum in exactly one way. This is called analytic continuation.
A simpler sum with the same problem
Take 1 + x + x² + x³ + … At x = ½ it is 1 + ½ + ¼ + ⅛ + …, which comes to 2. Whenever x is between −1 and 1, the total equals 1/(1 − x). Outside that range the sum never settles, yet 1/(1 − x) keeps giving sensible answers: at x = 2 it gives −1. The sum is a way of writing the function 1/(1 − x) that only works on part of the line. The function itself works everywhere except x = 1, where it divides by zero.
Zeta is in the same situation. Chapter 3's sum is a way of writing zeta that only works to the right of σ = 1. Zeta itself makes sense on the whole map except the single point s = 1, which plays the role of x = 1 above.
Why only one way to extend it? With pencil and paper you could continue a curve any way you like. Smooth functions on this map of points are far stricter. Here "smooth" has a demanding meaning: zoom in close on almost any point and the function only rotates and stretches the map, with no tearing. (At a few special points it can squash the map flat.) If you know such a function on any small patch, however tiny, its value everywhere else is already decided. A short arc of a perfect circle works the same way, since only one circle fits it. The region to the right of σ = 1, where the sum works, is far bigger than a small patch, so it pins zeta down everywhere else.
Computing zeta left of 1
One practical route is to flip every second sign: 1 − 1/2s + 1/3s − 1/4s + … Neighboring pieces now nearly cancel, so this total settles everywhere to the right of σ = 0, including the band between 0 and 1. It equals zeta multiplied by (1 − 2/2s), so dividing by that factor gives zeta. At s = 1 the factor is 1 − 2/2 = 0, which is exactly the point where zeta has no answer.
Where the factor comes from: Start with zeta: 1 + 1/2s + 1/3s + 1/4s + … The even pieces 1/2s + 1/4s + 1/6s + … add up to zeta divided by 2s, because 1/(2n)s is 1/2s times 1/ns. Subtracting the even pieces twice turns each of them from plus to minus, which gives the sign-flipped sum. So the sign-flipped sum equals zeta − 2 × zeta/2s, which is zeta × (1 − 2/2s).
A sped-up version of this sign-flipped sum is a standard way to compute zeta inside the strip. For points left of the strip, Riemann's mirror formula takes the value from the matching point on the other side of the gold line, where the sum works.
Step 4: Trivial zeros, nontrivial zeros and the critical strip
Zeta has two kinds of zeros. The trivial zeros are at −2, −4, −6 and so on, on the horizontal axis. Their positions are known exactly and their effect on the prime count is tiny. Every other zero is nontrivial, and those are the ones that steer the primes. They all lie in the band between σ = 0 and σ = 1, called the critical strip. The hypothesis says that inside the strip, every zero lies on the center line σ = ½.
Why are the nontrivial zeros all in the strip?
- Right of 1, zeta equals Chapter 3's product of prime sums. None of those sums is ever zero, and the product settles down quickly, so it can never be zero either.
- Left of 0, Riemann's mirror formula builds zeta from its values at matching points to the right of 1, on the other side of the gold line, which are never zero. It multiplies them by factors that are also never zero, except one sine factor that is zero exactly at −2, −4, −6 and so on. Those are the trivial zeros, the only zeros out there.
That leaves the strip for every other zero.
Try it below. Walk up along ½ and the curve keeps passing through the bullseye. Slide right past 1 and it stays well away. Slide left to −2 and the walk runs from t = −10 to t = 10, passing through the bullseye once, at t = 0: a trivial zero.
Where do the trivial zeros come from?
The trivial zeros come from a sine, the wave you get by going round a circle. Send a point round a circle of radius 1 and track its height: it rises to 1, falls back to 0, drops to −1 and returns to 0. The height after turning by some angle is the sine of that angle. Riemann's mirror formula contains sin(πs/2), which makes one full turn for every 4 steps of s. Its height is 0 whenever the point is at the far left or far right of the circle, which happens at every even number: …, −4, −2, 0, 2, 4, …
So why are only the negative even numbers zeros of zeta? The mirror formula multiplies the sine by other pieces. At 0 and at the positive even numbers 2, 4, 6, one of those pieces shoots to infinity at exactly the same spot, and the two effects cancel out to an ordinary number. That is why ζ(0) = −½ and why ζ(2) = π²/6 from Chapter 3. Neither is zero. At −2, −4, −6 and so on nothing cancels the sine, so zeta is exactly zero there.
The mirror formula itself: ζ(s) = 2s πs−1 sin(πs/2) Γ(1−s) ζ(1−s). Here Γ (gamma) is the factorial stretched to every number, with Γ(n) = (n − 1)! for whole numbers. It shoots to infinity at 0, −1, −2 and so on. At s = 2, 4, 6 the piece Γ(1−s) is Γ(−1), Γ(−3), Γ(−5), which shoot to infinity and cancel the sine. At s = 0 the piece ζ(1−s) is ζ(1), the spike. At s = −2, −4, −6 the pieces Γ(3), Γ(5), Γ(7) are the ordinary numbers 2, 24, 720, and ζ(3), ζ(5), ζ(7) are ordinary numbers to the right of 1, so the sine's zero survives.
The zeta landscape
Now draw the whole map at once. Over every input point, raise the ground by the size of zeta's output, meaning how far it lands from the bullseye. You get a mountain range. Zeros are the spots where the ground touches the floor. Blue shades show height. Right around each zero a small rainbow appears, because circling a zero makes the output's direction spin through every color.
The strip in the landscape
Outside the strip the only zeros are the trivial zeros (Chapter 4), so there the ground touches the floor only at the violet one at the front left. The spike at s = 1 is the one point where zeta has no value, so the ground there rises without limit.
What about the edges of the strip?
In 1896 Jacques Hadamard and Charles de la Vallée Poussin proved that no zeros lie on the edges σ = 0 and σ = 1. That was enough to prove Gauss's estimate right in the long run, a result called the Prime Number Theorem. The hypothesis asks for much more: every zero on the center line.
Zeros come in mirror pairs
Riemann's mirror formula links zeta's value at each point to its value at a matching point on the other side of the gold line. One consequence: if there is a zero at some point in the strip, there is also one at the reflection of that point across the gold line, at the same height. A zero on the gold line is its own reflection. A zero off the line would come with a twin on the other side, and one of the two would be to the right of ½.
The hypothesis in this picture
Every nontrivial zero lies exactly on the gold line, so none of them has a twin. The first few are at heights 14.13, 21.02, 25.01 and 30.42. Nobody has a formula for these heights. They are found by computer, and more than 12 trillion have been found so far, every one of them on the line.
Zeros rebuild the prime count
Riemann found a formula, now called the explicit formula, that rebuilds the prime staircase exactly from the zeros. Each zero contributes one wave.
Step 1: A staircase with a cleaner formula
Instead of climbing 1 at each prime, climb ln p at each prime p. Also climb at prime powers: at 4 = 2² and 8 = 2³ climb ln 2, and at 9 = 3² climb ln 3. This weighted staircase holds the same information about primes, and its smooth estimate is simply the straight line y = x, much tidier than li(x).
Step 2: Each zero adds a wave
The explicit formula says: the weighted staircase at x equals x, minus one wave for each zero, minus two tiny corrections. A zero at height γ on the gold line makes a wave shaped like cos(γ × ln x), slightly shifted, with a size of about 2√x ÷ γ. So the zero's height sets the wave's pitch, higher zeros give quieter and faster waves, and the √x comes from the zero's position at ½.
Show the formula
ψ(x) = x − Σ xρ/ρ − ln(2π) − ½ ln(1 − 1/x²). Here ψ(x) is the weighted staircase and the sum runs over every nontrivial zero ρ. A zero ρ = ½ + iγ and its partner ½ − iγ (zeros also mirror across the horizontal axis) combine into one real wave. The power xρ equals √x × xiγ, and xiγ is an arrow turning by an angle of γ × ln x, much like the arrows in Chapter 4. Dividing by ρ, which is about γ in size, makes high zeros quieter. The term ln(2π) is a constant, and the last term comes from the trivial zeros. Both are tiny. At a prime or prime power, where the staircase jumps, the formula lands halfway up the step.
Step 3: Watch the waves rebuild the primes
Press "Add the waves". With no waves you get the straight line. Each wave pushes the curve closer to the true staircase, and with 300 waves the steps are sharp. "Make spikes at primes" adds the same waves to the staircase's steepness instead, which gives spikes exactly at the primes and prime powers.
If a zero sat to the right of the line, at position β, its wave would grow like xβ instead of √x. The next chapter shows why that matters.
Why the line ½
The waves from Chapter 6 explain why the line ½ matters.
Step 1: A zero's left-right position sets its wave's loudness
A zero at left-right position β makes a wave that grows like xβ. On the gold line β = ½, so every wave grows like √x. Zeros off the line come in mirror pairs (Chapter 5), so one of the pair would lie to the right of ½. Its louder wave would push the wiggle far beyond √x at least now and then, by more than the waves from the line could cancel. Slide the zero right and compare its wave with the waves from the line and with the real wiggle.
Step 2: √x is the size of coin-flip noise
Flip a fair coin x times and keep score: +1 for heads, −1 for tails. The score drifts and typically ends up within about √x of zero. After 10,000 flips that is about ±100, and after a million about ±1,000. A wiggle of size √x is the signature of pure chance.
Step 3: The primes' own coin flips
Give every whole number a score from its prime recipe. If the recipe repeats a prime, like 12 = 2 × 2 × 3, the score is 0. Otherwise it is +1 for an even number of primes (6 = 2 × 3) and −1 for an odd number (30 = 2 × 3 × 5, or any single prime). Add the scores up as you count. This running total, the Mertens function, is the primes' walk. The Riemann Hypothesis is equivalent to this: pick any power just above ½, such as x0.501 or x0.5001, and in the long run the walk stays within a fixed multiple of it.
A version with divisors
The hypothesis can be restated as a fact about the divisors of whole numbers, with no zeta function in sight.
Step 1: Add up a number's divisors
Write σ(n) for the total of all numbers that divide n. For 12 that is 1 + 2 + 3 + 4 + 6 + 12 = 28. (This σ is unrelated to the left-right σ of earlier chapters. Mathematicians reuse letters.) Numbers with many small factors have big totals for their size: 12's total is 2.3 times 12, while a prime's total is just itself plus 1.
Step 2: Robin's limit
Robin's limit is eγ × n × ln(ln n), where eγ ≈ 1.781. In 1984 Guy Robin proved that the Riemann Hypothesis is true exactly when σ(n) stays below that limit for every n bigger than 5040. Exactly 27 numbers up to 5040 break the limit, and 5040 is the largest of them. It equals 1 × 2 × 3 × 4 × 5 × 6 × 7, so it has an unusually rich set of divisors. The 2026 proof therefore guarantees that no number above 5040 breaks the limit.
Where does the limit come from?
In 1913 Thomas Gronwall showed that in the long run σ(n) never gets much bigger than 1.781 × n × ln(ln n), and that the best numbers come as close to it as you like. The 1.781 is eγ, a constant from calculus. The ln(ln n) is the logarithm taken twice, which grows extremely slowly: it is only 2.6 for a million.
Step 3: Try it
The best candidates are numbers packed with small prime factors, like 55,440 or 720,720, because they have the most divisors for their size. "Try a record holder" cycles through them.
What the proof settles
Before 2026 the evidence was strong but could not settle the question. A pattern can hold for every number anyone checks and still fail later: the prime count stays below li(x) for every number ever tested, yet John Littlewood proved in 1914 that it eventually rises above.
How does a computer check that a zero is exactly on the line?
Rounding could make a zero look like it is on the line when it is a hair off. On the line, zeta's output can be rewritten as a single ordinary number, positive or negative (Hardy's Z function), and each change of sign means a zero lies exactly on the line. A separate formula counts every zero in the whole strip up to a given height. When the two counts match, no zero can be hiding off the line. This settles any finite stretch of the line, never all of it.
On November 20, 2026, Levent Alpöge, a number theorist at Anthropic, announced a proof found with Claude, Anthropic's AI model. It is written in Lean, a programming language for mathematics in which a small program checks every step. The Lean and Mathlib communities certified it on November 21.
How was the proof checked?
A proof this long is not practical to check line by line, so reviewers checked two things by hand: that the theorem in the code really states Riemann's hypothesis, and that the code makes no hidden assumptions. Lean's checker verified every step in between. Several mathematicians also rebuilt the proof independently.
The proof also covers the Generalized Riemann Hypothesis (GRH) for Dirichlet L-functions, the same claim for related functions that count primes in patterns, such as primes ending in 1, 3, 7 or 9. Results that assumed RH or GRH are now theorems. Click a box to see some of them.