← Home
The Riemann Hypothesis
Explained for Calculus Students
Wikipeterson Math

Contents

  1. Start with p-series
  2. Why primes come in
  3. Infinitely many primes
  4. How are primes spread out?
  5. Beyond where the series works
  6. The hypothesis itself
  7. Why it matters
  8. The bottom line
What just happened
Portrait of David Hilbert in 1907
David Hilbert (1862–1943)In 1900, Hilbert included the Riemann Hypothesis in his famous list of 23 problems, as Problem 8. Portrait and public-domain details.

"If I were to awaken after having slept for a thousand years, my first question would be: Has the Riemann Hypothesis been proven?"

attributed to David Hilbert

In 1900, the German mathematician David Hilbert presented a famous list of 23 problems he thought would shape the coming century. The Riemann Hypothesis was on it. More than a hundred years later, most of Hilbert's problems had been solved, but this one was still open. Hilbert was ready to wait a thousand years for the answer. If the new proof holds up, it took 126.

Status as of November 21, 2026
A proof of the Riemann Hypothesis has been claimed and is being checked by mathematicians. It is not yet confirmed.

On Friday, November 20, 2026, the mathematician Levent Alpöge, who works at the AI company Anthropic, posted a short note that began: "I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis." Claude is Anthropic's AI model. Alpöge said that near the end, Claude "far outpaced" him.

The proof is not a traditional paper. It's written in Lean, a programming language for mathematical proofs. In Lean, a computer checks every single logical step, so a proof that passes the check can't contain a hidden mistake in its reasoning. This one is enormous: millions of lines of code, which could amount to tens of thousands of pages of ordinary mathematics. A few hours later, Stanford's math department said that one of its postdoctoral researchers had independently submitted a proof as well.

Why mathematicians are excited, but careful
Why it matters

The Riemann Hypothesis has been open since 1859. It's one of the seven Millennium Prize Problems, with a $1,000,000 prize, and many mathematicians consider it the most important unsolved problem in mathematics. Hundreds of published theorems start with "Assuming the Riemann Hypothesis…", so a confirmed proof would turn all of them into theorems at once. It would also be the first time an AI played a major role in solving one of the biggest problems in mathematics. That raises a new question: what does it mean to have a proof that's correct before anyone understands it?

What this page is for

The good news is that you already have the tools to understand what the hypothesis says and why it's about prime numbers. It starts with something from your calculus course: the p-series.

1. Start with something you know: p-series

In AP Calculus BC and Calculus II, students learn about the p-series:

\[ \sum_{n=1}^{\infty} \frac{1}{n^p} = 1 + \frac{1}{2^p} + \frac{1}{3^p} + \frac{1}{4^p} + \cdots \]

It converges when \(p > 1\) and diverges when \(p \le 1\). For example:

Now think of the p-series as a function of \(p\), and call the input \(s\) instead of \(p\). That function is the Riemann zeta function:

\[ \zeta(s) = 1 + \frac{1}{2^s} + \frac{1}{3^s} + \frac{1}{4^s} + \cdots \]
Portrait of Leonhard Euler
Leonhard Euler (1707–1783)Euler found the value of the zeta function at 2 and connected zeta values to prime numbers. Portrait and public-domain details.

So \(\zeta(2)\) is just the sum of the \(p = 2\) series. Leonhard Euler found its exact value in 1734:

\[ \zeta(2) = 1 + \frac14 + \frac19 + \frac{1}{16} + \cdots = \frac{\pi^2}{6} \]

It's strange that \(\pi\), a number about circles, shows up in a sum of reciprocal squares.

The graph of \(\zeta(s)\)

Drag \(s\) toward 1 and \(\zeta(s)\) shoots upward: the p-series is barely converging. At \(s = 1\) and below, the series diverges, so there's no value at all. As \(s\) gets large, \(\zeta(s)\) flattens out toward 1, because every term after the first \(1\) becomes tiny.

2. Why mathematicians care: prime numbers
What's a prime?

A prime number is a whole number greater than 1 whose only divisors are 1 and itself:

