brumm.club

brumm.club › Learn › The Riemann hypothesis

Learn · proved in 2026

What is the Riemann hypothesis?

Prime numbers, like 2, 3, 5, 7 and 11, are the whole numbers above 1 that you can't make by multiplying smaller ones. Up close they turn up like night buses: no timetable, sometimes two at once. Zoom out and they get rarer by a simple rule.

The Riemann hypothesis says the primes keep to that rule as closely as they possibly can, however high you count.

Mika, a husky, peeking over the edge of the picture
MikaI do the tour. This whole page is about those dots. I sniffed them. Nothing.
The zeta function, drawn as stripes. Each dot is one of its zeros, and all of them sit on one line.

The picture says the same thing with dots. Each dot, called a zero, is a wave hidden in the primes. On the line, all the waves grow at the same slow pace. A dot off the line would make a wave that outgrows the rest and drags the primes further from their rule. So the hypothesis is: every dot sits exactly on the line.

Bernhard Riemann suggested it in 1859, in his only paper on prime numbers, about nine pages long. He called it "very probable", mentioned a few fleeting attempts at a proof, and moved on. Mathematicians did not, for 167 years. Computers checked the first twelve trillion dots: all on the line. Mathematicians were unmoved. Out of infinitely many, twelve trillion is roughly none.

In November 2026 it was proved, for all of them, for good. The mathematician David Hilbert is said to have said that if he woke up after a thousand years asleep, his first question would be whether it had been proved. He could have set the alarm for 2026.

What was proved

The Riemann synth These zeros as an instrument: a bell low on the line, a supersaw higher up. Play it
Mika, mouth open, looking very pleased
MikaTwo minutes. About as long as I sit still.
Want more?

The short version

Two minutes, two pictures: the rule, the waves, and what the line means.

The rule

Count the primes as you walk up the numbers, and draw the count. You get a staircase: one step up at every prime. Up close the steps look random.

The staircase of the primes, and the smooth curve it follows. Zoom out with the buttons.

Zoom out and the staircase melts into a smooth curve. That curve is the rule. Near a thousand, about one number in 7 is prime. Near a million, one in 14. Near a billion, one in 21. Near a trillion, one in 28. Every time the numbers get a thousand times bigger, the average gap between primes grows by about seven. Slow, and on schedule. The night buses could learn something.

Mika on the path through the forest across the street
MikaOn the walk to the forest across the street I count lamp posts and stop at the prime ones. Two, three, five, seven, eleven, thirteen. The stops get further apart, which means more sniffing in between. Best rule in mathematics.

The dots are waves

The staircase is not exactly the curve. It wiggles around it. In 1859 Bernhard Riemann found what the wiggle is made of: waves, one for every dot in the picture at the top. Press play and watch the staircase build itself out of them.

Grey: the true staircase. Pink: the smooth curve plus the waves added so far. Underneath, the line from the top picture laid on its side: a dot lights up as its wave goes in.

The dots keep odd company. In 1972 the number theorist Hugh Montgomery showed the physicist Freeman Dyson how the dots are spaced, over afternoon tea in Princeton, the story goes. Dyson recognised the pattern at once: it is the one physicists use for the energy levels of atomic nuclei. Nobody knows why. The primes and atomic nuclei have never been introduced.

What the line means

A dot has a position, and both parts of it matter. How high it sits says how fast its wave wiggles. How far left or right it sits says how fast its wave grows as the numbers get bigger.

The Riemann hypothesis says every dot sits on the same line. So every wave grows at the same slow pace, like the square root of how far you have counted, and none ever outgrows the rest. That is what keeps the primes so close to their rule. Count the primes up to a trillion trillion and the smooth curve gets about the first half of the digits right. It does at every size.

Is it true?

Riemann thought it very probable but could not prove it, and for 167 years neither could anyone else. He may have known more than he wrote down. After he died, his housekeeper threw out some of his papers. In 1932 Carl Ludwig Siegel went through what was left and found that Riemann had worked out the first dots by hand, with a method nobody had found again in the seventy years since. Nobody knows what went out with the rubbish.

Mika lying on the rug among sheets of paper
MikaMaths, out with the rubbish, and nobody sniffed it first. In this flat that's my job. Here I am, doing the paperwork.

Computers have now checked the first twelve trillion dots, every one on the line, but there are infinitely many, and checking never reaches the end. Mathematicians built on it anyway: hundreds of theorems begin "assuming the Riemann hypothesis". In November 2026 it was proved, and a computer has checked every step. What was proved.

Want more than that? The whole story, in eight steps

Mika standing, ready to go
MikaThe way Daniel learned it: out loud. The neighbours know what a zeta function is now.
Want more than that?

The whole story

Ten minutes, eight steps, from the primes to the waves. Every term opens if you want its maths.

Eight steps, one new idea each. Tap a word with a dotted line and the maths behind it opens right under its sentence. Tap it again to close it.

1 The primes

