How Well Do Past Primes Predict Future Primes? Quantitative Bounds via Chebyshev's Identity and Zeta Zeros

Primarily AI-generated textHuman understanding: some partsmath.NT — Number Theorymath.CA — Classical Analysis and ODEsmath.PR — Probability

Contributed by Xiaoyu Li ↗

Version 1 / Dec 03, 2026 / CC BY 4.0

Abstract

With the Riemann hypothesis now proved, truncating Chebyshev's 1852 alternating identity ψ(x)−ψ(x/2)+ψ(x/3)−⋯=log⁡(⌊x⌋!/⌊x/2⌋!2)\psi(x)-\psi(x/2)+\psi(x/3)-\cdots=\log(\lfloor x\rfloor!/\lfloor x/2\rfloor!^2) at length NN (with a sharp cutoff) or 2N2N (with a smooth cutoff) unconditionally yields an explicit fixed linear predictor of ψ(x)\psi(x) from its past values on [x/(2N),x/2][x/(2N), x/2] whose logarithmic mean-square error is O(xlog⁡3(2N)/N)O(x\log^3(2N)/N) in general, and O(xlog⁡2(2N)/N)O(x\log^2(2N)/N) if all zeros of ζ\zeta are simple, against at least 0.046 x0.046\,x for the baseline ψ(x)≈x\psi(x)\approx x. On the frequency side, the full identity corresponds to the Dirichlet series η(s)=(1−21−s)ζ(s)\eta(s)=(1-2^{1-s})\zeta(s), which vanishes at every nontrivial zero of ζ\zeta. A truncation at scale NN stays small at zeros of height ∣γ∣≤N|\gamma|\le N---O(N−1/2)O(N^{-1/2}) for the sharp cutoff by exact pole cancellation in the Hardy--Littlewood approximation, and rapidly decaying for a smooth cutoff by Mellin contour shifting---so the prediction error is governed by the higher zeros, whose weighted mean square we bound by contour integration of (ζ′/ζ)(s)AN(s)AN(1−s)(\zeta'/\zeta)(s)A_N(s)A_N(1-s) to match the naive count (log⁡N)2/N(\log N)^2/N. In the associated stationary model with spectral measure μ=∑ρ∣ρ∣−2δγ\mu=\sum_\rho|\rho|^{-2}\delta_\gamma, the optimal linear prediction error σ2(L,τ)\sigma^2(L,\tau) at log-horizon τ>0\tau>0 from a log-window of length L≥1L\ge1 satisfies the two-sided quantitative bound τexp⁡(−exp⁡(c(L+τ+1)))≤σ2(L,τ)≤Cτ(L+τ)2e−(L+τ)\tau\exp(-\exp(c(L+\tau+1))) \le \sigma^2(L,\tau) \le C_\tau (L+\tau)^2 e^{-(L+\tau)}. The upper bound is achieved by the truncated Chebyshev identity (sharp or smooth, with a finite Dirichlet-inverse correction when τ>log⁡2\tau>\log 2), while the lower bound follows from a quantitative Kadec--Riesz construction controlled by gaps between consecutive zeta zeros; if those gaps are bounded multiples of the average spacing 2π/log⁡γ2\pi/\log\gamma, the lower bound sharpens to c1τe−c2(L+τ)c_1\tau e^{-c_2(L+\tau)}. Computations with 138,069 zeros and primes up to e17e^{17} confirm the asymptotic transfer to ψ(x)\psi(x) to within about 1%1\%, exhibit a single-logarithm scaling (log⁡N)/N(\log N)/N for both Chebyshev and optimal log-integer predictors (whose normalized weights closely track φ(n)/n\varphi(n)/n), and motivate the conjecture σ2(L,τ)≍τLe−L\sigma^2(L,\tau)\asymp_\tau Le^{-L}.

Provenance statement

Problem formulation, Chebyshev-predictor framework, and numerical experiments were developed by the author; an AI assistant contributed to tightening the contour-integration upper bound, the sharp-cutoff low-zero estimate, the quantitative Kadec--Riesz lower bound, and prose editing.

Tools used

Anthropic
Claude FableVersion 5.2