\[ 2,\ 3,\ 5,\ 7,\ 11,\ 13,\ 17,\ 19,\ 23,\ 29,\ 31,\ \ldots \]

Numbers that aren't prime are called composite, and every composite number can be broken down into primes:

NumberPrime factorization
12\(2 \cdot 2 \cdot 3 = 2^2 \cdot 3\)
18\(2 \cdot 3 \cdot 3 = 2 \cdot 3^2\)
60\(2 \cdot 2 \cdot 3 \cdot 5 = 2^2 \cdot 3 \cdot 5\)
77\(7 \cdot 11\)
1000\(2^3 \cdot 5^3\)

The key fact is that each number has exactly one prime factorization. You can rearrange the order (\(2 \cdot 3\) or \(3 \cdot 2\)), but you can never factor 60 into a different set of primes. This is called the Fundamental Theorem of Arithmetic, and it's why primes are the "atoms" of the whole numbers. Every number is built from them in exactly one way.

Step 1: A geometric series for each prime

To keep the arithmetic simple, use \(s = 1\) for now. Recall the geometric series formula:

\[ 1 + r + r^2 + r^3 + \cdots = \frac{1}{1-r} \quad \text{when } |r| \lt 1 \]

Apply it with \(r = \tfrac12\):

\[ 1 + \frac12 + \frac14 + \frac18 + \frac1{16} + \cdots = \frac{1}{1 - \frac12} = 2 \]

Every denominator here is a power of 2. Keep an eye on the denominators, because that's where the whole numbers will show up.

Now do it with \(r = \tfrac13\):

\[ 1 + \frac13 + \frac19 + \frac1{27} + \cdots = \frac{1}{1-\frac13} = \frac32 \]

Every denominator here is a power of 3.

We can build one of these series for every prime: one for 2, one for 3, one for 5, one for 7, and so on.

Step 2: Multiply two of them together

Multiply the "2-series" by the "3-series":

\[ \left(1 + \frac12 + \frac14 + \frac18 + \cdots\right)\left(1 + \frac13 + \frac19 + \frac1{27} + \cdots\right) \]

Using the formula, the answer is easy:

\[ 2 \cdot \frac32 = 3 \]

What does that 3 consist of? Expand the product the long way. Scroll slowly through the steps below and watch the table.

Write the 2-series down the side and the 3-series across the top. Multiplying the two series means filling in this table: each cell is its row × column.

Choose \(\tfrac12\) from the 2-series and \(1\) from the 3-series. Their product, \(\tfrac12\), goes in that cell.

Choose \(\tfrac14\) and \(\tfrac13\). Their product is \(\tfrac1{12}\).

Choose \(\tfrac12\) and \(\tfrac19\). Their product is \(\tfrac1{18}\).

Do this for every pair and the whole table fills in. Each cell is one term of the product. The table goes on forever to the right and down, so we're only showing the corner.

Now look only at the denominators: 1, 2, 3, 4, 6, 8, 9, 12, … These are exactly the numbers built from only 2s and 3s, and each one appears exactly once. For example, 12 = 2²·3, so it can only come from row \(\tfrac14\), column \(\tfrac13\).

Some numbers never appear: 5, 7, 10, 11, 13, … However far the table goes, they can't show up, because they need a prime other than 2 or 3. Step 3 fixes that.

Finally, add up every cell. The 20 cells shown already total about 2.87, and the whole infinite table adds to exactly 3. That's the same answer the formula gave: \(2 \cdot \tfrac32 = 3\).

So the 3 is made of every fraction whose denominator is built from 2s and 3s. Numbers like 5, 7, and 10 are still missing.

Step 3: Bring in more primes

To fill in the gaps, keep multiplying in more prime series: the 5-series \(1 + \tfrac15 + \tfrac1{25} + \cdots\), then the 7-series, and so on. Each term of the product picks one term from each series. Scroll through the steps and watch the denominators from 1 to 30 fill in.

Start with the 2-series alone. Its denominators are the powers of 2: 1, 2, 4, 8, 16, and so on.