A prime is a whole number bigger than 1 that nothing divides except 1 and itself: 2, 3, 5, 7, 11, 13. Every other whole number is built from primes by multiplying, and : 60 is 2 × 2 × 3 × 5 and nothing else. The primes are the atoms of the numbers.

Exactly one way: the fundamental theorem of arithmetic

Every whole number above 1 is a product of primes, and the list of primes is the same however you find it. Only the order can change: 60 = 2 · 2 · 3 · 5 = 5 · 3 · 2 · 2.

It sounds obvious and it isn't free. It rests on a fact Euclid proved: a prime that divides a product a × b must divide a or b. Everything on this page hangs on it. Euler's product, in step 4, is this theorem written as a single equation.

They also look random. No simple rule says where the next one falls. They get rarer as the numbers grow, but .

They never run out: Euclid's proof

About 300 BC. Take any finite list of primes. Multiply them all together and add 1. Divide the result by any prime on the list and the remainder is 1, so none of them divides it. But it has some prime factor, like every number above 1. That prime is not on the list. So no finite list holds them all.

2 Count them

Pick a number x and count the primes up to it. Up to 10 there are four: 2, 3, 5, 7. Up to 100 there are 25. Draw the count against x and you get a staircase: flat, then one step up at each prime. Call it .

The prime staircase: π(x)

Mathematicians write the staircase as π(x), the prime-counting function: the number of primes less than or equal to x. So π(10) = 4 and π(100) = 25.

This π has nothing to do with the 3.14159 of circles. It is just the Greek p, for prime. The circle's π turns up on this page too, first in step 3. Different thing.

The same staircase twice: up to 100, where every step shows, and up to 100,000, with the smooth curve it follows.

Up close the steps are irregular. From far away, by 100,000, you can hardly tell the staircase from a smooth curve.

That curve is known. Around a number x, about one number in every ln x is prime, where ln is the . Near a thousand that is one in 7, near a million one in 14, near a trillion one in 28. Add those chances up from the start and you get the smooth curve in the picture. as a teenager, around 1792.

The natural logarithm

ln x answers: to what power must e = 2.718… be raised to give x? To get a feel for it, ln of 10k is 2.3 × k. A million is 106: ln = 13.8. A trillion is 1012: ln = 27.6.

So the primes thin out, but slowly. Every time the numbers get a thousand times bigger, the gap between primes grows by about 7 on average.

Gauss's guess: the prime number theorem

If the chance that a number near t is prime is 1/ln t, then the count up to x should be the sum of those chances, which is an integral:

π(x)≈li⁡(x)=∫0xdtln⁡t

This is the logarithmic integral, and it is the smooth curve in the picture. The cruder x / ln x says the same to first order and is what most textbooks state. Gauss wrote down his guess in a letter in 1849, saying he had found it in 1792 or 1793, and he never proved it.

Hadamard and de la Vallée Poussin proved it, independently, in 1896. Both used Riemann's ideas: the proof comes down to showing that the zeta function, which you meet in the next step, has no zero with real part exactly 1. The Riemann hypothesis is the much stronger statement about how good the approximation is.

So the staircase is a smooth curve plus a wiggle around it. The curve is understood. The Riemann hypothesis is about the wiggle: what it is made of, and how big it can get.

3 The zeta function

Now for a machine that seems to have nothing to do with primes. It is called ζ, the Greek letter zeta, and it is a function: you put a number in, and a number comes out. Its full name is the Riemann zeta function, though Euler got there first. The number you put in is called s. The recipe:

ζ(s) = 1 + 1/2s + 1/3s + 1/4s + 1/5s + …

Take every whole number, raise it to the power s, turn it upside down, and add them all up. Mathematicians write that .

With a sum sign
ζ(s)=∑n=1∞1ns

The ∑ says add. n is the counter: it runs through 1, 2, 3 and on forever, while s stays fixed. A sum of this shape, with the counter raised to a fixed power underneath, is called a Dirichlet series.

Whether it settles is the integral test: the terms behave like the area under x−s, which is finite exactly when s is above 1. Close to 1 it behaves like 1/(s − 1), plus a little over a half: ζ(1.1) = 10.58 and ζ(1.01) = 100.58.

Which letter is which
s
What you put in.
ζ(s)
What comes out.
1, 2, 3, …
The counter inside the sum. It is used up in the adding and never shows in the answer.
ζ
Zeta. Not θ, theta, which looks similar and names other things: Chebyshev's θ is a relative of the prime staircase, Heaviside's θ is a single step.

Try s = 2. The sum is 1 + 1/4 + 1/9 + 1/16 + … The terms shrink fast enough for the total to settle, at 1.6449… Euler found the exact value in 1734: it is . So ζ(2) = 1.6449…

π²/6: the Basel problem

1 + 1/4 + 1/9 + 1/16 + … = π²/6 = 1.644934… Here π is the circle's.

Euler's argument, roughly: the function sin(x)/x is zero at ±π, ±2π, ±3π and so on. So write it as a product with one factor per zero, (1 − x²/π²)(1 − x²/4π²)(1 − x²/9π²)…, multiply out, and compare the x² term with the known series 1 − x²/6 + … Out falls the sum.

