Take the whole numbers , raise each to some power , flip them into fractions, and add them all up forever. That is the entire recipe for one of the most consequential objects in mathematics:
It looks almost too plain to matter. Yet this sum, the Riemann zeta function, turns out to encode the location of every prime number, and the question of where it equals zero is the most famous unsolved problem in all of mathematics. This article traces how a humble sum of fractions became the keystone of number theory.
A sum that sometimes settles down
Whether the sum converges depends entirely on the power . When we get the harmonic series , which famously grows without bound — slowly, but forever. Push the exponent above , though, and the terms shrink fast enough that the total settles to a finite number. For the value is the celebrated answer to the Basel problem, solved by Leonhard Euler in 1734:
That a sum built purely from the squares of the counting numbers should produce — the circle constant — was a genuine shock, and it made Euler’s reputation. The picture below shows how the running total of climbs and then flattens toward .
Euler’s bridge to the primes
Euler found something far deeper than a single value. He proved that the entire zeta sum can be rewritten as a product taken over only the prime numbers:
The left side runs over all whole numbers; the right side mentions only the primes . The two are equal. This identity, the Euler product, is really the unique-factorization theorem in disguise: every whole number is a product of primes in exactly one way, and when you expand the product on the right and multiply everything out, each whole number’s reciprocal appears precisely once on the left.
The consequence is profound. Anything we learn about the zeta function is automatically a statement about the primes. Euler used the product to give a new proof that there are infinitely many primes: if there were only finitely many, the right-hand product would be a finite number, yet at the left-hand side is the harmonic series, which is infinite. The contradiction means the primes can never run out. The zeta function had become a microscope trained on the primes.
Extending the function everywhere
So far has been an ordinary number bigger than . Riemann’s revolutionary step, in his single eight-page paper of 1859, was to let be a complex number and to extend the function beyond the region where the sum converges. The tool is analytic continuation: there is one and only one smooth (complex-differentiable) function that agrees with the sum wherever the sum makes sense, and that unique function is defined almost everywhere in the complex plane — everywhere except a single blow-up at .
This continuation assigns finite, definite values to inputs where the raw sum is nonsense. The most notorious is
which is often dramatized as ”.” The divergent sum does not equal in the everyday sense; rather, is the value of the smooth continued function at . The distinction matters, but the finite answer is real enough that it appears in quantum field theory and string theory.
The critical strip and the zeros
Riemann’s paper turned the study of primes into the study of where the zeta function equals zero. The “trivial” zeros sit at the negative even integers and are well understood. All the mystery lives in the critical strip, the vertical band where the real part of lies between and . Every interesting zero found so far sits exactly on the critical line, the vertical line where the real part equals .
The Riemann Hypothesis is the assertion that this pattern never breaks: every non-trivial zero lies precisely on the critical line . More than a century and a half later it remains unproven, despite the first several trillion zeros having been checked by computer and every single one obeying the rule. It is one of the seven Millennium Prize Problems, and a correct proof carries a one-million-dollar reward — though for most mathematicians the real prize is the truth itself.
Why the line matters
This is not an idle curiosity about a graph. The positions of the zeros control the fine distribution of the primes. The prime-counting function — how many primes there are up to a given size — can be written as a main term plus a correction built from every zeta zero. If all the zeros sit on the critical line, those corrections stay as small as they possibly could be, which means the primes are distributed as smoothly and regularly as the laws of arithmetic allow. A single zero off the line would mean the primes clump and thin in unexpected, irregular bursts.
So the Riemann Hypothesis is, at heart, a statement that the primes — the atoms of multiplication, scattered through the integers with no obvious pattern — are in fact as orderly as they could conceivably be. From a sum of simple fractions, Euler extracted the primes; from the complex landscape of that same function, Riemann found the question whose answer would tell us, once and for all, exactly how the primes are arranged. That a problem so easy to state should be so impossibly hard to settle is precisely what has kept it at the summit of mathematics for over a hundred and fifty years.
Frequently asked
What is the Riemann zeta function in simple terms?
It begins as an infinite sum: you take every whole number 1, 2, 3, 4, …, raise it to a power s, take the reciprocal, and add them all up. For example ζ(2) = 1 + 1/4 + 1/9 + 1/16 + … = π²/6. This simple-looking sum turns out to carry, hidden inside it, precise information about how the prime numbers are distributed — which is why it sits at the center of number theory.
What is the Riemann Hypothesis?
It is the conjecture that every 'non-trivial' zero of the zeta function — every input where the function equals zero, apart from the obvious negative even integers — has real part exactly 1/2. In other words, all these special zeros lie on a single vertical line in the complex plane. It was posed by Bernhard Riemann in 1859, remains unproven, and is one of the seven Millennium Prize Problems carrying a one-million-dollar reward.
Why does the zeta function connect to prime numbers?
Because of Euler's product formula, which rewrites the sum over all whole numbers as a product over only the prime numbers. This identity is an analytic restatement of the fact that every whole number factors uniquely into primes. Once primes and the zeta function are linked this way, facts about where the function is zero translate directly into facts about how the primes thin out among the integers.
Doesn't the sum 1 + 2 + 3 + … diverge? How can ζ(−1) = −1/12?
The naive sum does diverge. But the zeta function is defined by the simple sum only when s is large enough; elsewhere it is defined by analytic continuation, a process that extends the function smoothly to almost the entire complex plane. The continued function takes the finite value −1/12 at s = −1. This is not a claim that the divergent sum equals −1/12 in the ordinary sense — it is the value of the unique smooth function that agrees with the sum where the sum makes sense.