A307486: a(0) = 3; a(n) = smallest k > 1 such that 1 + a(0)*a(1)*...*a(n-1)*k is composite.
Statement
Conjecture: for any initial term a(0) > 0, a(n) > 3 only for finitely many n >= 0. · Carl Pomerance (in a letter to the author) wrote: Since the sequence a(0)a(1)...a(n-1) grows geometrically, the chance that any given k will give a prime is about 1/n, so the chance that both k = 2 and k = 3 will give primes is about 1/n^2, heuristically, which has a convergent sum. Thus, for this reason I would agree it's reasonable to conjecture that for any starting a(0), the sequence will eventually be made up of 2's and 3's, with 2's predominating. The number of 3's among the first n terms should be proportional to log n.
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-a307486.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-a307486.lean
import Mathlib /-! # A307486: a(0) = 3; a(n) = smallest k > 1 such that 1 + a(0)*a(1)*...*a(n-1)*k is composite. Source: https://oeis.org/A307486 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_a307486 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a307486