A function written as a product over its zeros. Remember the move. Riemann makes it again in step 7, and that time the zeros are the whole story.

Try s = 1. Now the sum is 1 + 1/2 + 1/3 + 1/4 + … These terms shrink too slowly, and the total . ζ blows up at s = 1.

Grows without limit: the harmonic series

Group the terms. 1/3 + 1/4 is more than 1/2. So is 1/5 + 1/6 + 1/7 + 1/8. So are the next eight terms, and the next sixteen. Every block adds more than a half and there is always another block. (Oresme, about 1350.)

It grows very slowly, like ln of the number of terms: a million terms add up to 14.39, a trillion to 28.21.

Musicians know these terms. Strings of length 1, 1/2, 1/3, 1/4 give a note and its overtones, the harmonic series. That is where the name comes from.

The running total of the sum after 1, 2, 3, … terms, up to 40. Drag s toward 1 and watch the total stop settling.

For every s above 1 the sum settles. The closer s gets to 1, the bigger ζ(s) becomes. Remember that wall at 1.

4 Why zeta knows the primes

The recipe for ζ uses every whole number. No primes in sight. In 1737 Euler found them inside it, with a sieve.

Start with the sum:

ζ(s) = 1 + 1/2s + 1/3s + 1/4s + 1/5s + 1/6s + …

Multiply all of it by 1/2s. Every number underneath doubles:

ζ(s) × 1/2s = 1/2s + 1/4s + 1/6s + 1/8s + …

Those are exactly the even terms. Subtract the second line from the first and the even terms are gone:

ζ(s) × (1 − 1/2s) = 1 + 1/3s + 1/5s + 1/7s + 1/9s + …

Do the same with 3: multiply by (1 − 1/3s), and every multiple of 3 still standing disappears. Then 5. Then 7. Each prime wipes out its own multiples.

Each tile is one term of the sum, labelled by the number underneath. Press the button to multiply by the next prime's bracket.

Go through all the primes and every term is wiped out except the very first. Only the 1 is left:

ζ(s) × (1 − 1/2s) × (1 − 1/3s) × (1 − 1/5s) × (1 − 1/7s) × … = 1

Turn that around and ζ is written with primes alone. A sum over all the numbers equals a product over the primes. This is . It works because every number splits into primes in exactly one way, so every term is wiped out once and only once.

Euler's product
∑n=1∞1ns=∏p prime11−p−s for s>1

Read from the right, it is unique factorisation. Each factor is a geometric series, 1/(1 − p−s) = 1 + p−s + p−2s + … Multiply all the brackets out: each product of one term from every bracket is 1/ns for one n = 2a 3b 5c…, and since every n has exactly one such splitting, every 1/ns turns up exactly once.

Read from the left, as in the story, it is the sieve of Eratosthenes run on a sum.

A bonus: at s = 1 the left side is infinite, so the right side can't be a product of finitely many factors. There are infinitely many primes. That is Euler's proof, and the first time analysis said something about primes.

So ζ is the primes in disguise. Whatever ζ does, the primes are doing.

5 A bigger map for s

So far s was an ordinary number bigger than 1. Riemann's idea, in 1859, was to let s be a .

If you have never met one: an ordinary number is a point on a line. A complex number is a point on a map. It has two coordinates. East to west is its real part. North to south is its height, which mathematicians call . The ordinary numbers are still there. They are the east-west road through the middle, at height 0.

Complex numbers

Write s = σ + i t. σ is the real part, t is the height, and i is a number whose square is −1.

Adding two complex numbers adds their coordinates. Multiplying them multiplies their distances from the origin and adds their angles. That is all i² = −1 amounts to: i is a quarter turn, and two quarter turns point backwards.

If you have used phasors for alternating current, or the complex form of a Fourier transform, you have used exactly this.

The imaginary part

"Imaginary" is a name from the 1600s and a bad one. There is nothing less real about it than about a negative number. On this page it is called the height, because that is where it sits on the map, and because of what it turns into in step 7.

−4−201231020304050height ↑real part →the sumsettleshereblows ups = 2the strip between 0 and 1a complex sreal part −2.6, height 31
The map. East of the dashed wall the sum for ζ settles. The point s = 2 from step 3 is on the road of ordinary numbers.

ζ still works on the map: put in a point, get a point out. Two things make that possible, and both open if you want them. A whole number raised to a complex power , which is where the waves on this page come from. And the sum itself only settles east of the wall, where the real part is above 1, but Riemann showed there is ζ across the rest of the map. Only the point s = 1 stays out. ζ still blows up there.

A complex power is a rotating arrow

Take one term of the sum, 1/ns, with s = σ + i t:

n−s = n−σ · e−i t ln n

The first factor is a length. The second is a pure rotation, by the angle t ln n. So each term is an arrow: the real part of s sets how long it is, and the height t turns it.

Walk north on the map and every arrow rotates, each at its own speed ln n. A steadily rotating arrow is a wave. Laid tip to tail, the arrows make a chain. Inside the strip ζ's own chain never settles, but its twin η, the alternating sum in the next panel, does, and it has the same zeros there: a zero, in the next step, is a height where η's arrows close up and end where they started.