Multiply in the 3-series. That's the table from Step 2, and it adds 3, 6, 9, 12, 18, 24, 27.

Multiply in the 5-series. Now each term picks one term from each of three series, and that adds 5, 10, 15, 20, 25, 30.

Take 30 = 2 · 3 · 5. The only way to make \(\tfrac1{30}\) is \(\tfrac12\) from the 2-series, \(\tfrac13\) from the 3-series, and \(\tfrac15\) from the 5-series. There's exactly one way because 30 has exactly one prime factorization.

Multiply in the 7-series. That adds 7, 14, 21, 28.

Multiply in the series for every remaining prime up to 30. Each prime brings in itself and its multiples: 11, 13, 17, 19, 22, 23, 26, 29.

Now every box is lit, and each number got lit exactly once, by the one prime factorization it has. The same thing happens past 30, for every whole number there is.

Written out, multiplying the series for every prime gives the sum over every whole number:

\[ \underbrace{\left(\frac{1}{1-\frac12}\right)\left(\frac{1}{1-\frac13}\right)\left(\frac{1}{1-\frac15}\right)\left(\frac{1}{1-\frac17}\right)\cdots}_{\text{one factor for each prime}} = \underbrace{1 + \frac12 + \frac13 + \frac14 + \frac15 + \cdots}_{\text{every whole number as a denominator}} \]
The key point
The left side only knows about primes. The right side is every whole number. They're equal because every whole number has exactly one prime factorization. So anything we learn about this sum is secretly a fact about the primes.
A new piece of notation: Π for products

Writing out an infinite product is awkward, so mathematicians use a shorthand. You already know sigma notation for sums:

\[ \sum_{k=1}^{4} k = 1 + 2 + 3 + 4 = 10 \]

The capital Greek letter \(\Sigma\) (sigma, an "S" for sum) means "add up all the terms."

Capital pi works the same way. The letter \(\Pi\) (a "P" for product) means "multiply all the terms":

\[ \prod_{k=1}^{4} k = 1 \cdot 2 \cdot 3 \cdot 4 = 24 \]

That one is \(4!\), so factorials can be written as \(n! = \prod_{k=1}^{n} k\). Another example:

\[ \prod_{k=1}^{3} \left(1 + \frac1k\right) = \left(1 + \frac11\right)\left(1 + \frac12\right)\left(1 + \frac13\right) = 2 \cdot \frac32 \cdot \frac43 = 4 \]

For Euler's formula we want one factor for each prime, so instead of counting \(k = 1, 2, 3, \ldots\) we write the letter \(p\) under the \(\Pi\). That means "multiply over every prime \(p\)":

\[ \prod_{p \text{ prime}} \frac{1}{1-\frac1p} = \frac{1}{1-\frac12} \cdot \frac{1}{1-\frac13} \cdot \frac{1}{1-\frac15} \cdot \frac{1}{1-\frac17} \cdots \]
Euler's product formula

This works for any power \(s\), not only \(s = 1\). Replace each fraction with its \(s\)-th power and you get Euler's product formula. With both shorthands it fits on one line:

\[ \zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s} = \prod_{p \text{ prime}} \frac{1}{1-\frac{1}{p^s}} \]

The \(\Sigma\) side adds over all whole numbers. The \(\Pi\) side multiplies over primes only. The zeta function connects the two.

Checking it with numbers (s = 2)

With \(s = 2\), the sum side is \(1 + \tfrac14 + \tfrac19 + \cdots\), which Euler showed equals \(\pi^2/6 \approx \mathbf{1.6449}\). Watch the product side get closer to that value as we include more primes:

Primes includedNew factorRunning product
2\(\tfrac43\)1.3333
2, 3\(\tfrac98\)1.5000
2, 3, 5\(\tfrac{25}{24}\)1.5625
2, 3, 5, 7\(\tfrac{49}{48}\)1.5951
2, …, 11\(\tfrac{121}{120}\)1.6083
2, …, 13\(\tfrac{169}{168}\)1.6179
all primes1.6449…

