Ramanujan's prime-counting inequality holds for all x ≥ 38,358,837,683
Description
Ramanujan’s prime counting inequality, unconditionally
Let N_R be the smallest positive integer such that Ramanujan’s inequality π(x)² < (ex/log x)·π(x/e) holds for every real x ≥ N_R. Assuming the Riemann hypothesis, Dudek and Platt showed that N_R = 38 358 837 683. This paper proves the same value unconditionally.
Earlier unconditional results left the range e^103 < x < e^3158.442 uncovered, and this paper closes it. The proof uses only the verification of the Riemann hypothesis up to height 3·10^12 (Platt–Trudgian), together with:
- a smoothed explicit formula for ψ(x), of Büthe type;
- the Bellotti–Trudgian–Yang zero-free region, evaluated exactly at each height below e^43;
- a repulsion bound for pairs of zeros close to the line σ = 1;
- a sharpened version of Bellotti’s log-free zero-density estimate. Its main new ingredient is an asymptotically sharp explicit bound for the Barban–Vehov mean square, proved in full in Appendix A.
Every numerical step is certified in ball (interval) arithmetic using Arb/python-flint. Floating point is used only to choose parameters.
Contents of this record
ramanujan-inequality.pdf: the paper (25 pages)ramanujan-inequality-source.tar.gz: the LaTeX source- a code snapshot with all certification scripts and their logs;
certify/arb/run_all.shreproduces the verification
Changes in v2
- The text is rewritten for readability.
- Appendix A, the complete proof of the Barban–Vehov bound (Theorem G), is new.
- Several remainder terms in that bound are corrected, and the whole computation has been recertified. The final margins are max q = 0.99137 on [57, 3159) and transfer ratio 0.99052.
- The paper now states explicitly what it uses from Bellotti–Trudgian–Yang.
- Notation is cleaned up and the bibliography is updated.
- The main result is unchanged.
Links
- Code repository: https://github.com/jaideepsaipadhi/ramanujans-inequality
- aiXiv: 2610.01760
- v1: https://zenodo.org/records/23408098
AI disclosure: the research and writing were done with substantial assistance from Claude (Anthropic), as described in the paper’s acknowledgement.
Files
main.pdf
Additional details
Related works
- Is identical to
- Preprint: https://aixiv.online/abs/2610.01760 (URL)
- Is new version of
- Preprint: 10.5281/zenodo.23408098 (DOI)
- Is supplemented by
- Software: https://github.com/jaideepsaipadhi/ramanujans-inequality (URL)
Dates
- Available
-
2026-10-17Preprint
Software
- Repository URL
- https://github.com/jaideepsaipadhi/ramanujans-inequality
- Programming language
- Python
- Development Status
- Active
References
- Axler, C. Estimates for π(x) for large values of x and Ramanujan's prime counting inequality. Integers 18 (2018), A61.
- Axler, C. On Ramanujan's prime counting inequality. arXiv:2207.02486.
- Bellotti, C. An explicit log-free zero density estimate for the Riemann zeta-function. arXiv:2405.12545.
- Bellotti, C., Trudgian, T., Yang, A. Zero-free regions inspired by work of Heath-Brown. arXiv:2603.21490.
- Berndt, B. C. Ramanujan's Notebooks, Part IV. Springer, New York, 1994.
- Büthe, J. Estimating π(x) and related functions under partial RH assumptions. Math. Comp. 85 (2016), 2483–2498.
- Büthe, J. An analytic method for bounding ψ(x). Math. Comp. 87 (2018), 1991–2009.
- Cully-Hugill, M., Johnston, D. R. On the error term in the explicit formula of Riemann–von Mangoldt. Int. J. Number Theory 19 (2023), 1205–1228.
- De, S. On proving an inequality of Ramanujan using explicit order estimates for the Mertens function. arXiv:2407.12052.
- De, S. On proving Ramanujan's inequality using a sharper bound for the prime counting function π(x). arXiv:2408.02591.
- Dudek, A. W., Platt, D. J. On solving a curious inequality of Ramanujan. Exp. Math. 24 (2015), 289–294.
- Hassani, M. On an inequality of Ramanujan concerning the prime counting function. Ramanujan J. 28 (2012), 435–442.
- Hasanalizade, E., Shen, Q., Wong, P.-J. Counting zeros of the Riemann zeta function. J. Number Theory 235 (2022), 219–241.
- Hiary, G. A. An explicit van der Corput estimate for ζ(1/2+it). Indag. Math. 27 (2016), 524–533.
- Hiary, G. A., Patel, D., Yang, A. An improved explicit estimate for ζ(1/2+it). J. Number Theory 256 (2024), 195–217.
- Johansson, F. Arb: efficient arbitrary-precision midpoint-radius interval arithmetic. IEEE Trans. Comput. 66 (2017), 1281–1292.
- Johnston, D. R. Improving bounds on prime counting functions by partial verification of the Riemann hypothesis. Ramanujan J. 59 (2022), 1307–1321.
- Johnston, D. R., Yang, A. Some explicit estimates for the error term in the prime number theorem. J. Math. Anal. Appl. 527 (2023), 127460.
- Kadiri, H., Lumley, A., Ng, N. Explicit zero density for the Riemann zeta function. J. Math. Anal. Appl. 465 (2018), 22–46.
- Montgomery, H. L., Vaughan, R. C. The large sieve. Mathematika 20 (1973), 119–134.
- Neubauer, G. Eine empirische Untersuchung zur Mertensschen Funktion. Numer. Math. 5 (1963), 1–13.
- Patel, D., Yang, A. An explicit sub-Weyl bound for ζ(1/2+it). J. Number Theory (2024).
- Platt, D. J., Trudgian, T. S. The error term in the prime number theorem. Math. Comp. 90 (2021), 871–881.
- Platt, D. J., Trudgian, T. S. The Riemann hypothesis is true up to 3·10^12. Bull. Lond. Math. Soc. 53 (2021), 792–797.
- Ramaré, O., Akhilesh, P. Explicit averages of non-negative multiplicative functions: going beyond the main term. Colloq. Math. 147 (2017), 275–313.
- Ramaré, O., Zuniga Alterman, S. An L²-bound for the Barban–Vehov weights. arXiv:2405.12662.
- Rosser, J. B., Schoenfeld, L. Approximate formulas for some functions of prime numbers. Illinois J. Math. 6 (1962), 64–94.