Waves Hidden Inside the Primes: A Rusty Calculus Guide to the Riemann Hypothesis
andre
The internet is abuzz with talk of a proof of the Riemann Hypothesis at the hands of AI and its human co-conspirators. I have heard the name for decades, of course, usually spoken in the same hushed breath as Fermat’s Last Theorem or a million-dollar Clay Millennium Prize. Yet when I poked around to see what the fuss was actually about, starting with the Wikipedia page, I ran straight into a wall. I could not make head or tail of what the zeta function was doing, let alone why everyone cared where its zeros sat.
So I did what anyone does in 2026. I turned to an AI and gave it a blunt constraint: explain the Riemann Hypothesis on my level of mathematical fluency. That meant the level of someone who did reasonably well in university maths back in the day, though that day was a while ago. In short, I told it not to stray beyond the confines of Calculus I.
To be fair, the core of the problem turns out to be far less forbidding than the Wikipedia notation makes it look. Calculus I alone is slightly too cramped, since you need a small step into infinite series and another small step into complex numbers. Stretch that boundary just a touch, though, and the whole machinery clicks into view. What follows is that explanation, cleaned up for anyone else whose calculus is covered in rust. If it leaves you understanding the problem a little better, we should probably thank our future artificial intelligence overlords. Do not expect me to attempt the same trick for an actual proof, because that remains well beyond my reach.
The story starts with prime numbers: \(2, 3, 5, 7, 11, 13\), and so on. Every whole number larger than \(1\) is built by multiplying primes together, yet the primes themselves appear along the number line with no obvious rhythm. Sometimes two primes sit separated by a single even number, like \(11\) and \(13\). Elsewhere you hit long dry stretches with none at all.
To study how they thin out, mathematicians define a counting function called \(\pi(x)\), which has nothing to do with circles here. It simply counts how many prime numbers exist up to \(x\). Up to \(10\), there are four primes (\(2, 3, 5, 7\)), so \(\pi(10) = 4\). Graph \(\pi(x)\) and you get an irregular staircase that jumps up by \(1\) each time you step past a new prime and stays flat everywhere in between.
In the nineteenth century, mathematicians proved the Prime Number Theorem, which gives a clean smooth curve that tracks this jagged staircase as \(x\) grows large:
$$\pi(x) \approx \frac{x}{\ln(x)}$$As \(x\) marches toward infinity, the percentage error between this smooth curve and the true prime count shrinks toward zero. The catch is the raw gap itself. Even when the relative error looks tiny, the actual number of primes by which the smooth formula overshoots or undershoots the staircase swings up and down unpredictably. The Riemann Hypothesis is a claim about how tight and well-behaved that error always stays.
To measure that gap precisely, Bernhard Riemann in 1859 picked up an infinite series that Leonhard Euler had already turned into one of the most celebrated triumphs of eighteenth-century mathematics. Today it carries Riemann’s name as the Riemann zeta function, though Euler did the pioneering heavy lifting more than a century earlier:
$$\zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s} = 1 + \frac{1}{2^s} + \frac{1}{3^s} + \frac{1}{4^s} + \cdots$$If \(s\) is an ordinary real number, any second-semester calculus student recognises this immediately as a \(p\)-series. When \(s > 1\), the terms shrink fast enough for the sum to settle on a finite value above \(1\). Make \(s\) huge and every term after \(1\) collapses toward zero, pulling \(\zeta(s)\) toward \(1\). Slide \(s\) down toward \(1\) from the right and the sum blows up like \(1 + \frac{1}{s-1}\). At \(s = 1\) itself you hit the harmonic series, \(1 + \frac{1}{2} + \frac{1}{3} + \cdots\), which diverges to infinity. Between \(0\) and \(1\), the terms decay even more slowly, so the series diverges faster still.
The special case \(s = 2\) is what first made Euler’s name across Europe. For nearly ninety years, the finest mathematicians on the continent had broken their teeth on the Basel problem, a challenge posed by Pietro Mengoli in 1650 and named after the Swiss hometown of the Bernoulli family, who tried repeatedly to crack it and failed. Everyone knew the sum \(1 + \frac{1}{4} + \frac{1}{9} + \frac{1}{16} + \cdots\) converged to a number a little above \(1.6\), because each term shrinks fast enough, yet nobody could find its exact closed form. Jakob Bernoulli publicly appealed for help, writing that whoever finally solved it would earn his lasting gratitude.
In 1734, at the age of twenty-eight, Euler did just that. Treating \(\sin(x)/x\) as if it were a giant polynomial factorised by its roots and matching coefficients against its power series, he produced an answer that stunned the mathematical world:
$$\zeta(2) = 1 + \frac{1}{4} + \frac{1}{9} + \frac{1}{16} + \cdots = \frac{\pi^2}{6} \approx 1.645$$Nobody had any business expecting \(\pi\), the ratio of a circle’s circumference to its diameter, to emerge from a bare sum of whole-number squares. Euler went further, computing exact formulas for \(\zeta(4)\), \(\zeta(6)\), and every higher even integer in sight. Decades before Riemann’s paper, Euler even handed us the other key piece of the puzzle through his identity \(e^{i\theta} = \cos\theta + i\sin\theta\), the very formula that turns Riemann’s zeros into oscillating waves.
At first glance, summing reciprocals of every whole number \(1, 2, 3, 4\) still looks completely unrelated to primes. Euler’s next breakthrough in 1737, sometimes called his Golden Key, connected the two in a single line. Whenever \(s > 1\) (or more generally whenever the real part of \(s\) exceeds \(1\)), the series converges absolutely, meaning you can rearrange and multiply its terms in any order without changing the total. Using the basic geometric series \(\frac{1}{1 - r} = 1 + r + r^2 + r^3 + \cdots\) together with the fact that every integer factorises uniquely into primes, Euler showed that the sum over all integers equals an infinite product over all primes:
$$\sum_{n=1}^{\infty} \frac{1}{n^s} = \prod_{p \text{ prime}} \frac{1}{1 - p^{-s}} = \left(\frac{1}{1 - 2^{-s}}\right)\left(\frac{1}{1 - 3^{-s}}\right)\left(\frac{1}{1 - 5^{-s}}\right)\cdots$$Expand each bracket as a geometric series and multiply them together: \(1/2^{ks}\) picks how many factors of \(2\) you take, \(1/3^{ms}\) picks how many factors of \(3\), and every whole number \(n\) appears exactly once in the resulting sum. That single equation links continuous analysis on the left to discrete prime numbers on the right. Euler immediately used it to prove that the sum of the reciprocals of all primes diverges, showing that primes are packed far more densely along the number line than the squares. Better still, look at the factors in the product when the real part of \(s\) exceeds \(1\). None of those fractions can ever equal zero, so \(\zeta(s)\) has no zeros anywhere to the right of \(1\).
Here is where we step slightly past Calculus I. Riemann stopped treating \(s\) as a plain number on a line and fed the function complex numbers of the form \(s = a + bi\), where \(i = \sqrt{-1}\). That move turns \(s\) into a point on a two-dimensional plane: \(a\) measures how far right or left you sit, and \(b\) measures how far up or down.
Wait a second, you might object, because the infinite sum and Euler’s product both blow up as soon as \(a \le 1\). Riemann bypassed that barrier using analytic continuation. Complex-differentiable functions are extraordinarily rigid compared with ordinary real functions. If two smooth complex functions agree on an open patch such as \(a > 1\), there is only one unique way to extend that smooth surface across the rest of the complex plane, everywhere except the single vertical spike where \(s = 1\). Once extended, the old sum formula no longer applies on the left side of the plane, yet the function itself lives there cleanly with a well-defined value at every point.
With the whole plane unlocked, mathematicians go hunting for the roots where \(\zeta(s) = 0\). Some of them turn out to be dull. Every negative even integer (\(s = -2, -4, -6, \dots\)) sends \(\zeta(s)\) to zero for straightforward structural reasons, so those are called the trivial zeros. They are easy to account for and tell us nothing mysterious about primes.
All the action sits inside a vertical corridor between \(0\) and \(1\), known as the critical strip, where \(0 < a < 1\). Every non-trivial zero lives inside this strip. Riemann checked the first few by hand, noticed a striking pattern, and conjectured what we now call the Riemann Hypothesis: every non-trivial zero has real part equal to \(\frac{1}{2}\). Put geometrically, every single one of them sits on the vertical critical line:
$$s = \frac{1}{2} + bi$$Modern computers have checked billions of these non-trivial zeros, beginning with the lowest one at roughly \(s \approx \frac{1}{2} + 14.13i\), and every last one lands squarely on \(a = \frac{1}{2}\). Checking billions is still not a proof for infinitely many, which is why the prize remains unclaimed, or at least hotly debated whenever a new preprint drops.
Even after accepting the statement, a reasonable reader still asks why anyone should lose sleep over where a complex function hits zero. The answer sits in Riemann’s Explicit Formula, which links those zeros directly back to the prime-counting staircase \(\pi(x)\). Ignoring smaller technical terms, the exact prime count equals the smooth main estimate minus a correction sum taken over every non-trivial zero \(s\):
$$\pi(x) \approx \text{Main Estimate} - \sum_{\text{zeros } s} \frac{x^s}{s}$$Look closely at what happens inside \(x^s\) when you plug in \(s = a + bi\). Ordinary high-school exponent rules split the term into two pieces with completely different jobs:
$$x^s = x^{a + bi} = x^a \cdot x^{bi}$$Start with the second factor, \(x^{bi}\). Rewrite \(x\) as \(e^{\ln x}\) and use Euler’s identity:
$$x^{bi} = e^{i b \ln x} = \cos(b \ln x) + i\sin(b \ln x)$$That factor does not grow at all as \(x\) increases. It simply oscillates back and forth like a sine wave stretched across a logarithmic scale. Because non-trivial zeros always show up in mirror-image conjugate pairs, \(a + bi\) and \(a - bi\), their imaginary sine pieces cancel cleanly when you add the pair together, leaving pure cosine waves. Summing those conjugate pairs symmetrically from the smallest \(|b|\) upward produces a cancelling cascade of destructive interference. Just as a Fourier series piles smooth cosine waves on top of one another to build a sharp square wave, adding more zeros of the zeta function carves the smooth prime estimate into the exact, crisp vertical steps of the prime staircase.
Now look at the first factor, \(x^a\). While \(x^{bi}\) supplies the frequency and oscillation of each correction wave, the real part \(a\) controls its height. If the Riemann Hypothesis holds and every non-trivial zero sits at \(a = \frac{1}{2}\), then every error wave grows no faster than \(x^{1/2} = \sqrt{x}\). The primes stay about as tightly and evenly distributed around the smooth Prime Number Theorem curve as random chance could ever allow. If the hypothesis fails and even a single non-trivial zero wanders off the line to, say, \(a = 0.9\), that lone zero spawns a massive error wave proportional to \(x^{0.9}\). Instead of orderly steps hugging the smooth estimate, the primes would surge into unexpected clusters and leave huge empty deserts behind.
That is the entire puzzle, stripped of the intimidating machinery that makes encyclopaedia articles so exhausting to read. Counting primes turns into a question about waves, those waves are tuned by the zeros of Euler’s extended series, and the Riemann Hypothesis simply asserts that every wave stays within a \(\sqrt{x}\) leash. Asking an AI to boil a century-and-a-half-old conjecture down to rusty calculus turns out to work surprisingly well. Turning around and using it to finish Riemann’s proof is another matter entirely, and I am happy to leave that fight to the humans and machines currently arguing over it online.