Explore Robin's Criterion: Search for a Counterexample to the Riemann Hypothesis with Divisor Sums

Try adjusting the parameters yourself:

Can we talk about the Riemann Hypothesis without complex numbers?

In earlier articles, we explored the Riemann Hypothesis using the complex plane, zeros, and color maps. These ideas can feel abstract.

But in 1984, French mathematician Guy Robin proved something surprising: the Riemann Hypothesis can be stated using only the divisors of ordinary integers.

You only need addition and multiplication for this article. You will also see a surprising fact: finding a single integer greater than 5040 that violates a simple inequality would disprove the Riemann Hypothesis.

Add up all the divisors of a number

A divisor of a number n is a number that divides it evenly. For example, the divisors of 6 are 1, 2, 3, and 6.

The sum of all its divisors is written σ(n): σ(6) = 1 + 2 + 3 + 6 = 12. For another example, σ(12) = 1 + 2 + 3 + 4 + 6 + 12 = 28. A prime has just two divisors, so σ(7) = 1 + 7 = 8.

Divide σ(n) by n to get σ(n) ÷ n. This ratio tells us how 'busy' a number's set of divisors is. A prime is quiet: its ratio is only a little above 1. For a number like 5040, the ratio reaches 3.84.

There is a limit to how busy things can get

How large can a number's divisor sum grow? Its prime factorization—especially which primes it contains and how often they occur—affects both the number of divisors and their sum. In general, numbers made from smaller primes and containing more prime factors tend to have larger divisor sums.

In 1913, mathematician Grönwall proved an important result: as n grows, the growth of σ(n) ÷ n is closely related to eγ × ln ln n. More precisely, the limit superior of σ(n) ÷ (n × ln ln n) is eγ. Here γ is the Euler–Mascheroni constant (about 0.5772), and eγ is about 1.781.

ln ln n grows extremely slowly: as n goes from one million to one trillion, eγ × ln ln n rises only from about 4.7 to about 5.9. Grönwall's theorem describes the asymptotic height that the divisor-sum ratio can reach among ever larger integers; it does not say that every n lies strictly below this curve.

Robin's bound

Grönwall's theorem describes the overall asymptotic trend. Robin proposed a precise inequality: does the following relationship always hold for n > 5040? This is Robin's inequality:

σ(n) < eγ × n × ln ln n

For a clearer view, the page uses the ratio r(n) = σ(n) ÷ (eγ × n × ln ln n). For n ≥ 3, r(n) below 1 means the inequality holds; a value greater than or equal to 1 means it is violated. Note that ln ln 2 is negative, so for n = 2 this ratio cannot be judged by comparing it with 1; that case must be treated separately.

Switch to 'Map' view: each blue dot represents r(n) for an integer n. The blue line connects the highest point in each column. It is not a continuous path of an integer sequence; it connects each column's highest point to make local maxima easier to see. The red dashed line is r = 1, Robin's bound.

27 exceptions and the famous number 5040

Between n = 2 and 5040, there are 27 integers that do not satisfy Robin's inequality: 2, 3, 4, 5, 6, 8, 9, 10, 12, 16, 18, 20, 24, 30, 36, 48, 60, 72, 84, 120, 180, 240, 360, 720, 840, 2520, and 5040. The case n = 2 needs separate interpretation because ln ln 2 is negative; the intuitive comparison of r(n) with 1 in the map applies for n ≥ 3.

5040 is the largest of these exceptions. It has 60 divisors, and every integer from 1 to 10 divides it. According to tradition, the ancient Greek philosopher Plato chose 5040 as the population of citizens in his ideal city-state in 'Laws'.

So far, we have found no new counterexample beyond 5040. But that does not mean mathematicians have proved it is the last one. Proving this is precisely the key to the connection between Robin's criterion and the Riemann Hypothesis.

Shelf view: test a number yourself

Switch to 'Shelf' view to test a number yourself. Arrange all the divisors of n from smallest to largest, end to end, in a long strip of color. Its total length is σ(n).

The long red bar below is Robin's 'wall'; its length is eγ × n × ln ln n. For n ≥ 3, if the strip extends past the wall, Robin's inequality is violated.

Try n = 5040: the strip just crosses the wall, by about 0.56%. Zoom in on the wall with your scroll wheel to see the tiny red overhang. Try 10080 and 55440 too; both stop short of the wall.