References

  1. Amir Akbary, Nathan Ng, and Majid Shahabi. Limiting distributions of the classical error terms of prime number theory. Q. J. Math. , 65 0 (3), 2014. arXiv:1306.1657.arXiv
  2. Levent Alp ö ge. A remark on the R iemann hypothesis. Preprint and Lean 4 formalization, https://alpo.ge/remark.pdf, 2026.link
  3. Levent Alp ö ge and Claude . The G eneralized R iemann H ypothesis for D irichlet LL -functions, in L ean 4. Lean 4 repository (readable edition), https://github.com/lsernau/grh-lean, 2026.link
  4. Axiom Math . Report: T he extended R iemann hypothesis for D edekind zeta functions of totally real fields. Hexagon preprint 2611.01389v1, 2026.
  5. Nikolay M. Babayan and Mamikon S. Ginovyan. Asymptotic behavior of the prediction error for stationary sequences. Probability Surveys , 20, 2023. 10.1214/23-PS21.DOI
  6. N. H. Bingham. Prediction theory in continuous time, 2021. Preprint, arXiv:2111.08560.arXiv
  7. Harald Cram é r. Ein mittelwertsatz in der primzahltheorie. Math. Z. , 12: 0 147--153, 1922.
  8. Harold G. Diamond and Paul Erd ő s. On sharp elementary prime number estimates. Enseign. Math. (2) , 26 0 (3-4): 0 313--321, 1980.
  9. J. L. Doob. Stochastic Processes . Wiley, 1953.
  10. H. Dym and H. P. McKean. Gaussian Processes, Function Theory, and the Inverse Spectral Problem . Academic Press, 1976.
Show all 23 referencesShow fewer references
  1. Noam D. Elkies. Math 229: Č eby š ev (and von M angoldt and S tirling). Lecture notes, Harvard, https://people.math.harvard.edu/~elkies/M229.19/chebi.pdf, 2019.link
  2. Steven M. Gonek. An explicit formula of L andau and its applications to the theory of the zeta-function. In A Tribute to E mil G rosswald: Number Theory and Related Analysis , volume 143 of Contemp. Math. , pages 395--413. Amer. Math. Soc., Providence, RI, 1993.
  3. M. I. Kadec. The exact value of the P aley-- W iener constant. Sov. Math. Dokl. , 5: 0 559--561, 1964.
  4. M. G. Krein. On a fundamental approximation problem in the theory of extrapolation and filtration of stationary random processes. Doklady Akad. Nauk SSSR , 94: 0 13--16, 1954. English transl. Amer. Math. Soc. Selected Transl. Math. Stat. Prob. 4 (1964) 127--131.
  5. H. J. Landau. Necessary density conditions for sampling and interpolation of certain entire functions. Acta Mathematica , 117: 0 37--52, 1967. 10.1007/BF02395039.DOI
  6. Kohji Matsumoto and Masatoshi Suzuki. MM -functions and screw functions originating from G oldbach's problem and zeros of the R iemann zeta function, 2024. Preprint, arXiv:2409.00888.arXiv
  7. H. L. Montgomery and R. C. Vaughan. Hilbert's inequality. J. London Math. Soc. (2) , 8: 0 73--82, 1974. 10.1112/jlms/s2-8.1.73.DOI
  8. Hugh L. Montgomery and Robert C. Vaughan. Multiplicative Number Theory I. Classical Theory , volume 97 of Cambridge Studies in Advanced Mathematics . Cambridge University Press, 2007.
  9. Masatoshi Suzuki. Aspects of the screw function corresponding to the R iemann zeta-function, 2022. Preprint, arXiv:2206.03682.arXiv
  10. Masatoshi Suzuki. The local W eil explicit formula and related structures, 2026. Preprint, arXiv:2611.33001.arXiv
  11. P. L. Tchebichef. M é moire sur les nombres premiers. J. Math. Pures Appl. , 17: 0 366--390, 1852. Also M é m. pr é sent é s à l'Acad. Imp. Sci. St.-P é tersbourg 7 (1854), 15--33.
  12. E. C. Titchmarsh. The Theory of the Riemann Zeta-Function . Clarendon Press, Oxford, 2nd edition, 1986. Revised by D. R. Heath-Brown.
  13. Robert M. Young. An Introduction to Nonharmonic Fourier Series , volume 93 of Pure and Applied Mathematics . Academic Press, San Diego, revised first edition, 2001.

Version history

  1. v1 · 37 pagesSubmitted by Xiaoyu LiInitial depositCurrentDec 03, 2026