The constant term in Cramer's mean-square theorem for the primes. Second-order asymptotics and limiting fluctuations of the prime energy
Version 1 / Nov 25, 2026 / CC BY 4.0
Abstract
Let be the energy of the primes. Under the Riemann hypothesis (RH) and simple zeros its slope is (Cram\'er). We study the next terms. Under RH, simple zeros and an additional spacing condition (H), , where is an absolutely convergent almost periodic sum over pairs of zeros. The constant has a closed form without zeros, , with and ; under RH, , certified to in interval arithmetic. Under RH and simple zeros alone, is the Ces\`aro mean in of if and only if : a pair of zeros at distance acts like a double zero for . Under (H), has a limiting logarithmic distribution with mean and variance , an explicit double sum over zeros under linear independence, whose factors we check on finite sets of zeros; numerically under LI. The primes up to agree with the zero side to (r.m.s.) and give . In the random models of the primes and of that we examine the median energy is to 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 beside zeros computed from scratch.
Provenance statement
References
- A. Akbary, N. Ng, M. Shahabi, Limiting distributions of the classical error terms of prime number theory, Q. J. Math. 65 (2014), 743--780.
- 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.
- P. Caceres, The mean-square prime energy: constant term, limiting distribution and variance of its fluctuations, preprint, 2026.
- H. Cramér, Ein Mittelwertsatz in der Primzahltheorie, Math. Z. 12 (1922), 147--153.
- H. Cramér, On the order of magnitude of the difference between consecutive prime numbers, Acta Arith. 2 (1936), 23--46.
- H. Davenport, Multiplicative Number Theory , 3rd ed., Graduate Texts in Mathematics 74, Springer, 2000.
- H. Davenport, H. Heilbronn, On the zeros of certain Dirichlet series I, II, J. London Math. Soc. 11 (1936), 181--185 and 307--312.
- A. Denjoy, L'hypothèse de Riemann sur la distribution des zéros de , reliée à la théorie des probabilités, C. R. Acad. Sci. Paris 192 (1931), 656--658.
- A. Granville, Harald Cramér and the distribution of prime numbers, Scand. Actuar. J. 1995, no. 1, 12--28.
- 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.
Show all 38 referencesShow fewer references
- A. E. Ingham, The Distribution of Prime Numbers , Cambridge University Press, 1932.
- F. Johansson, Arb: efficient arbitrary-precision midpoint-radius interval arithmetic, IEEE Trans. Comput. 66 (2017), 1281--1292.
- P. Caceres, The cross-energy of Dirichlet partial sums: from the energy law of the primes to large values of Dirichlet polynomials, preprint, 2026.
- H. L. Montgomery, R. C. Vaughan, Hilbert's inequality, J. London Math. Soc. (2) 8 (1974), 73--82.
- J. B. Rosser, L. Schoenfeld, Approximate formulas for some functions of prime numbers, Illinois J. Math. 6 (1962), 64--94.
- B. Rodgers, T. Tao, The de Bruijn--Newman constant is non-negative, Forum Math. Pi 8 (2020), e6.
- E. C. Titchmarsh, The Theory of the Riemann Zeta-Function , 2nd ed., revised by D. R. Heath-Brown, Oxford University Press, 1986.
- 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.
- A. Wintner, Random factorizations and Riemann's hypothesis, Duke Math. J. 11 (1944), 267--275.
- A. Wintner, On the asymptotic distribution of the remainder term of the prime-number theorem, Amer. J. Math. 57 (1935), 534--538.
- P. Caceres, The C-transform and the cross-energy, preprint, 2026.
- P. Caceres, Zeros of truncations: spirals, sections and the circles of the primes, preprint, 2026.
- P. Caceres, The energy of the primes, preprint, 2026.
- P. Caceres, Multiplicative resonance and large values of Dirichlet polynomials, preprint, 2026.
- P. Caceres, The Euler product inside the critical strip, preprint, 2026.
- P. Caceres, A two-sided criterion for the Riemann hypothesis from weighted prime sums, verified up to , preprint, 2026; an earlier version is hexagon:2610.00661.hexagon
- P. Caceres, One constant, three mirrors: from the zeros, from the primes, and from the Möbius sawtooths, preprint, 2026.
- P. Caceres, The Euler cross-energy, Weil positivity and a one-variable form of the Riemann hypothesis, preprint, 2026.
- P. Caceres, The margin as , a Hodge index for the integers, preprint, 2026.
- P. Caceres, The Euler--Caceres bound, preprint, 2026.
- P. Caceres, The energy of the Chebyshev race: an explicit unconditional floor for the prime race between the lanes , preprint, 2026.
- P. Caceres, Controls for the Riemann hypothesis: Davenport--Heilbronn, Beurling systems and function fields, preprint, 2026.
- 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.)hexagonDOI
- P. Caceres, The Weil window: a two-sided instrument on the cross-energy's test functions, preprint, 2026.
- P. Caceres, The Gaussian gauge of the Weil criterion: the landscape as a phase-space symbol, anti-Wick rigidity, and a two-sided detector, preprint, 2026.
- P. Caceres, The recursive certificate: Levinson chains of the cross-energy mold, an exhaustion-detection theorem, and the reach of the primes, preprint, 2026.
- P. Caceres, The Hankel gauge: Matiyasevich's moments, Lehmer's sums, and a graded positivity instrument for the Riemann hypothesis, preprint, 2026.
- P. Caceres, The antiphase lock: the mutual information of prime blocks and the zero-free band, preprint, 2026.
Version history
- v1 · 25 pagesSubmitted by Pedro Caceres25 pages, 7 figures. Part 6 of the series "Cross-Energy of Dirichlet Partial Sums". Main results: the second-order law I(X) = C_B log X + K + Phi(log X) + O(X^(-1/2)) (Theorem 5), the closed form of K without zeros (Proposition 8) and the certified value K = 2.512479790006 +- 6e-13 under RH (Corollary 9). Ancillary Python scripts (NumPy, SciPy, mpmath, python-flint) reproduce the tables, figures and the certified value.CurrentNov 24, 2026