Could there be another exception after 5040?

Robin proved that the Riemann Hypothesis is true if and only if every integer greater than 5040 satisfies Robin's inequality.

In other words, if anyone finds an integer n > 5040 for which σ(n) is greater than or equal to eγ × n × ln ln n, the Riemann Hypothesis is disproved.

The page checks every integer from 5041 to five million and finds no counterexample. Mathematicians have used computers to check far beyond this range, and no counterexample has been found. But no matter how far the computation goes, it can check only finitely many integers; it cannot replace a mathematical proof for every integer greater than 5040.

Who comes closest to the bound? Don't be fooled by the data

Look at 'Leaderboard' view. In the range currently shown, the closest contenders to the bound after 5040 in each order of magnitude are 10080 (r = 0.986), 110880 (r = 0.974), and 1441440 (r = 0.970).

You may notice something strange: these champions are slowly moving farther from the bound. It looks as though larger numbers are safer.

But this is an illusion caused by the limited data. Grönwall's theorem tells us that the limit superior of r(n) is exactly 1. In other words, no matter how far we extend the range of n, there will still be integers for which r(n) gets close to 1 again. Since ln ln n grows so slowly, those integers may lie far beyond what we can intuitively imagine or compute.

So, everything looking fine in the range we can compute does not prove anything. This is why the Riemann Hypothesis is so hard to verify by computation.

What does this have to do with the Riemann Hypothesis?

The constant eγ may look familiar. In the Euler product, you saw a product over primes: multiply the factors 1 ÷ (1 − 1/p) for every prime p up to x, and as x grows, this product is closely related to eγ × ln x.

Why does eγ appear in an inequality about divisor sums too? A number's divisors are determined by its prime factorization. How the primes combine determines how many divisors an integer has and how large their sum is. The overall distribution of primes is therefore closely related to the growth of divisor sums.

Why are these two seemingly different problems exactly equivalent? That requires deeper number theory, so we will not go into it here. But it reveals a fascinating fact: the Riemann Hypothesis can be studied not only through the zeros of the ζ function, but also reformulated as an inequality about the divisor sums of ordinary integers.

Try it yourself: test a number

Click 'Next' below the image to switch between views. You can also change the parameters below and click 'Try':

Number n to test: any value from 3 to one trillion. In Shelf view, its divisors appear as a strip of color; in Map view, it is marked with a pink circle. Try a prime, a power of 2, or a number like 720720, made by multiplying small primes.

Range N: the largest number shown on the map (from ten thousand to five million).

You can also drag left and right with the mouse and zoom with the scroll wheel. In Shelf view, zoom in on the wall to see the gap between the strip and the wall.

Keep exploring the world of mathematics

Robin's criterion shows that the deepest questions sometimes wear the simplest disguise. The idea of 'adding divisors', understandable even to an elementary school student, is connected to one of mathematics' most famous problems.

If you enjoy patterns generated by rules, explore other mathematical works such as the Julia set, the Mandelbrot set, and the Newton fractal.

You can also discover more fascinating mathematical images.

Further Reading

  • Ulam Prime Spiral From a geometric perspective: why do prime numbers form diagonal lines?
  • Prime Number Theorem From a statistical perspective: how does the number of primes grow?
  • Euler Product From an algebraic perspective: why can prime numbers construct the sum of reciprocal powers of all integers?
  • A Color Map of the ζ Function From a function-plot perspective: what colors and structures does the ζ function reveal in the complex plane?
  • Riemann Hypothesis From a zero-distribution perspective: why do all nontrivial zeros of the ζ function lie on the critical line?
  • Weaving Zeros From a complex-analysis perspective: how do the zeros of the ζ function shape the distribution of prime numbers?
  • Mertens Function From a probability-and-statistics perspective: why does the cumulative sum of the Möbius function resemble a random walk?
  • Robin's Criterion From a divisor-sum perspective: how can a single inequality decide the Riemann Hypothesis?
  • Zeros and Atomic Nucleus Energy Levels From a random-matrix perspective: why do the world of primes and the quantum world look so strikingly similar?

Want to see these stunning mathematical visuals every time you open a new tab? Install the Chrome extension now and set "Science Wonder Box" as your new tab page.🚀

Learn More
↑