ζ Riemann Hypothesis Explained

The most famous problem in math, in about 26 minutes

What is the Riemann Hypothesis?

A narrated, animated explainer that starts from scratch. If you can add and multiply, you can follow it.

0:00
100

    Narrator & sound

    Tap a narrator to hear a sample. Your choices are remembered.

    Try it yourself

    Every idea from the video, as something you can poke at. Drag, tap and slide.

    1

    Sift out the primes

    Tap Sift to cross out the multiples of the next prime. Tap any number to see what it's made of.

    Tap a number
    2

    The prime staircase

    The staircase counts primes; the smooth curve is the prediction. Slide to zoom out and watch them hug each other.

    3

    Adding up forever

    Pick a sum and add more and more pieces. Does the total settle down, or run away?

    4

    Explore the zeta map

    Drag the white ring anywhere. The readout shows ζ(s) at that point. Dark spots are zeros. Can you find one off the dashed middle line? (You can't. That's the hypothesis.)

    5

    The music of the primes

    Each zero adds one wave. Add more and watch the smooth curve rebuild the prime staircase. Then add a rogue zero off the line.

    Prefer to read?

    The full narration, chapter by chapter.

    01A $1,000,000 question

    In November 2026, a mathematician at the AI company Anthropic made a startling claim. Working with an AI called Claude, he says he has proved the most famous unsolved problem in mathematics. The problem was written down in 1859, almost as an aside, in an eight-page paper by a shy German mathematician named Bernhard Riemann.

    Solve it completely, and there's a million dollars waiting for you. But the money is the least interesting part. Because hidden inside this one question is the secret of how the prime numbers are arranged. Over the next twenty minutes, we'll build it from scratch. If you can add and multiply, you can follow every step.

    02The atoms of arithmetic

    Let's start with whole numbers. Some of them can be split into smaller whole numbers multiplied together. Take 360. It's 36 times 10. Thirty-six is six times six, and ten is two times five. Keep splitting until nothing splits any further, and you're left with 2 × 2 × 2 × 3 × 3 × 5.

    Those numbers that can't be split are the primes: two, three, five, seven, eleven, thirteen, and so on. Here's the remarkable part. No matter how you start splitting 360, you always end up with exactly the same primes. Every whole number has one, and only one, prime recipe. Like a molecule built from atoms.

    Even a number like 1001 hides a recipe: seven, times eleven, times thirteen. And that's why one doesn't count as a prime. If it did, you could sneak in as many ones as you like, and recipes would stop being unique.

    03They never run out

    So here's a natural first question: do the primes ever run out? Over two thousand years ago, Euclid found a beautiful argument that they don't. Suppose someone hands you a list and claims it contains every prime. Say, two, three, five and seven.

    Multiply them all together, and add one. Two times three times five times seven, plus one, is 211. Now, 211 leaves a remainder of one when you divide it by two, by three, by five, or by seven. None of the listed primes divide it. So its prime recipe must use a prime that isn't on the list. Here, 211 is itself a brand new prime.

    Careful, though. Do the same with the primes up to thirteen, and you get 30,031, which is not prime. It's 59 times 509. But that's fine. Fifty-nine and five hundred nine are new primes too. Whatever list you start with, you can always find one more. So the primes go on forever. The real mystery isn't whether they continue. It's how they're spread out.

    04Counting the primes

    Let's count them. Up to ten, there are four primes: two, three, five and seven. Up to a hundred, there are twenty-five. Up to a thousand, there are one hundred and sixty-eight. Up to a million, there are seventy-eight thousand, four hundred ninety-eight.

    Look at the gaps between them, and they seem random. Eleven and thirteen sit right next to each other. Then nothing at all between 89 and 97. There's even a stretch of 153 numbers in a row with no prime at all, starting just after 4,652,353. Let's draw the count as a staircase. Walk along the numbers, and every time you hit a prime, step up by one.

    Up close, it's jagged and unpredictable. But zoom out, and something surprising happens. The staircase starts to look like a smooth curve.

    05Gauss's guess

    Around 1792, a teenager named Carl Friedrich Gauss spent his free time counting primes, by hand, in blocks of a thousand. He noticed a pattern. Near any number x, the chance that a number is prime is about one divided by the natural logarithm of x. The logarithm grows slowly. Near a thousand it's about seven, so roughly one number in seven is prime.

    Near a million it's about fourteen, so one in fourteen. Near a billion, about one in twenty-one. Add up those chances, and you get a smooth curve called the logarithmic integral. Here it is, next to the real staircase. Up to a million, the guess says about 78,628 primes. The true count is 78,498. That's off by only 130.

    Up to a billion, it's off by about seventeen hundred, out of more than fifty million. An error of three thousandths of one percent. In 1896, two mathematicians, Jacques Hadamard and Charles de la Vallée Poussin, proved Gauss was right in the long run. And to do it, they used the very function this story is about.

    06How wrong can it be?

    But being right in percentage terms isn't the whole story. Let's look at the actual gap between the staircase and the curve. Plot that error on its own, and it wiggles. Up a bit, down a bit, never settling down. The error does grow as the numbers get bigger. The question is: how fast?

    If it grows slowly, the primes are tame. They follow Gauss's curve about as closely as anything random could. If it can grow quickly, the primes hide wild clumps and deserts we haven't discovered yet. The Riemann hypothesis is the answer to exactly this question. To see why, we need one of the strangest objects in mathematics.

    07Adding up forever

    It begins with a simple idea: adding up infinitely many numbers. Walk halfway across a room. Then half of what's left. Then half again. One, plus a half, plus a quarter, plus an eighth. You take infinitely many steps, but you never pass the wall. The total settles at exactly two.

    Now try one, plus a half, plus a third, plus a quarter, plus a fifth. The pieces still shrink toward zero. Does this one settle down too? Surprisingly, no. Group the pieces: a third plus a quarter is more than a half. The next four pieces are more than a half. The next eight, more than a half again. You can keep finding halves forever, so the total grows without limit. Just very slowly. You need over twelve thousand pieces to pass ten.

    Now square the bottoms: one, plus a quarter, plus a ninth, plus a sixteenth. This one does settle down, somewhere around one point six four. In 1735, the young Leonhard Euler found the exact answer, and stunned Europe. It's pi squared, over six. Pi. The circle number. Appearing out of a sum made of nothing but whole numbers. That should make the hair on your neck stand up.

    08The zeta function

    Let's turn that sum into a machine. Pick a number s. Raise every whole number to the power s, flip each one over, and add them all up. This machine is called the zeta function. Feed it two, and out comes pi squared over six. Feed it one, and it runs off to infinity. Now watch what Euler did with it next. Take zeta of two, and multiply it by one minus a quarter.

    Something magical happens. Every term with an even number on the bottom cancels out. The multiples of two are gone. Multiply by one minus a ninth, and every multiple of three disappears too. Then the fives. Then the sevens. It's the sieve of primes, hiding inside the zeta function. Keep going through every prime, and only the number one survives.

    Turn that around, and you get Euler's product: zeta equals a product of one simple factor for every prime. On the left, a sum over all whole numbers. On the right, a product over only the primes. That equals sign is a bridge between them. So whatever zeta does, the primes are woven into it. Riemann's genius was to ask what happens when you feed it a completely different kind of number.

    09A second direction

    Picture the ordinary numbers as a line stretching left and right. Now add a second direction: up and down. Every point on this flat map is a complex number. Two steps right and one step up is written two plus one i. The number i is one step straight up. And it has a famous property: i times i equals minus one.

    Here's the best way to think about it. Multiplying by i rotates a point a quarter turn around the center. Rotate twice, and you're facing the opposite way. That's why i squared is minus one. It's not mysterious. It's a half turn. In general, multiplying complex numbers adds their angles together. Multiplication is rotation.

    This leads to what many call the most beautiful formula in mathematics. It uses the number e, about two point seven one eight, which appears whenever something grows smoothly, like money earning interest every instant. Raise e to an imaginary power, and instead of growing, it turns. e to the power i times pi spins you exactly halfway around the circle, landing on minus one.

    10Powers that spin

    Now we can ask the strange question: what does it mean to raise a number to an imaginary power? Ordinary powers stretch. Two to the power three is eight, bigger than two. Two to the minus one is a half, smaller. But imaginary powers don't stretch at all. They rotate. Two to the power i is a point on a circle, about forty degrees round.

    Increase the imaginary part, and the point spins around and around, like the hand of a clock. So a complex s does two jobs at once. Its ordinary part shrinks each term. Its imaginary part spins it. Feed zeta one point two plus six i. Each term of the sum becomes a little arrow, shrinking and pointing in its own direction.

    Adding arrows is easy. Place them head to tail, and wherever the last one ends, that's the total. Do that with every arrow in the sum, and they curl into a spiral that homes in on a single point. That point is the answer. Feed zeta a point on the map, and it gives you back another point on the map.

    But why does the spiral settle down? Lay the arrows end to end in a straight line instead. Their lengths add up to a finite total, about five and a half, just like the sum of squares from earlier. A path of finite length has to end somewhere. So however much the arrows twist, the spiral must arrive.

    11Beyond the edge

    But move left, and something breaks. On the line where s is one, the arrow lengths become one, a half, a third, a quarter. That's the sum from earlier that grows forever. The path is infinitely long, and the spiral never settles. Further left, the arrows are even longer, and the spiral grows without limit. The sum simply has no answer there.

    And that's a real problem, because, as we'll see, the secrets of the primes are hidden exactly there, in the region where the sum breaks down. Here's a simpler example of the same situation. One plus x plus x squared plus x cubed, forever, equals one over one minus x. Plug in a half, and both sides give two. Perfect. But plug in two, and the sum explodes, while the right side calmly says minus one.

    The formula on the right is the bigger truth. It agrees with the sum wherever the sum makes sense, and keeps going smoothly where the sum breaks down. Riemann did the same for zeta, and there is exactly one way to do it. Smooth functions like zeta are rigid, like a circle. Show me a tiny arc, and there's only one circle it can belong to. In the same way, the right side of the map decides the left. This is called analytic continuation.

    It's also the real story behind that viral claim that one plus two plus three plus four, forever, equals minus one twelfth. The sum doesn't equal anything. It grows forever. But the extended zeta function, at minus one, really is minus one twelfth. Now we can picture zeta everywhere. At each point, zeta's answer is an arrow. We color the point by the direction of that arrow, and make it brighter the longer it is.

    12The zeros

    Look for places where every color meets at a single dark point. There, zeta's arrow has shrunk to nothing. It points nowhere, so every color touches it. Zeta equals exactly zero. Why hunt for zeros? Because of Euler's bridge, zeta carries the primes inside it. And Riemann discovered that the zeros are where that information is stored. Some zeros are easy to find. They sit at minus two, minus four, minus six, and so on forever. Mathematicians call these the trivial zeros.

    All the others, the interesting ones, live inside a narrow band between zero and one. It's called the critical strip. Riemann discovered a hidden symmetry. The map inside the strip is a mirror image of itself, reflected through the middle line. So the zeros come in mirror pairs, balanced around that middle line.

    The first one sits one half of the way across, and fourteen point one three four seven up. The next at twenty-one point zero two. Then twenty-five point zero one. Riemann calculated the first few by hand. In 1932, Carl Ludwig Siegel decoded his private notes and found a formula for computing zeros that was decades ahead of its time. Versions of it are still used to check zeros today.

    13The hypothesis

    Notice something about those zeros? Every one of them sits exactly on the middle line, where the first coordinate is one half. Riemann noticed it too. He wrote that it was very likely that all of them do, and moved on. That sentence is the Riemann hypothesis. Every interesting zero of the zeta function lies on the critical line.

    Watch where zeta sends the points on that line as we climb it. The center of this picture is zero, so every time the path passes through it, we've hit a zero. Computers have now checked the first ten trillion zeros. Every single one is on the line. Mathematicians have proved a lot along the way. In 1914, G. H. Hardy proved infinitely many zeros are on the line. Later work showed at least forty percent are.

    But there are infinitely many zeros. Checking can never be enough. And a single zero off the line would bring the whole thing down.

    14The music of the primes

    So why do these zeros control the primes? Riemann found an exact formula connecting them. Start with the smooth curve. Then, for every zero, add a wave. The zero's height sets the wave's pitch. With one wave, the curve starts to wobble. With ten, it begins to bend toward the steps.

    With a hundred, the waves rebuild the staircase almost perfectly, with a sharp jump at every prime. The primes are like a piece of music, and the zeros are its notes. Now here's the key. The zero's left-right position sets the wave's volume. The further right it sits, the louder its wave grows.

    If every zero is on the critical line, the waves are as quiet as they can possibly be. The error never grows faster than the square root of x, times its logarithm. A zero further right would be a note that's far too loud, and the primes would stray from Gauss's curve much more than we believe.

    15Why it matters

    So what would a proof actually give us? More than a thousand published results begin with the words: assume the Riemann hypothesis is true. Here are a few. First, no nasty surprises. Gauss's estimate would never be off by much more than the square root of the number. Around a trillion, that's an error of at most about a million, out of thirty-seven billion primes. It also rules out huge deserts. After any large number, the next prime always comes along within roughly its square root.

    Second, the primes are as random as they can be. Score most whole numbers plus one or minus one, depending on whether they have an even or odd number of prime factors. The Riemann hypothesis is exactly the statement that the running total never drifts much further than a fair coin's would. Third, it hides in schoolbook arithmetic. Add up the divisors of twelve: one, two, three, four, six and twelve make twenty-eight.

    Using the sum from earlier, one plus a half plus a third, there's a simple formula that sets a limit for each number. For twelve, it's about twenty-eight point three. The Riemann hypothesis is true exactly when no number ever goes over its limit. And assuming it works like a map. In 1923, Hardy and Littlewood showed that every large odd number is a sum of three primes, by assuming a stronger form of the hypothesis. In 2013, Harald Helfgott proved it for every odd number above five, with no assumption at all. And the zeros keep showing up where nobody expected them. In 1972, a young mathematician named Hugh Montgomery visited Princeton.

    He'd found a formula for how the zeros are spaced. They seem to repel each other, rarely bunching up. Over afternoon tea, he showed it to the physicist Freeman Dyson. Dyson recognized it instantly. It was the same formula that describes the energy levels inside heavy atomic nuclei. Nobody yet knows why.

    16Will it break the internet?

    There's one fear that comes up whenever someone claims a proof: will it break the internet? In a 2005 episode of the TV show Numb3rs, criminals kidnap a mathematician's daughter to get his proof of the Riemann hypothesis. Their plan: use it to crack internet encryption. The fear isn't crazy. Much of the internet's security is built on primes. A website can prove who it is using a number made by multiplying two huge primes, each hundreds of digits long.

    Multiplying them takes a computer a split second. Going backwards, finding the two primes from their product, would take today's best methods far longer than the age of the universe. But the Riemann hypothesis is about how primes are spread out on average, like a census of a whole country. Factoring asks where two particular people live. A census can't tell you anyone's address. In fact, cryptography already behaves as if the hypothesis were true. To make a new key, a computer tests huge random numbers until it hits a prime. That only works because primes are spread out so predictably.

    So a proof changes guarantees, not practice. In 1976, Gary Miller published a fast prime test that was only guaranteed to work if a stronger form of the hypothesis held. The new proof covers that form too, so if it stands, Miller's test is guaranteed after all. Could the proof hide a new idea that makes factoring easier? In principle, a deep insight about primes could lead anywhere. But factoring and the spacing of primes are different questions, and no one has found a path from one to the other. The real threat is a different kind of machine. In 1994, Peter Shor showed that a large enough quantum computer could factor these numbers quickly, hypothesis or no hypothesis.

    That's why, in 2024, the US standards agency NIST approved new encryption built on different math problems, designed to stop both ordinary and quantum computers. The switch is already underway. So if the proof holds, your bank account is safe. What changes is deeper: we finally know how the numbers everything is built on behave.

    17Where things stand

    Which brings us back to this autumn. In October 2026, OpenAI announced that an AI system had proved the quasi-Riemann hypothesis. It's a weaker cousin. Instead of pinning every zero exactly to the middle line, it keeps them all inside a narrower band, between one twelfth and eleven twelfths. Before this, nobody could even rule out zeros creeping arbitrarily close to the edges of the strip.

    Then, on November 20th, came a far bigger claim. Levent Alpöge, a mathematician at Anthropic, posted what he believes is a proof of the full Riemann hypothesis, found working with Claude. It isn't written like a normal paper. The whole proof is in Lean, a language a computer can check line by line. Printed out, it would run to hundreds of thousands of pages. So experts had two jobs. Check that the computer really accepts every step, and check that the theorem it proves truly is Riemann's hypothesis.

    The number theorist James Maynard said that if it fully checks out, it is clearly a historic milestone in mathematics. Within a day, there was an answer. On November 21st, the Lean and Mathlib communities certified that both the statement and the proof are correct. Mathematicians, including Andrew Sutherland at MIT, have checked it independently. The same proof also settles a bigger cousin of the hypothesis, for a whole family of functions called Dirichlet L-functions.

    Dirichlet L-functions are versions of zeta that watch the primes in separate lanes, like primes ending in one, three, seven or nine. Their hypothesis says the primes share out between the lanes as evenly as possible. But no person yet understands the proof. It runs to millions of lines of code. Alpöge plans to write a version for human readers over the coming months. The same day, a second proof appeared. Ravi Vakil, a Stanford professor and the president of the American Mathematical Society, shared a draft by the mathematician Alessandro Masullo, claiming the generalized hypothesis.

    It is all human, with no AI, Vakil wrote. The Stanford number theorist Brian Conrad had been reviewing it for months, and the plan was to spend a year polishing it before going public. Instead, it was released that day. Within about eight hours, several people had reported problems in it, many found with the help of AI models. As Vakil wrote, every issue has to be resolved to the community's satisfaction before a proof is accepted. That's the difference between the two. A human proof explains its ideas, but checking it by hand can take years. A machine-checked proof can be verified in a day, yet no one fully understands it yet.

    The million-dollar prize has its own rules: a proof must be published, and then survive two years of scrutiny. But after a hundred and sixty-seven years, it looks as though Riemann was right. Every interesting zero lies on the line.

    18Still listening

    Whatever the prize committee decides, something has already changed. For thousands of years, mathematics moved at the pace of one person with a pencil, thinking. Now that person has company. Machines that check every step of a proof, so no mistake can hide. And AI that can explore more ideas in a month than one person could in a lifetime.

    But a proof is not the same as understanding. Nobody yet knows why the zeros line up, or why they space themselves like the energy levels of an atom. Finding out is still a human adventure. And bigger questions are waiting: cousins of Riemann's hypothesis for more general zeta-like functions, still wide open. With new tools, the next answers may not take a hundred and sixty-seven years. Perhaps that's the future: people and machines side by side, each helping the other to wonder further.

    In 1859, by candlelight, Bernhard Riemann wrote eight pages, called his idea very likely, and moved on. He never knew whether he was right. But his question outlived him, and everyone who chased it, and it meant exactly the same thing on the day it was answered. That's the quiet magic of mathematics. A truth, once found, belongs to everyone, and it stays true forever.

    The primes look like noise. Underneath, there's music. And now, more of us than ever are listening.

    Quick answers

    What is the Riemann hypothesis, in one sentence?

    It's the claim that every non-trivial zero of the Riemann zeta function lies on one vertical line, where the real part is exactly ½. Those zeros control how the prime numbers are spread out, so the hypothesis amounts to saying the primes are as evenly spread as they could possibly be.

    Has the Riemann hypothesis been proven?

    Very probably, though the process isn't finished. On November 20, 2026, Levent Alpöge, a mathematician at Anthropic, released a proof found working with the AI model Claude, written entirely in Lean, a language computers can check step by step. On November 21, the Lean and Mathlib communities certified that both the statement and the proof are correct, and independent mathematicians, including Andrew Sutherland at MIT, rebuilt and re-checked it. No human-readable explanation exists yet, the proof hasn't been through traditional peer review, and the Clay Institute still lists the problem as open. The same day, Stanford's Ravi Vakil, president of the American Mathematical Society, shared a separate, all-human draft proof of the generalized hypothesis by Alessandro Masullo; readers reported problems in it within hours and it is still under review.

    What did Anthropic announce in November 2026?

    On November 20, 2026, Anthropic mathematician Levent Alpöge posted a short note and a very large body of Lean code (about 17 million lines), saying that, working with Claude, he had found a proof of the Riemann hypothesis and of the generalized Riemann hypothesis for Dirichlet L-functions. Within a day the Lean and Mathlib communities certified it: "We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct." James Maynard had said that if it fully checks out, it is clearly a historic milestone in mathematics. Alpöge has said he plans to write a human-readable version over the coming months.

    What is the quasi-Riemann hypothesis?

    The Riemann hypothesis says every non-trivial zero has real part exactly ½. The quasi-Riemann hypothesis only asks that the zeros stay inside some band narrower than the full critical strip from 0 to 1. OpenAI's paper claims the real parts always lie between 1/12 and 11/12. That's a big deal, and some experts say it already delivers most of the hypothesis's consequences, but it's not the same as putting every zero exactly on the line.

    Is there really a $1 million prize?

    Yes. In 2000 the Clay Mathematics Institute named the Riemann hypothesis one of seven Millennium Prize Problems, each with a $1,000,000 reward. Under the rules, a solution must be published in a qualifying outlet and then stand up to two years of scrutiny and general acceptance, so even a proof announced in 2026 could not be rewarded before 2028.

    Why does it matter?

    It pins down, as tightly as possible, how far the count of primes can drift from Gauss's smooth estimate: roughly no more than the square root of x times its logarithm. Around one trillion, that limits the error to about a million out of 37.6 billion primes. It also rules out long prime-free deserts, means the primes behave as randomly as fair coin flips, and is equivalent to a simple inequality about the divisors of whole numbers. More than a thousand published results assume it, so a proof confirms all of them at once.

    Would a proof break internet encryption?

    No. Encryption like RSA relies on how hard it is to factor one huge number into its two prime factors. The Riemann hypothesis describes how primes are spread out on average; it gives no method for factoring any particular number. Cryptography already behaves as if the hypothesis were true, so a proof mostly upgrades guarantees: for example, Gary Miller's 1976 deterministic primality test was proven fast only under a generalized form of the hypothesis, which the new proof also covers. The real threat to RSA is a large quantum computer running Shor's 1994 algorithm, which is why NIST approved new post-quantum standards (FIPS 203, 204 and 205) in August 2024.

    How many zeros have been checked?

    Trillions. More than ten trillion zeros were computed in 2004, all on the critical line, and the hypothesis has been rigorously verified for every zero up to a height of three trillion (Platt and Trudgian, 2021). But there are infinitely many zeros, so no amount of checking can prove it.

    Who was Bernhard Riemann?

    A German mathematician (1826 to 1866) who reshaped geometry and analysis. His only paper on number theory, published in 1859 and just eight pages long, introduced the ideas behind the zeta function's zeros and stated the hypothesis almost in passing.