Continuing ζ across the map

Functions like ζ are rigid. If two of them agree on any small patch of the map, they agree everywhere both make sense. So if ζ can be extended past the wall at all, it can be done in only one way. This is called analytic continuation.

Here is a piece of it you can check by hand. Flip the sign of every second term:

η(s) = 1 − 1/2s + 1/3s − 1/4s + …

This sum settles whenever the real part of s is above 0, because neighbouring terms nearly cancel. And east of the wall a line of algebra gives η(s) = (1 − 21−s) ζ(s). Divide, and ζ is defined on the whole strip between 0 and 1, which is where everything on this page happens.

Deep end: the functional equationThe last layer of this page. There is a way back.

6 The zeros

Here is the object the whole hypothesis is about. A zero of ζ is a point s on the map where ζ(s) comes out as exactly 0.

Two phrases that sound alike"ζ at zero" means: put in s = 0 and see what comes out. (It is −½.) "The zeros of ζ" runs the other way: the inputs for which the output is 0. This page is about the second.

Some zeros are easy to find: −2, −4, −6 and so on, along the road to the west. They are called the and they play no part in the story.

The trivial zeros

ζ(−2) = ζ(−4) = ζ(−6) = … = 0. They fall straight out of the formula that continues ζ to the western half of the map, and everything about them is known. "Trivial" is mathematician for "fully understood".

They do show up in the prime count, as one tiny correction: all of them together change Riemann's formula by less than 0.15, at every x from 2 upward.

All the other zeros lie in a narrow strip of the map, where the real part is between 0 and 1. It is called , and there are infinitely many zeros in it. Here are the first ten, going north.

The critical strip

East of 1 there can be no zero. Euler's product holds there, and a product of factors that are not zero, and that settles, is not zero.

ζ has a mirror symmetry, east to west around the line at ½. It carries the empty region east of 1 onto the region west of 0, where the only zeros are the trivial ones. That leaves the strip.

In 1896 the edges were cleared as well: no zero has real part exactly 1 or exactly 0. That statement is equivalent to the prime number theorem from step 2.

How many are there? Up to height T, about

T2πln⁡T2π−T2π

It comes close to the true counts: 29 zeros up to height 100, 649 up to 1,000 and 10,142 up to 10,000. They get denser as you go north, slowly.

−4−201231020304050height ↑real part →the sumsettleshereblows upreal part ½trivial zeros14.13the first zero21.0225.0130.4232.9437.5940.9243.3348.0149.77
The first ten zeros in the strip. Height is squeezed about five times against the real part, or the picture would be a thin tower.

Look at the real parts. The first zero has real part ½ and height 14.13. The second has real part ½ and height 21.02. The third: ½ again, at 25.01.

Walking north along the line at real part ½: the size of ζ, from height 0 to 52. It touches zero ten times, at the ten heights on the map.

These are the dots in the picture at the top of the page. Its stripes show which way ζ(s) points at each spot on the map. At a zero ζ has no size and so no direction, and every stripe runs into it.

The Riemann hypothesis says: every zero in the strip has real part exactly ½.

All of them sit on one straight line, running north to south through ½. It is called . That is the whole statement. Riemann wrote in 1859 that it was "very probable", and that he had put the search for a proof aside after "a few fleeting vain attempts".

The critical line

The zeros in the strip come in mirror pairs. Each has a partner at the same real part and the opposite height, below the road. And each has a partner reflected east to west in the line at ½. So a zero off the line would not be alone: there would be one at real part ½ + a and one at ½ − a, at the same height. The hypothesis says a is always 0.

On the line itself, ζ can be turned into an ordinary real function of the height, and its zeros become sign changes. That is how computers count them, and why "all on the line, up to here" can be checked rigorously.

Deep end: the exact sentence the computer checkedThe last layer of this page. There is a way back.

Why would anyone care where a function is zero? Because each zero is a wave in the primes.

7 Each zero is a wave

Back to the staircase from step 2: a smooth curve plus a wiggle. In the same 1859 paper, Riemann found what the wiggle is made of. His says:

the prime staircase = the smooth curve + one wave for each zero of ζ

Exactly, not roughly. Here it is, one wave at a time.

Top: the true staircase in grey, and the smooth curve plus the waves added so far. Bottom: the last wave added, on its own. Up to 30 the waves go in one at a time, then in batches up to 200. No prime went into any curve here: they are made from the smooth curve and the zeros alone.
The explicit formula

It is cleanest for a weighted count. Instead of counting 1 for each prime, let every prime power pk count ln p. That is Chebyshev's function ψ(x). Its smooth curve is simply the straight line x, and the formula reads (von Mangoldt, 1895):

ψ(x)=x−∑ρxρρ−ln⁡2π−12ln⁡(1−x−2)

The sum runs over the zeros ρ in the strip. Take one zero ρ = β + iγ together with its mirror image below the road:

