Leading Digits of Primes: Closed Forms to All Orders, Divergence and the Riemann Hypothesis

The leading digits of the primes do not follow Benford's law. Ohkubo and Strauch found their limit laws and Berger and Rahmatidehkordi the first-order term; we expand the proportions to every order in closed form, at every cutoff $N$. At decade endpoints $N = 10^K$ the expansion diverges: its coefficients are asymptotic to $(\log_{10}(1+1/d) - 1/9)\,n!/(\ln 10)^n$, so Benford's law minus the uniform law sets the size of the divergent tail. What the expansion leaves over is arithmetic. The digit proportions stay within $O(N^{-1/2+\varepsilon})$, for every $\varepsilon > 0$, of the expansion's logarithmic-integral model at every real cutoff if and only if the Riemann hypothesis holds; the converse uses cutoffs between decade endpoints, and at the endpoints alone we prove a partial converse. Without any hypothesis, $\max_d |π_d(10^K)/π(10^K) - 1/9| < 0.06/K$ for every $K \geq 15$, and the bound fails at $K = 14$. For the size-dependent law that Luque and Lacasa fitted, we derive the decade-endpoint limits of both constants, for primes and for zeta zeros, and prove that they differ by exactly $\ln 2π$ for every fixed nondegenerate moment estimator. Exact counts up to $9 \cdot 10^{18}$ confirm the expansion.

Authors

Publication Details

Journal
arXiv
Published
2026-12-01
Primary Topic
Analytic Number Theory Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Leading Digits of Primes: Closed Forms to All Orders, Divergence and the Riemann Hypothesis

James Mac Hyman
arXiv
Analytic Number Theory Research
preprint

Leading Digits of Primes: Closed Forms to All Orders, Divergence and the Riemann Hypothesis

James Mac Hyman
preprint en

Abstract

The leading digits of the primes do not follow Benford's law. Ohkubo and Strauch found their limit laws and Berger and Rahmatidehkordi the first-order term; we expand the proportions to every order in closed form, at every cutoff $N$. At decade endpoints $N = 10^K$ the expansion diverges: its coefficients are asymptotic to $(\log_{10}(1+1/d) - 1/9)\,n!/(\ln 10)^n$, so Benford's law minus the uniform law sets the size of the divergent tail. What the expansion leaves over is arithmetic. The digit proportions stay within $O(N^{-1/2+\varepsilon})$, for every $\varepsilon > 0$, of the expansion's logarithmic-integral model at every real cutoff if and only if the Riemann hypothesis holds; the converse uses cutoffs between decade endpoints, and at the endpoints alone we prove a partial converse. Without any hypothesis, $\max_d |π_d(10^K)/π(10^K) - 1/9| < 0.06/K$ for every $K \geq 15$, and the bound fails at $K = 14$. For the size-dependent law that Luque and Lacasa fitted, we derive the decade-endpoint limits of both constants, for primes and for zeta zeros, and prove that they differ by exactly $\ln 2π$ for every fixed nondegenerate moment estimator. Exact counts up to $9 \cdot 10^{18}$ confirm the expansion.

arXiv
Analytic Number Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon