A394258: Largest prime less than the n-th prime-complete number.
Statement
A double (two prime-complete numbers in one prime gap) occurs only for the shared previous-primes 31, 89, 479, and 4603; no further double exists below 10^12, and a heuristic based on the density of prime-complete numbers suggests this list of doubles is complete and that no triple occurs. That is, the counting function for prime-complete numbers, A377028(n), grows sub-polynomially (empirically exp(O(sqrt(log n)))), so prime-complete numbers thin out faster than any polynomial while prime gaps grow only logarithmically. The expected number of further doubles beyond x is therefore a convergent sum, supporting the conjecture that the complete list is 31, 89, 479, and 4603.
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/oeis-a394258.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/oeis-a394258.lean
import Mathlib /-! # A394258: Largest prime less than the n-th prime-complete number. Source: https://oeis.org/A394258 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_oeis_a394258 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a394258