xρρ+xρ¯ρ¯=2xβ|ρ|cos⁡(γln⁡x−arg⁡ρ)

Both jobs of a zero are in that one line. β, the real part, is the power of x: how fast the wave grows. γ, the height, multiplies ln x inside the cosine: how fast it wiggles. And the wave is regular in ln x, not in x. It is a pure tone if you listen on a logarithmic clock.

For the staircase itself the formula has the same shape with li(xρ) in place of xρ/ρ, and li(xρ) is roughly xρ/(ρ ln x).

Deep end: the fine print of the formulaThe last layer of this page. There is a way back.

With no waves you have the smooth curve. (Here it is of the curve from step 2.) Add the wave of the first zero and the curve starts to lean toward the steps. Add more and the steps sharpen. With every zero it would be the staircase exactly. The picture stops at 200 of infinitely many.

Riemann's smooth curve

Gauss's curve li(x) runs a little high, because it also counts squares of primes as half a prime, cubes as a third, and so on. Riemann's curve takes those back out:

R(x)=∑n=1∞μ(n)nli⁡(x1/n)=li⁡(x)−12li⁡(x)−13li⁡(x1/3)−15li⁡(x1/5)+16li⁡(x1/6)−…

μ is the Möbius function: +1, −1 or 0 depending on how n splits into primes. The −½ li(√x) term is why li(x) has been above the true count at every x anyone has computed. Littlewood proved in 1914 that the two must cross infinitely often all the same. The first crossing is believed to be near 10316. Nobody has seen it.

The primes, which looked random, turn out to be a chord: a smooth swell plus a set of pure waves.

What each coordinate of a zero does

A zero has two coordinates, and each does one job in its wave.

Its height sets how fast the wave wiggles. A zero further north makes a faster wave. You can see that in the strip under the picture.

