An effective analytic recurrence for prime numbers
Abstract
The Golomb--Keller formula expresses the next prime pn+1 as a recurrence relation in terms of the first n primes p1, …, pn using the Riemann zeta function and an Euler product, but requires taking a limit as s ∞, rendering it non-constructive. We transform this asymptotic formula into an effective recurrence by proving that a finite parameter s ≤ pn suffices when combined with the ceiling function, establishing a constructive method valid for all n ≥ 1. The minimal integer parameter sn (OEIS A389650) reveals deep connections to prime constellations. We prove n∞ σn = 0 unconditionally, where σn = sn/pn. The limit superior C = σn satisfies C ≤ 0.4332, where ≈ 1.46557 is the supergolden ratio. The lower bound is conditional on the twin prime conjecture; the upper bound is unconditional. The constant C relates to the densest admissible prime constellation, connecting to the Hardy--Littlewood conjectures. The method extends to Dirichlet L-functions, yielding other effective formulas for calculating pn+1 but also for predicting residues of pn+1 modulo any integer with reduced precision requirements.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.