Each new prime nudges the product closer to \(\pi^2/6\).

So it turns out that, in zeta notation,

\[ \zeta(2) = \sum_{n=1}^{\infty} \frac{1}{n^2} = \prod_{p \text{ prime}} \frac{1}{1-\frac{1}{p^2}} = \frac{\pi^2}{6} \]

A sum over every whole number, a product over only the primes, and \(\pi\) all give the same value. Next, we'll do the same thing with \(s = 1\). This time the answer isn't a finite number, and that tells us something about the primes.

3. The payoff: there are infinitely many primes

Now plug \(s = 1\) into Euler's product formula:

\[ \zeta(1) = \sum_{n=1}^{\infty} \frac{1}{n} = \prod_{p \text{ prime}} \frac{1}{1-\frac1p} \]

The sum side is \(\zeta(1)\), and it's an old friend: the harmonic series.

\[ \zeta(1) = 1 + \frac12 + \frac13 + \frac14 + \cdots = \infty \]

You know from class that it diverges, so \(\zeta(1)\) is infinite. (This is the \(p = 1\) case of the p-series test.)

The same graph as in Section 1. \(\zeta(1)\) is the vertical asymptote: the harmonic series diverges.

On the product side, each factor simplifies: \(\dfrac{1}{1-\frac1p} = \dfrac{p}{p-1}\). So \[ \zeta(1) = \prod_{p \text{ prime}} \frac{p}{p-1} = \frac21 \cdot \frac32 \cdot \frac54 \cdot \frac76 \cdots \] Look at what the product does as we include more primes:

Primes includedNew factorRunning product
2\(\tfrac21\)2.000
2, 3\(\tfrac32\)3.000
2, 3, 5\(\tfrac54\)3.750
2, 3, 5, 7\(\tfrac76\)4.375
2, …, 11\(\tfrac{11}{10}\)4.813
2, …, 13\(\tfrac{13}{12}\)5.214

In product notation, the last row is \(\prod_{p \le 13} \frac{p}{p-1} \approx 5.214\), the product over every prime up to 13. The product keeps growing, though slowly.

Suppose there were only finitely many primes. Then the product would have only finitely many factors. Each factor is an ordinary number, so the product would be an ordinary, finite number.

But the product is \(\zeta(1)\), and \(\zeta(1)\) is infinite. A finite number can't equal \(\infty\). That's a contradiction, so the assumption was wrong:

There must be infinitely many primes.

A fact from your calculus course (the harmonic series diverges) proves a fact about whole numbers (the primes never run out). Euclid proved the same result around 300 BC in a different way. Euler's proof matters because it shows that calculus tools like series, limits, and convergence can answer questions about primes. Riemann's work, and the Riemann Hypothesis, builds directly on this idea.

The fine print: at \(s = 1\) we're rearranging a divergent series, which calculus says to be careful with. Mathematicians make the argument airtight by using \(s\) slightly bigger than 1 and letting \(s \to 1^+\).
4. The question nobody can answer: how are the primes spread out?

Primes look random: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, … Sometimes they come close together, as with 11 and 13, and sometimes there are big gaps between them.

Large-scale patterns do exist. Around a number \(x\), roughly 1 out of every \(\ln(x)\) numbers is prime. (This is the Prime Number Theorem, proved in 1896.) Near 1,000, about 1 in 7 numbers is prime. Near 1,000,000, about 1 in 14 is.

A window of 100 numbers
Jump to:
Primes in this window25
Prediction, 100 ÷ ln x—

Slide the window up the number line. The primes thin out about as fast as the prediction says, but the actual count keeps landing a little above or below it. How big can those misses get?

The open question is how accurate that estimate is. Does the actual count of primes stay close to the prediction, or does it sometimes wander far from it? The answer depends on the zeta function.

5. The tricky part: inputs where the series diverges
Portrait of Bernhard Riemann
Bernhard Riemann (1826–1866)Riemann extended the zeta function and stated the hypothesis that bears his name. Portrait and public-domain details.