Its real part sets how fast the wave grows as x gets bigger. A zero with real part ½ makes a wave that grows like x to the power ½, which is √x. A zero with real part ¾ would make a wave that grows like x to the power ¾, which is much faster. (Don't look for the growth in the picture above. Over a stretch as short as 2 to 100 it barely shows.)

Now put the hypothesis in. Every real part is ½. So every wave grows like √x, and no wave grows faster than any other. They share .

The same growth rate, different sizes

The wave of a zero at height γ has a size of about

2xγln⁡x

The √x / ln x is the same for every zero. (Up to 100 the square root and the logarithm nearly cancel, which is why the waves in the picture hardly grow. Further out the square root wins.) The division by γ is not: zeros further north make smaller waves as well as faster ones. The first zero, at 14.13, makes the biggest wave.

What the hypothesis fixes is the rate. With every real part at ½, no wave gains on another at any size of number. The mix at x = 100 is the mix at 10100. On a mixing desk: every fader stays where it is.

So the wiggle, all the waves together, can never stray far. The count of primes up to x never differs from the smooth curve by much more than √x. The exact bound is .

The bound: √x times ln x

The waves shrink with the height of their zero, but only like 1/γ, and the zeros get denser going north. So the sizes of the waves do not add up to a finite total. Their sum settles only because the waves are out of step with one another, and that costs a logarithm.

The result (von Koch, 1901): if every zero is on the line, π(x) differs from li(x) by at most a constant times √x ln x. With the constant worked out (Schoenfeld, 1976):

|π(x)−li⁡(x)|<xln⁡x8π for all x≥2657

And it runs backwards: a bound like this forces every zero onto the line. The statement about zeros and the statement about primes are one statement.

Here is what that means in digits: the true count of primes, and how far the smooth curve from step 2 is off.

  • Up to a thousand168 primes3 digitsoff by 102 digits
  • Up to a million78,498 primes5 digitsoff by 1303 digits
  • Up to a billion50,847,534 primes8 digitsoff by 1,7014 digits
  • Up to a trillion37,607,912,018 primes11 digitsoff by 38,2635 digits
  • Up to 101824,739,954,287,740,860 primes17 digitsoff by 21,949,5558 digits
  • Up to 102418,435,599,767,349,200,867,866 primes23 digitsoff by 17,146,907,27811 digits

The count of primes up to 1024 has 23 digits. The smooth curve misses it by a number with 11 digits, and √x there has 13. About the first half of the digits are right, at every size. For something this irregular, .

As good as it can be

The wiggle cannot be much smaller than √x either. Littlewood proved in 1914, without assuming anything, that π(x) − li(x) swings both above and below zero by at least about √x / ln x, again and again, forever.

So with the hypothesis the size of the wiggle is pinned from both sides. It is √x, give or take logarithms.

Compare a coin. Toss it x times and the number of heads strays from x/2 by something of the order of √x. The primes are not random. But they keep to their average the way a fair coin does, and the Riemann hypothesis is the statement that they do.

In plain words: the primes never start behaving differently. However far out you go, they keep to their average as closely as they did at the start.

What a zero off the line would do

Before the proof, computers had checked . Every one was on the line. But there are infinitely many, and nobody could rule out a single zero, far to the north, sitting slightly to one side. This is what that one zero would do.

How much was known before the proof

By computing. Riemann worked out the first few zeros by hand; the calculation was found among his papers decades later. Gram published 15 in 1903. Titchmarsh reached 1,041 in 1936. Turing checked 1,104 on the Manchester computer in 1953. In 2004 Gourdon and Demichel reported ten trillion. The rigorous record is Platt and Trudgian's, published in 2021: all 12,363,153,437,138 zeros up to height 3 × 1012 are on the line.

By proof. Hardy, 1914: infinitely many zeros are on the line. Selberg, 1942: a positive share of all of them. Levinson, 1974: more than a third. Conrey, 1989: more than two fifths. Pratt, Robles, Zaharescu and Zeindler, 2020: more than five twelfths. In August 2026 Levent Alpöge and Ralph Furman at Anthropic published a proof, found by Claude, of more than two thirds: 67.2%.

That August result was something else, not an early version of the proof: Anthropic wrote at the time that it did not expect those techniques to lead to one. "At least two thirds" and "all" are different kinds of statement. No amount of the first adds up to the second.

Two waves, each shown as a share of √x, from 1 up to a million. Grey: a zero on the line. Pink: one zero moved off it. Not our universe: this is what the proof rules out.

Its wave outgrows all the others. For a long time you would see nothing. Then, past some size, that one wave would be the biggest thing there, and it would pull the primes further from their average than all the other waves together. Checking zeros one by one could never rule that out. A proof can, and since 2026 one has.

8 It is all waves

Look at what happened. The primes went in as a list of numbers with no visible pattern. They came out as a sound: a smooth swell plus pure tones, one for each zero. The heights of the zeros are the pitches. The real parts say how each tone's loudness changes as the numbers grow, and the hypothesis says they all change alike, so no tone ever takes over.

The zeros are . A musician would call the staircase the waveform and the zeros its frequencies. A physicist would call it a Fourier transform, and would add that .

The spectrum of the primes

Put the primes on a logarithmic clock, t = ln x. Give every prime power n = pk a click at the time ln n, of strength ln p / √n. Then, with every zero on the line at ½ + iγ:

∑n=pkln⁡pnδ(t−ln⁡n)=et/2−2∑γ>0cos⁡(γt)−ε(t)

Clicks on the left, pure tones on the right, and ε a correction that fades fast. It is the explicit formula from step 7, differentiated. Every cosine has the same loudness: that is the hypothesis, in this picture. The √n under the clicks is the same ½.

This is the form you can listen to. The played page renders the right-hand side as audio, from the zeros alone.

The zeros look like energy levels

If every zero is ½ + iγ with γ a real number, the γ look like the eigenvalues of a Hermitian operator: the energy levels of some quantum system. That is the Hilbert-Pólya idea, about a century old. Nobody has found the operator.

In 1972 Hugh Montgomery worked out how pairs of zeros are spaced: they repel each other, with pair correlation 1 − (sin πu / πu)². He mentioned it to Freeman Dyson in Princeton, and Dyson recognised the formula: it is the pair correlation of the eigenvalues of large random Hermitian matrices, the model physicists use for the energy levels of heavy nuclei. Andrew Odlyzko's computations, on millions of zeros around the 1020-th, later matched the prediction closely. Montgomery proved his formula only in part; in full it is still a conjecture.

In Michael Berry's language, the primes behave like the periodic orbits of a chaotic system whose quantum energy levels are the zeros, and the explicit formula is its trace formula. The periods of the orbits are the ln p. In 1999 Berry and Jon Keating proposed the classical Hamiltonian H = xp as a first sketch of such a system.

The 2026 proof does not appear to take this road. Its author's note describes the argument as a descendant of Stepanov's method for the analogous question about curves over finite fields.

Still not enough? The full maths

Mika howling
MikaPast the tape there are no pictures. I howl at ambulances, not at contour integrals.
Still not enough?

The full maths

For number theorists: the functional equation, the explicit formula, the bounds and the exact sentence the computer checked.
Mika lying belly up

MikaYou asked for it. Sum signs, contour integrals and error terms from here on, and no pictures. I'll be belly up somewhere. Shout if you get lost.

Zeta and its product

For Re s > 1, absolutely convergent and never zero:

ζ(s)=∑n=1∞1ns=∏p11−p−s

The product is unique factorisation. Near the pole, ζ(s) = 1/(s−1) + γ + O(s−1), with γ Euler's constant.

The functional equation

Riemann continued ζ to the whole plane in one go and found its symmetry:

π−s/2 Γ(s/2) ζ(s) = π−(1−s)/2 Γ((1−s)/2) ζ(1−s)

Equivalently ξ(s) = ½ s(s−1) π−s/2 Γ(s/2) ζ(s) is entire and ξ(s) = ξ(1−s). His second proof takes the Mellin transform of the theta function θ(x) = ∑ e−πn²x over all integers n and uses θ(1/x) = √x θ(x), which is Poisson summation. (Yes, another theta. The confusion is earned.)

  • The reflection s ↔ 1−s has the line Re s = ½ as its axis. With ζ(s) = ζ(s), zeros off the line would come in fours: ρ, ρ̄, 1−ρ, 1−ρ̄.
  • Γ(s/2) has poles at 0, −2, −4, … At −2, −4, … ζ must vanish to cancel them: the trivial zeros. At 0 the factor s does the cancelling, so ζ(0) is not zero.
  • ζ(0) = −½ and ζ(−1) = −1/12. The second is all there is to the claim that 1 + 2 + 3 + … "equals" −1/12: the series diverges, and the continued function takes that value at −1.
  • The only pole is at s = 1, simple, with residue 1.

The zeros

  • The trivial zeros −2, −4, −6, … come from the Γ-factor. Every other zero has 0 < Re s < 1; that none has Re s = 1 (Hadamard, de la Vallée Poussin, 1896) is equivalent to the prime number theorem.
  • They are symmetric under s ↦ s and under s ↦ 1−s.
  • Their number up to height T (Riemann, von Mangoldt):
N(T)=T2πln⁡T2π−T2π+O(ln⁡T)
  • On the line, Hardy's Z(t) = eiθ(t) ζ(½ + it) is real for real t, with θ the Riemann-Siegel theta function (a fourth theta). Its sign changes locate zeros on the line, and Turing's method certifies that none was missed in between. That is how Platt and Trudgian verified the first 12,363,153,437,138.
  • The picture at the top of the page is a phase portrait: the shade is arg ζ(s), running through once for every eighth of a turn, for Re s from −5.5 to 6.5 and heights 4 to 52. At a simple zero the phase winds once, so eight stripes meet at every dot.

The explicit formula

For Chebyshev's ψ(x) = ∑ Λ(n) over n ≤ x (von Mangoldt, 1895):

ψ(x)=x−∑ρxρρ−ln⁡2π−12ln⁡(1−x−2)

Where it comes from. The logarithmic derivative of Euler's product is

−ζ′(s)ζ(s)=∑n=1∞Λ(n)ns

with Λ(n) = ln p if n is a power of the prime p and 0 otherwise. Perron's formula turns the partial sums of Λ into a contour integral of −ζ′/ζ · xs/s; move the contour to the left and collect residues: the pole of ζ at 1 gives x, each zero ρ gives −xρ/ρ, s = 0 gives −ln 2π, the trivial zeros give the last term. Underneath it is Euler's move from step 3: ξ is determined by its zeros (Hadamard's product, which Riemann assumed and Hadamard proved in 1893).

  • The formula holds for x > 1 with ψ taken as the midpoint at its jumps.
  • The sum over ρ is not absolutely convergent, since ∑ 1/|ρ| diverges. It means the limit of the sum over |γ| < T as T grows.
  • Riemann's own version counts prime powers pk with weight 1/k:
J(x)=li⁡(x)−∑ρli⁡(xρ)−ln⁡2+∫x∞dtt(t2−1)ln⁡t

where li(xρ) means Ei(ρ ln x), and then Möbius inversion gives the staircase:

π(x)=∑n≥1μ(n)nJ(x1/n)

What the picture draws is exactly this, for x up to 100, where only n = 1, 2, 3, 5 and 6 can contribute. The smooth curve is the sum without the zeros, and each wave is −2 Re ∑ μ(n)/n · Ei(ρ ln x / n) for one zero. With all 200 waves the total is within 0.04 of the true count midway between every two neighbouring primes up to 100, and within 0.06 of the half step at each prime, where the formula lands in the middle of the jump.

What the hypothesis says about the primes

Let Θ be the least upper bound of the real parts of the zeros. Then ψ(x) = x + O(xΘ ln² x) and π(x) = li(x) + O(xΘ ln x), and no smaller exponent will do. The functional equation forces Θ ≥ ½. The hypothesis is Θ = ½:

ψ(x)=x+O(xln2⁡x)
|π(x)−li⁡(x)|<xln⁡x8π; for all x≥2657

The second is Schoenfeld's explicit form (1976). Littlewood (1914) showed unconditionally that π(x) − li(x) is Ω±(√x ln ln ln x / ln x), so the bound is close to best possible.

A zero ρ and its conjugate contribute about −(2√x / (|ρ| ln x)) cos(γ ln x − arg ρ) to π(x). Since ∑ 1/|ρ| diverges, the bound cannot come from adding sizes, and the logarithms are the price.

The exact sentence the computer checked

In November 2026 the proof was checked against the statement in Mathlib, the mathematics library of the Lean prover. This is that statement:

def RiemannHypothesis : Prop :=
  ∀ (s : ℂ) (_ : riemannZeta s = 0)
    (_ : ¬∃ n : ℕ, s = -2 * (n + 1))
    (_ : s ≠ 1),
    s.re = 1 / 2

For every complex s: if ζ(s) = 0, and s is not one of −2, −4, −6, …, and s ≠ 1, then the real part of s is ½. The clause s ≠ 1 is there because a function in Lean has to return something everywhere, even at the pole, and the clause sets that point aside.

Classical statements equivalent to it:

  • π(x) = li(x) + O(√x ln x) (von Koch, 1901).
  • ψ(x) = x + O(√x ln² x), with ψ Chebyshev's function from step 7.
  • M(x) = ∑ μ(n) over n ≤ x is O(x½+ε) for every ε > 0 (Littlewood, 1912).
  • σ(n) < eγ n ln ln n for every n > 5040, with σ the sum of divisors and γ Euler's constant (Robin, 1984).
  • σ(n) ≤ Hn + eHn ln Hn for every n ≥ 1, with Hn the n-th harmonic number (Lagarias, 2002).

More generally, if Θ is the least upper bound of the real parts of the zeros, then π(x) − li(x) is O(xΘ+ε) and no better. The hypothesis is Θ = ½, the smallest value the symmetry allows.

Dirichlet L-functions

For a Dirichlet character χ modulo q:

L(s,χ)=∑n=1∞χ(n)ns=∏p11−χ(p)p−s

The generalised hypothesis puts every zero of every L(s, χ) in the strip on the line Re s = ½. It gives π(x; q, a) = li(x)/φ(q) + O(√x ln x) for a coprime to q, uniformly for q ≤ x. The five theorems checked in the 2026 library are the Riemann hypothesis in Mathlib's wording and in the library's own, and for every Dirichlet L-function: no zeros right of the line, zeros in the strip on the line, and the same for primitive characters. Dedekind, Hecke and automorphic L-functions were not among them.

Has the Riemann hypothesis been solved?

Yes. Levent Alpöge proved it in November 2026, working with Claude, and a computer checked every step.

  • 20 November 2026Levent Alpöge, a mathematician at Anthropic, posts a four-page note and a proof written in Lean, a language in which a computer checks every step. The proof is about 17 million lines long. He writes that he found it working with Claude, Anthropic's AI.
  • 21 November 2026The Lean FRO and the Mathlib Initiative, the organisations behind Lean and its mathematics library, certify that both the statement and the proof are correct.
  • Also provedThe same statement for , the relatives of ζ that sort the primes by remainder.
  • Not yetA proof a person can read from beginning to end. Why it holds, in human words, is still being worked out.
Dirichlet's L-functions

Sort the whole numbers by their remainder on division by 4. Give n the sign +1 if the remainder is 1, −1 if it is 3, and 0 if n is even. Put those signs into the sum for ζ:

L(s) = 1 − 1/3s + 1/5s − 1/7s + 1/9s − …

This is a Dirichlet L-function. It has its own Euler product and its own zeros, and its zeros are the waves in how the primes split between the two kinds, one above a multiple of four and three above. There is one such function for every way of sorting by remainders. Dirichlet used them in 1837 to prove that every sensible remainder class contains infinitely many primes.

The generalised Riemann hypothesis says the zeros of all of them have real part ½. Andrew Sutherland's record of the checks lists five theorems proved in the Lean library: the Riemann hypothesis in Mathlib's wording, and the generalised one for every Dirichlet L-function. Zeta functions of number fields and L-functions of other kinds were not among the statements checked.

What the computer check covers

In Lean a proof is a program, and a small trusted core checks that every step follows from the ones before. The certificate of 21 November rests on four things: the statement proved is Mathlib's own definition of the Riemann hypothesis; the library compiles, reproducibly; two independent tools confirmed that the theorem proved is exactly that statement; and the exported proof was replayed through several independent checkers.

What it does not give is understanding. Nobody reads 17 million lines. On 25 November a much shorter Lean proof of the same five theorems was published, about 76,000 lines in its compact form. Its own notes say that no mathematician has read it through and that no paper comes with it yet.

Nobody had proved it in 167 years. People might have. It would have taken extreme diligence and a great deal of time.

And it does not do some of the things you may have read. It does not make the primes predictable one by one. It does not .

Why it doesn't break encryption

Encryption like RSA rests on one thing being slow: splitting a huge number into its two prime factors. The Riemann hypothesis is about how the primes are spread out on average. Knowing it for certain gives no faster way to split a number.

If anything it firms the ground up. Number theorists and cryptographers had been assuming the hypothesis, and its generalised form, for decades. Hundreds of theorems begin "assuming the Riemann hypothesis". For the ones that needed only what was proved, that clause can now be dropped.

The story of how the proof was found is its own piece, and it is coming.

Hear it

This page stops at pictures. It is all waves, so it can be played. The pages next door play it.

The instrument

The zeros as an instrument

16, 32 or 64 zeros in a row detune one note: a bell low on the line, a supersaw higher up. Pick the preset Listen to the primes and they arrive inside the note. Free, in stereo, in your browser.

Play the synth

Where this comes from

Every curve on this page was computed for it, from the first 200 zeros of ζ, and checked against the true count of primes. The dates and numbers about the proof were checked against the sources below on 27 November 2026.

Explained the way Daniel Breyer learned it: out loud, from scratch, one term at a time. He is a theoretical quantum physicist who makes club music, which is why the page ends with a way to hear it. Text and pictures made with AI.