Erdős Problems #385 and #430: the size of F(n) − n for almost all n

Primarily AI-generated textHuman understanding: all partsmath.NT — Number Theory

Contributed by Aafi Khan Malek ↗

Version 1 / Dec 02, 2026 / CC BY 4.0

Abstract

Let F(n)F(n) be the maximum of m+p(m)m+p(m) over composite m<nm<n, where p(m)p(m) is the least prime factor of mm. We show that for every fixed ε>0\varepsilon>0, the set of nn with F(n)<n+(1−ε)nF(n)<n+(1-\varepsilon)\sqrt n has natural density zero. Lean 4 verifies this density-zero statement without extra analytic hypotheses, using the pinned formal zero-free theorem of Cureton and Thorner. Lean also checks the logarithmic-threshold result and the elementary reductions. The original statements for every sufficiently large integer remain open.

Author comments: This is the revised Zenodo v2 manuscript: https://doi.org/10.5281/zenodo.24746267 . The frozen Lean replay ZIP is included on Zenodo. Audited Lean source and instructions: https://github.com/Aafimalek/erdos-385-almost-all/tree/30445bf4b495fb57cc6c35ca349878d9cb95bff5/research/dedekind-audit . The formal result establishes density zero, not the stronger quantitative exception bound or the original pointwise conjectures.

Provenance statement

The contributor directed the research. OpenAI Codex and Anthropic Claude assisted with literature, mathematical arguments, verification code, and drafting. ChatGPT assisted with the later Lean bridge and verification-status update. Lean 4 verified the stated density-zero theorem using only the three standard axioms; the upstream zero-free theorem was formalized by AxiomProver.

References

  1. T. F. Bloom, Erdős Problems #385 and #430 , with forum threads, https://www.erdosproblems.com/385, https://www.erdosproblems.com/430.link
  2. H. Davenport, Multiplicative Number Theory , 3rd ed., Graduate Texts in Mathematics 74 , Springer, 2000.
  3. P. Erdős, Some unconventional problems in number theory , Acta Math.\ Acad.\ Sci.\ Hungar.\ 33 (1979), 71--80.
  4. P. Erdős and R. L. Graham, Old and new problems and results in combinatorial number theory , Monographies de L'Enseignement Mathématique 28 , 1980.
  5. A. Gafni and T. Tao, Rough numbers between consecutive primes , preprint (2025), arXiv:2508.06463.arXiv
  6. M. Hausman and H. N. Shapiro, On the mean square distribution of primitive roots of unity , Comm.\ Pure Appl.\ Math.\ 26 (1973), 539--547.
  7. H. L. Montgomery and R. C. Vaughan, Hilbert's inequality , J.\ London Math.\ Soc.\ (2) 8 (1974), 73--82.
  8. OEIS Foundation Inc., The On-Line Encyclopedia of Integer Sequences , https://oeis.org, sequences A322292 and A322293.link
  9. E. C. Titchmarsh, The Theory of the Riemann Zeta-Function , 2nd ed., revised by D. R. Heath-Brown, Oxford, 1986.
  10. T. Tao, Erdős problem #385, the parity problem, and Siegel zeroes , blog post and comments, 19 August 2024, https://terrytao.wordpress.com/2024/08/19/erdos-problem-385-the-parity-problem-and-siegel-zeroes/.link
Show all 12 referencesShow fewer references
  1. M. Tong, Erdős problems #385 and #463 for almost all integers , preprint (2026), hexagon:2611.01517v1 (https://hexagonmath.org/2611.01517v1).hexagon
  2. D. Cureton and J. Thorner, A quasi-Riemann hypothesis for Dedekind zeta functions , preprint (2026), hexagon:2610.00200v2 (https://hexagonmath.org/2610.00200v2), Theorem 1.1. Lean formalization generated by AxiomProver.hexagon

Version history

  1. v1 · 8 pagesSubmitted by Aafi Khan MalekThis is the revised Zenodo v2 manuscript: https://doi.org/10.5281/zenodo.24746267 . The frozen Lean replay ZIP is included on Zenodo. Audited Lean source and instructions: https://github.com/Aafimalek/erdos-385-almost-all/tree/30445bf4b495fb57cc6c35ca349878d9cb95bff5/research/dedekind-audit . The formal result establishes density zero, not the stronger quantitative exception bound or the original pointwise conjectures.CurrentDec 02, 2026