betaFeedback

WorksMathematics

The constant term in Cramer's mean-square theorem for the primes. Second-order asymptotics and limiting fluctuations of the prime energy

Abstract

Let I(X)=∫1X(ψ(x)−x)2x−2 dxI(X)=\int_1^X(\psi(x)-x)^2x^{-2}\,dx be the energy of the primes. Under the Riemann hypothesis (RH) and simple zeros its slope is CB=2+γE−log⁡4πC_B=2+\gamma_E-\log4\pi (Cramér). We study the next terms. Under RH, simple zeros and an additional spacing condition (H∗^*), I(X)=CBlog⁡X+K+Φ(log⁡X)+O(X−1/2)I(X)=C_B\log X+K+\Phi(\log X)+O(X^{-1/2}), where Φ\Phi is an absolutely convergent almost periodic sum over pairs of zeros. The constant has a closed form without zeros, K=12CB2−CB−σ2+2(1+γE)log⁡2π−(log⁡4π−1)2−1+2∑nΛ(n)φ(1/n)K=\frac12C_B^2-C_B-\sigma_2+2(1+\gamma_E)\log2\pi-(\log4\pi-1)^2-1+2\sum_n\Lambda(n)\varphi(1/n), with σ2=∑ρρ−2\sigma_2=\sum_\rho\rho^{-2} and φ(y)=y−artanh⁡y−y2log⁡(1−y2)\varphi(y)=y-\operatorname{artanh}y-\frac y2\log(1-y^2); under RH, K=2.512479790006…K=2.512479790006\ldots, certified to 6⋅10−136\cdot10^{-13} in interval arithmetic. Under RH and simple zeros alone, KK is the Cesàro mean in log⁡X\log X of I(X)−CBlog⁡XI(X)-C_B\log X if and only if ∑0<∣γ−γ′∣<ε∣ρρ′∣−1=o(ε)\sum_{0<|\gamma-\gamma'|<\varepsilon}|\rho\rho'|^{-1}=o(\varepsilon): a pair of zeros at distance λ\lambda acts like a double zero for log⁡X≪1/λ\log X\ll1/\lambda. Under (H∗^*), I(X)−CBlog⁡XI(X)-C_B\log X has a limiting logarithmic distribution with mean KK and variance VV, an explicit double sum over zeros under linear independence, whose factors we check on finite sets of zeros; numerically V=1.2502⋅10−5V=1.2502\cdot10^{-5} under LI. The primes up to 10910^9 agree with the zero side to 1.3⋅10−51.3\cdot10^{-5} (r.m.s.) and give K=2.512484K=2.512484. In the random models of the primes and of μ\mu that we examine the median energy is 88 to 150150 times larger. A Gaussian-window identity isolates the principal mode of each zero in the prime signal: a closed ellipse on the line, an expanding spiral off it. A final section assembles the slope, the intercept and the oscillation as one calibrated instrument, the energy gauge, with a multiplicity-meter reading of the slope and a ledger reading of the intercept, and runs it on the primes to 10810^8 beside 3838 zeros computed from scratch.

Introduction

Context

Let Xn(s)=∑k≤nk−sX_n(s)=\sum_{k\le n}k^{-s}, s=σ+its=\sigma+it, and let

C2(n,s)=∣Xn(s)∣2−∣Xn−1(s)∣2−n−2σ=2Re⁡(Xn−1(s)n−sˉ)C_2(n,s)=|X_n(s)|^2-|X_{n-1}(s)|^2-n^{-2\sigma}=2\operatorname{Re}\left(X_{n-1}(s)n^{-\bar{s}}\right)

be the cross-energy of consecutive partial sums. The author’s paper [21] shows that lim⁡nC2(n,s)\lim_n C_2(n,s) is 1/(14+t2)1/(\frac{1}{4}+t^2), 00 or +∞+\infty according as σ=12\sigma=\frac{1}{2}, σ>12\sigma>\frac{1}{2} or σ<12\sigma<\frac{1}{2} (Theorem A, [21 Thm. 3.2]), and [23] shows that the mean energy of the prime signal

E(u)=e−u/2(ψ(eu)−eu+log⁡2π+12log⁡(1−e−2u))=−∑ρe(ρ−12)uρE(u)=e^{-u/2}\left(\psi(e^u)-e^u+\log2\pi+\frac{1}{2}\log(1-e^{-2u})\right)=-\sum_\rho\frac{e^{(\rho-\frac{1}{2})u}}{\rho}

is ∑ρlim⁡nC2(n,ρ)\sum_\rho\lim_n C_2(n,\rho), at least CB=2+γE−log⁡4π=0.0461914…C_B=2+\gamma_E-\log4\pi=0.0461914\ldots, with equality if and only if RH holds and all zeros are simple (Theorem B and its corollary in [23 Sect. 2]). Throughout, ρ=β+iγ\rho=\beta+i\gamma runs over the nontrivial zeros of ζ\zeta with multiplicity, sums over zeros are taken in symmetric order unless they converge absolutely, γE\gamma_E is Euler’s constant and γ1\gamma_1 the first Stieltjes constant, ζ(s)=1s−1+γE−γ1(s−1)+⋯\zeta(s)=\frac{1}{s-1}+\gamma_E-\gamma_1(s-1)+\cdots. @page 1/25 starts_mid=0 ends_mid=1

Introduction

Context

Let Xn(s)=∑k≤nk−sX_n(s)=\sum_{k\le n}k^{-s}, s=σ+its=\sigma+it, and let

C2(n,s)=∣Xn(s)∣2−∣Xn−1(s)∣2−n−2σ=2Re⁡(Xn−1(s)n−sˉ)C_2(n,s)=|X_n(s)|^2-|X_{n-1}(s)|^2-n^{-2\sigma}=2\operatorname{Re}\left(X_{n-1}(s)n^{-\bar{s}}\right)

be the cross-energy of consecutive partial sums. The author’s paper [21] shows that lim⁡nC2(n,s)\lim_n C_2(n,s) is 1/(14+t2)1/(\frac{1}{4}+t^2), 00 or +∞+\infty according as σ=12\sigma=\frac{1}{2}, σ>12\sigma>\frac{1}{2} or σ<12\sigma<\frac{1}{2} (Theorem A, [21 Thm. 3.2]), and [23] shows that the mean energy of the prime signal

E(u)=e−u/2(ψ(eu)−eu+log⁡2π+12log⁡(1−e−2u))=−∑ρe(ρ−12)uρE(u)=e^{-u/2}\left(\psi(e^u)-e^u+\log2\pi+\frac{1}{2}\log(1-e^{-2u})\right)=-\sum_\rho\frac{e^{(\rho-\frac{1}{2})u}}{\rho}

is ∑ρlim⁡nC2(n,ρ)\sum_\rho\lim_n C_2(n,\rho), at least CB=2+γE−log⁡4π=0.0461914…C_B=2+\gamma_E-\log4\pi=0.0461914\ldots, with equality if and only if RH holds and all zeros are simple (Theorem B and its corollary in [23 Sect. 2]). Throughout, ρ=β+iγ\rho=\beta+i\gamma runs over the nontrivial zeros of ζ\zeta with multiplicity, sums over zeros are taken in symmetric order unless they converge absolutely, γE\gamma_E is Euler’s constant and γ1\gamma_1 the first Stieltjes constant, ζ(s)=1s−1+γE−γ1(s−1)+⋯\zeta(s)=\frac{1}{s-1}+\gamma_E-\gamma_1(s-1)+\cdots. That result concerns the slope of the energy of the primes,

I(X)=∫1X(ψ(x)−x)2x2 dx=∫0log⁡XE0(u)2 du,E0(u)=e−u/2(ψ(eu)−eu).I(X)=\int_1^X\frac{(\psi(x)-x)^2}{x^2}\,dx=\int_0^{\log X}E_0(u)^2\,du,\qquad E_0(u)=e^{-u/2}\bigl(\psi(e^u)-e^u\bigr).

whose asymptotic I(X)∼CBlog⁡XI(X)\sim C_B\log X under RH is Cramér’s theorem [4]. This paper studies what comes after the slope: the constant term and the oscillation of I(X)I(X), the hypotheses they need, their limiting distribution, and the resolution of the prime signal into the modes of single zeros. The large values of short Dirichlet polynomials, which govern what the energy can say about zeros off the line and were treated in an earlier version of this paper, are now in [24].

Results

The results, with their hypotheses and status, are the following.

  1. Second-order energy law (Theorem 5; under RH, simplicity of the zeros and the additional spacing condition (H*) of Sect. 3; proved): I(X)=CBlog⁡X+K+Φ(log⁡X)+O(X−1/2)I(X)=C_B\log X+K+\Phi(\log X)+O(X^{-1/2}), with Φ\Phi an absolutely convergent trigonometric series over the differences γ−γ′\gamma-\gamma' (Proposition 4) and KK an explicit constant. The passage from finite sets of zeros to all zeros rests on two lemmas stated and proved here: the zero expansion converges in L2L^2 on bounded intervals (Lemma 1, unconditional) and its energy in unit windows is bounded uniformly (Lemma 2, under RH).

  1. The constant without zeros (Propositions 7 and 8, Corollary 9; under RH; proved, and the value is certified in interval arithmetic): KK is given by a closed formula in γE\gamma_E, γ1\gamma_1, log⁡2π\log2\pi, π2\pi^2 and a rapidly convergent sum over prime powers, and K∈[2.512479790006±6⋅10−13]K\in[2.512479790006\pm6\cdot10^{-13}]. The trivial part of the explicit formula contributes (log⁡4π−1)2+1−π2/12=2.5215682…(\log4\pi-1)^2+1-\pi^2/12=2.5215682\ldots; the interval 1≤x<21\le x<2 alone contributes exactly 11.

  1. The strength of the spacing condition (Sect. 3.2; under RH and simple zeros, without (H*); proved): KK is the Cesàro mean of I(eu)−CBuI(e^u)-C_Bu if and only if the weighted number of pairs of zeros at distance less than ε\varepsilon is o(ε)o(\varepsilon) (Proposition 11). A pair at distance λ\lambda acts like a double zero on the scale u≪1/λu\ll1/\lambda, which is why some condition on small gaps is needed. If I(eu)−CBu−KI(e^u)-C_Bu-K is approximated in mean square by the truncations of Φ\Phi, it has a limiting distribution without absolute convergence (Proposition 12); under linear independence this approximation forces both a quadratic spacing condition (H2H_2) and the condition ν(ε)=o(ε)\nu(\varepsilon)=o(\varepsilon) above, which are independent of each other. Whether the two together suffice is our main open problem (Problem 13).

  1. Limiting distribution (Theorem 14; under (H*), and under the linear independence hypothesis LI for part 3; proved): I(X)−CBlog⁡XI(X)-C_B\log X has a limiting distribution in log⁡X\log X with mean KK, variance V=∑λ∣aλ∣2V=\sum_\lambda|a_\lambda|^2 and support in [K−H,K+H][K-H,K+H]; under LI, VV is an explicit double sum over zeros. Its combinatorial factors are checked against a direct computation with 1 to 5 pairs of zeros (numerical). Numerically, under LI, V=1.2502⋅10−5V=1.2502\cdot10^{-5}; the truncation V104V_{10^4} is a numerical lower bound, the part of the tail coming from pairs of distant zeros is bounded rigorously, and the part coming from close pairs only under an assumption on the gaps. The primes up to 10910^9 confirm the second-order law: the residual is 1.21.2–1.3⋅10−51.3\cdot10^{-5} (r.m.s.) and Kprimes=2.512484K_{\mathrm{primes}}=2.512484 (numerical).

  1. Comparison with random models (Sect. 5, numerical): in Cramér’s model the energy is 46 to 150 times that of the primes, and in random models of μ\mu it is 6 to 20 (independent signs, smallest realization to median) and typically 8 (random multiplicative functions) times that of μ\mu; no realization out of 100 reaches the arithmetic value. After the zeros up to height TT are subtracted, the measured residual energy agrees with the contribution predicted from the zeros above TT to within 2%, for 50≤T≤10450\le T\le10^4; no additional stochastic component is detected at the precision and scales investigated.

  1. Principal modes of the zeros (Proposition 16 and Corollary 17, proved; Sect. 6): the Gaussian demodulation of the prime signal at the frequency γ\gamma of a zero is an exact sum over

all zeros; it splits into the principal mode of the zero itself, −e(β−12)u+(β−12)2s2/2/ρ-e^{(\beta-\frac{1}{2})u+(\beta-\frac{1}{2})^{2}s^{2}/2}/\rho, and an interference term damped by e−(γ′−γ)2s2/2e^{-(\gamma'-\gamma)^{2}s^{2}/2}, which we bound. The principal mode is a closed ellipse for a zero on the line and an expanding spiral off it; the measured orbit is that curve up to the interference. Computations with the primes up to 10810^{8} and with the Davenport–Heilbronn function are numerical.

What is classical and what is new

Known results, cited as such: Cramér’s theorem [4]; the equivalence of bounded mean energy with RH [23]; the explicit formula and the Hadamard product [6, 11]; the theorem of Wintner and of Jessen and Wintner on limiting distributions of almost periodic functions [20, 1], and the fact that B2B^{2}-almost periodic functions have limiting distributions [1 Thm. 2.9]; the Montgomery–Vaughan inequalities [14]; Trudgian’s bound for N(T)N(T) [18]. Lemmas 1–3 are standard in nature; we prove them because the passage to the limit in Theorem 5 depends on them.

New results (proved here): Theorem 5 with its constant KK; the closed formula of Proposition 8 and the certified value of KK; Proposition 11, which characterizes when KK is the Cesàro mean of the deviation without assuming (H*); Proposition 12 (a direct consequence of [1 Thm. 2.9]); the identification of the mean and the explicit variance in Theorem 14 (the existence of the distribution under (H*) is standard); the orbit identity of Proposition 16 (elementary).

New formulations of known objects: the zero–zero part of KK as the second elementary symmetric function of the limits of C2C_{2}; the variance as a weighted Rodgers–Tao energy; the reading of single zeros through their principal modes.

References

  1. [1]A. Akbary, N. Ng, M. Shahabi, Limiting distributions of the classical error terms of prime number theory, Q. J. Math. 65 (2014), 743–780.arxiv.org/abs/1306.1657
  2. [2]R. P. Brent, D. J. Platt, T. S. Trudgian, The mean square of the error term in the prime number theorem, J. Number Theory 238 (2022), 740–762.arxiv.org/abs/2008.06140
  3. [4]H. Cramér, Ein Mittelwertsatz in der Primzahltheorie, Math. Z. 12 (1922), 147–153.
  4. [5]H. Cramér, On the order of magnitude of the difference between consecutive prime numbers, Acta Arith. 2 (1936), 23–46.
  5. [6]H. Davenport, Multiplicative Number Theory, 3rd ed., Graduate Texts in Mathematics 74, Springer, 2000.
  6. [7]H. Davenport, H. Heilbronn, On the zeros of certain Dirichlet series I, II, J. London Math. Soc. 11 (1936), 181–185 and 307–312.
  7. [8]A. Denjoy, L’hypothèse de Riemann sur la distribution des zéros de ζ(s), reliée à la théorie des probabilités, C. R. Acad. Sci. Paris 192 (1931), 656–658.
  8. [9]A. Granville, Harald Cramér and the distribution of prime numbers, Scand. Actuar. J. 1995, no. 1, 12–28.
  9. [10]A. J. Harper, Moments of random multiplicative functions, I: low moments, better than squareroot cancellation, and critical multiplicative chaos, Forum Math. Pi 8 (2020), e1.
  10. [11]A. E. Ingham, The Distribution of Prime Numbers, Cambridge University Press, 1932.
  11. [12]F. Johansson, Arb: efficient arbitrary-precision midpoint-radius interval arithmetic, IEEE Trans. Comput. 66 (2017), 1281–1292.arxiv.org/abs/1611.02831
  12. [13]P. Caceres, The cross-energy of Dirichlet partial sums: from the energy law of the primes to large values of Dirichlet polynomials, preprint, 2026.
  13. [14]H. L. Montgomery, R. C. Vaughan, Hilbert’s inequality, J. London Math. Soc. (2) 8 (1974), 73–82.DOI
  14. [15]J. B. Rosser, L. Schoenfeld, Approximate formulas for some functions of prime numbers, Illinois J. Math. 6 (1962), 64–94.
  15. [16]B. Rodgers, T. Tao, The de Bruijn–Newman constant is non-negative, Forum Math. Pi 8 (2020), e6.arxiv.org/abs/1801.05914
  16. [17]E. C. Titchmarsh, The Theory of the Riemann Zeta-Function, 2nd ed., revised by D. R. Heath-Brown, Oxford University Press, 1986.
  17. [18]T. Trudgian, An improved upper bound for the argument of the Riemann zeta-function on the critical line II, J. Number Theory 134 (2014), 280–292.
  18. [19]A. Wintner, Random factorizations and Riemann’s hypothesis, Duke Math. J. 11 (1944), 267–275.DOI
  19. [20]A. Wintner, On the asymptotic distribution of the remainder term of the prime-number theorem, Amer. J. Math. 57 (1935), 534–538.
  20. [21]P. Caceres, The C-transform and the cross-energy, preprint, 2026.
  21. [22]P. Caceres, Zeros of truncations: spirals, sections and the circles of the primes, preprint, 2026.
  22. [23]P. Caceres, The energy of the primes, preprint, 2026.
  23. [24]P. Caceres, Multiplicative resonance and large values of Dirichlet polynomials, preprint, 2026.
  24. [25]P. Caceres, The Euler product inside the critical strip, preprint, 2026.
  25. [26]P. Caceres, A two-sided criterion for the Riemann hypothesis from weighted prime sums, verified up to 2·10²⁹, preprint, 2026; an earlier version is hexagon:2610.00661.
  26. [28]P. Caceres, The Euler cross-energy, Weil positivity and a one-variable form of the Riemann hypothesis, preprint, 2026.
  27. [29]P. Caceres, The margin as W − E, a Hodge index for the integers, preprint, 2026.
  28. [30]P. Caceres, The Euler–Caceres bound, preprint, 2026.
  29. [31]P. Caceres, The energy of the Chebyshev race: an explicit unconditional floor for the prime race between the lanes 6k ± 1, preprint, 2026.
  30. [32]P. Caceres, Controls for the Riemann hypothesis: Davenport–Heilbronn, Beurling systems and function fields, preprint, 2026.
  31. [33]P. Caceres, The cross-energy of Dirichlet partial sums and the zeros of the Riemann zeta function, consolidated paper, Hexagon preprint hexagon:2610.00161v2 (2026); Zenodo doi:10.5281/zenodo.23243641. (Its content is divided among Parts 1, 2, 5, 17 and 41 of the series.)

Paper details

vlnc:W_tfb5ebea
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents