New Records Beyond Riemann Hypothesis
Prime Numbers, Last Digits, and Going Beyond the Riemann Hypothesis
Introduction to Prime Numbers and Last Digits
The sequence of prime numbers begins: 2, 3, 5, 7, 11, 13, 17, 19, 23, ... By Euclid’s proof, primes continue infinitely, and they are famously mysterious. A simpler focus is to examine only the last digit of each prime. For single-digit primes, the last digits are 2, 3, 5, 7. For larger primes, only the final digit is retained: 11 → 1, 13 → 3, 17 → 7, and so on.
Patterns in Base 10 (Last Digit)
When listing primes up to 100, the last digits are: 2, 3, 5, 7, 1, 3, 7, 9, 3, 9, 1, 7, 1, 3, 9, 3, 9, 7, 1, 3, 7, 9, 1, 7, 3, 9, 7, 3. A clear observation emerges:
No even numbers (except the prime 2 itself) appear as last digits because any number ending in an even digit is divisible by 2.
No 5s appear after the prime 5 because any number ending in 5 is divisible by 5.
Thus, after the single-digit primes, the only possible last digits for primes in base 10 are 1, 3, 7, and 9. This follows from the fact that the base, 10, is 2×5, eliminating all digits sharing a factor with 10.
Frequency of Each Allowed Digit
A histogram of prime last digits up to 100 shows one occurrence of 2, one of 5, and the rest distributed among 1, 3, 7, 9. As the range increases:
Up to 1,000: the bars for 1, 3, 7, 9 grow taller and become nearly equal.
Up to 1 million: the bars are almost identical—roughly 25% chance for any of the four digits. This uniformity is not a coincidence; it is a consequence of the Prime Number Theorem for arithmetic progressions.
Generalization to Other Bases
The same game can be played in any base. The base-10 observation relies on having 10 digits, but any base b can be used.
Base 2 (binary): All primes after 2 end in 1 (since the only odd digit is 1). The last digit is always 1 for primes greater than 2, giving a trivial uniform distribution.
Base 3 (ternary): The digit 0 only appears for the prime 3 itself. Other primes end in either 1 or 2. Up to 1 million, these two options occur with nearly 50/50 frequency.
Base 101: For primes up to 5 million, the last digits again show a roughly uniform distribution among digits that are coprime to the base.
In general, as the range x grows, the last digit of a prime in any base b tends to an even chance among all digits that share no common factor with b (i.e., gcd(a,b)=1).
The Prime Number Theorem for Arithmetic Progressions
To state this precisely, mathematicians introduce notation:
π(x) = the number of primes ≤ x.
π(x;b,a) = the number of primes ≤ x whose last digit in base b equals a.
The Prime Number Theorem for arithmetic progressions asserts that for any base b and any digit a with gcd(a,b)=1,
π(x;b,a)∼ϕ(b)π(x)where ϕ(b) is the Euler phi function, counting the number of digits a in {0,1,…,b−1} that are coprime to b (i.e., gcd(a,b)=1).
This means that as x grows, each eligible digit occurs with equal asymptotic frequency. However, this is an asymptotic statement—it tells us eventual behavior but not how large x must be for the uniformity to become visible.
The Riemann Hypothesis and the “How Soon?” Question
The natural follow-up is: How soon does this uniformity set in? That is, how large must x be relative to the base b before the distribution is close to equal? This question leads directly to the Riemann Hypothesis (more precisely, the Generalized Riemann Hypothesis for Dirichlet L-functions).
The Generalized Riemann Hypothesis predicts that the uniformity holds for bases b that are smaller than the square root of x:
In other words, the threshold for the number of primes needed is about b2. The constant 21 in the exponent of x is intimately linked to the critical line (real part = 1/2) of zeros of the Riemann zeta function. This is a far deeper question than the pure existence of uniformity; it concerns the rate of convergence and the size of the error term.
Bombieri–Vinogradov Theorem: An Average Version
The Riemann Hypothesis remains unsolved. However, in 1965, Enrico Bombieri and A. I. Vinogradov proved an average version of this result. They showed that the relation
holds for almost all bases b up to the Riemann Hypothesis range (b≤x). “Almost all” here means that the proportion of exceptions among bases up to x is less than any given percentage—practically over 99.9% of bases satisfy the condition.
Analogy: 99% of Germs
The Bombieri–Vinogradov theorem is like a cleaning product that kills over 99% of germs—sufficient for everyday use, though not the full sterilization (the Riemann Hypothesis) required in extreme circumstances. For most mathematical applications, this average result serves as a fully adequate substitute for the unproven Riemann Hypothesis, converting many conditional results into unconditional theorems.
Key insight: The Bombieri–Vinogradov theorem transformed research in number theory by providing a rigorous foundation for many “if RH is true” deductions.
Going Beyond the Riemann Hypothesis
Once we have an average version, a natural question emerges: Can we extend the range of bases beyond x? That is, can we prove uniformity for some bases larger than the Riemann Hypothesis threshold? This would mean achieving a faster rate of convergence than what the Riemann Hypothesis predicts—literally going beyond the Riemann Hypothesis.
Historical Progress
1965 (Bombieri–Vinogradov): Exponents up to almost x (i.e., exponent 21).
1980s: The exponent was pushed to 0.571 (about x0.571), corresponding to 15% beyond the Riemann Hypothesis.
2021 (James Maynard): Exponent improved to 0.60, or 20% beyond the Riemann Hypothesis.
Current (2023–2024): The exponent now stands at 0.617, meaning 23% beyond the Riemann Hypothesis.
Interpretation: These results show that for some families of bases (collections of b values), the distribution of prime last digits converges to uniformity even when the base is allowed to grow faster than x. The percentage “beyond” indicates by how much the exponent exceeds the RH barrier of 21: 0.617=0.5×(1+0.234).
What Does “23% Beyond” Mean?
It means we can allow bases b to be as large as approximately x0.617 and still guarantee that the uniform distribution holds for most of those bases. In effect, we need to wait less time (fewer primes) for the pattern to emerge—a savings compared to the RH prediction. However, the results are statistical: they apply to families of bases, not to every individual base. Pinpointing a specific b that works remains out of reach with current methods.
Connections to Other Areas of Mathematics
The proof techniques that enable these advances draw from many seemingly unrelated fields:
Modular Forms: Used heavily in the Langlands program and in Andrew Wiles’ proof of Fermat’s Last Theorem. Modular forms provide deep connections between arithmetic and analysis.
Algebraic Geometry: Specifically, the Weil bounds and Deligne bounds (the Riemann hypothesis for curves over finite fields) play a crucial role in controlling exponential sums that appear in the analysis of prime distributions.
Harmonic Analysis and Fourier Theory: Used to decompose the problem into manageable pieces.
This confluence of ideas demonstrates the unity of modern mathematics. The study of prime digit distributions has seen a revival in the last decade, building on these earlier breakthroughs.
Riemann Zeta Function and the Unsolved Problem
The Riemann zeta function ζ(s) is a function of a complex variable s:
Analytic continuation extends it to the entire complex plane except for a simple pole at s=1. The Riemann Hypothesis states that all non-trivial zeros of ζ(s) lie on the critical line Re(s)=21. This hypothesis has profound consequences for prime numbers.
For example, if the Riemann Hypothesis is true, we can obtain a very precise formula for the number of primes up to x:
where li(x) is the logarithmic integral. Without RH, we can only prove weaker error terms. So the Riemann Hypothesis would confirm many things mathematicians already suspect but cannot prove—such as the exact count of primes up to a trillion, or the precise rate at which prime last digits become uniform.

Ask anything
We've read this whole study set, so questions about it get the best answers.