The series for \(\zeta(s)\) only works when \(s > 1\). In 1859, Bernhard Riemann found a way to extend \(\zeta\) to other inputs, including negative numbers and even complex numbers (numbers like \(0.5 + 14i\)).

A rough analogy from calculus: the geometric series

\[ 1 + x + x^2 + x^3 + \cdots = \frac{1}{1-x} \]

only converges when \(|x| \lt 1\). The formula \(\frac{1}{1-x}\), however, makes sense for almost every \(x\). For \(x = 3\) it gives \(-\tfrac12\), even though the series diverges there. The formula extends the function beyond the region where the series works. Riemann did the same kind of thing for zeta, using much harder math.

Partial sums vs. the formula
\(\dfrac{1}{1-x}\) partial sum \(1 + x + \cdots + x^n\) where the series converges
Partial sum at \(x = 0.5\)1formula says 2
Partial sum at \(x = 3\)1formula says −½

Inside the gold band, the partial sums settle onto the curve. Outside it, they fly off, but the formula \(\frac{1}{1-x}\) keeps going smoothly on both sides of the asymptote. Riemann's extension of \(\zeta\) works the same way: the series only works for \(s > 1\), but the function keeps going.

6. The hypothesis itself

Once zeta is defined everywhere, we can ask: where does \(\zeta(s) = 0\)?

Some zeros are easy to find: \(s = -2, -4, -6, \ldots\) These are called the "trivial zeros." All the other zeros are complex numbers, and they lie in a narrow vertical strip in the complex plane between real part 0 and real part 1.

Riemann computed a few of these zeros. Every one he found had real part exactly ½:

−6 −4 −2 0 1 2 10i 20i 30i 40i 50i trivial zeros ½ + 14.13i ½ + 21.02i ½ + 25.01i real part = ½
The first ten non-trivial zeros, all on the dashed line with real part ½. The shaded band is the strip between real part 0 and real part 1, where all non-trivial zeros must lie.
The Riemann Hypothesis
Every non-trivial zero of the zeta function has real part exactly ½. In other words, all of them sit on one vertical line, called the "critical line."

Computers have checked more than ten trillion zeros, and all of them are on the line. That still doesn't count as proof, because there are infinitely many zeros, and one exception would make the hypothesis false.

7. Why it matters

Riemann proved an explicit formula for counting primes. Start with the smooth estimate from the Prime Number Theorem. Then each zero \(\tfrac12 + \gamma i\) adds a wave to it, roughly

\[ \sqrt{x}\,\cos(\gamma \ln x). \]

The height \(\gamma\) sets how fast the wave wiggles. The real part, \(\tfrac12\), sets how big the wave gets: it grows like \(x^{1/2} = \sqrt{x}\). Add up the waves from all the zeros and you get the count of primes exactly. The zeros are the frequencies, and the primes are the sound.

Building the primes from the zeros
actual number of primes ≤ x smooth estimate estimate + waves
The first three waves
Try it
  1. At 0 zeros, the smooth estimate follows the trend but misses every step.
  2. Drag to about 10 zeros. The curve starts bending toward the steps.
  3. Drag to 100 zeros. The curve nearly snaps onto the staircase, with a sharp jump at each prime.
  4. Now turn on the toggle. The first wave grows like \(x^{0.9}\) instead of \(\sqrt{x}\). It gets bigger than all the others, and the curve can no longer follow the staircase.

Hundreds of published theorems begin with "Assuming the Riemann Hypothesis…" If it's proven, all of them become true at once.

Zeros off the line would come in mirror-image pairs, so a zero at \(0.9 + 14.13i\) means another at \(0.1 + 14.13i\). The demo includes both. The curve also uses Riemann's full formula rather than the rough \(\sqrt{x}\cos(\gamma\ln x)\) version, which is why it fits so well.
8. The bottom line

The Riemann Hypothesis has been unsolved for more than 165 years. It is one of the seven Millennium Prize Problems, and the Clay Mathematics Institute will pay $1,000,000 for a proof. It starts from the p-series, a topic in your own course, and leads to one of the hardest open questions about prime numbers.