Erdős primes up to 10^12, a Poisson law for p − k!, and two companion constants
A prime p is an Erdős prime (OEIS A064152) if p − k! is not prime for every k ≥ 1 with k! < p. Erdős asked whether there are infinitely many (Guy, Unsolved Problems in Number Theory, A2; erdosproblems.com #1059). We extend the published counts from 10^9 to 10^12: there are 4,811,377,669 Erdős primes below 10^12. The empirical law E(x) ≈ (1/8) x/log x fails: E(x)/(x/log x) = 0.1329 at 10^12 and is still increasing. A parameter-free heuristic of Hardy–Littlewood type predicts the counts to within 0.3%, including two predictions made before the corresponding computations. It leads to the conjecture that the number of k with p − k! prime is asymptotically Poisson with mean e^γ, so that Erdős primes have relative density e^(−e^γ) = 0.16846... among the primes; in particular there are infinitely many. The same model predicts, and computations up to 10^10 confirm, the same constant for the variant p + k!, and a different constant ≈ 0.216 for primes p such that p − 2^k is never prime. Data (counts per interval) and source code are included. The computations, code and analysis were carried out with the assistance of Claude (Anthropic).
Authors
- Yenni Guirous
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24659143
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint