Skip to content

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

James M. Hyman

math.NT

Abstract

The leading digits of the primes do not follow Benford&#39;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 NN. At decade endpoints N=10KN = 10^K the expansion diverges: its coefficients are asymptotic to (log⁡10(1+1/d)−1/9) n!/(ln⁡10)n(\log_{10}(1+1/d) - 1/9)\,n!/(\ln 10)^n, so Benford&#39;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+ε)O(N^{-1/2+\varepsilon}), for every ε>0\varepsilon > 0, of the expansion&#39;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(10K)/π(10K)−1/9∣<0.06/K\max_d |π_d(10^K)/π(10^K) - 1/9| < 0.06/K for every K≥15K \geq 15, and the bound fails at K=14K = 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π\ln 2π for every fixed nondegenerate moment estimator. Exact counts up to 9⋅10189 \cdot 10^{18} confirm the expansion.

Create a lesson

Metadata

Comments
26 pages, 5 figures, with a 46-page supplementary document included as an ancillary file. Reproducibility code and data are available