A049591: Odd primes p such that p+2 is composite.
Statement
Conjecture: start from any initial value f(1) >= 2 and define f(n) to be the largest prime factor of f(1) +f(2) + ... +f(n-1); then f(n) = n/2 + O(log(n)) and there are infinitely many primes p such that f(2p)=p. Conjecture: current sequence gives primes satisfying f(2p)=p when f(1)=3.
Posed by Benoit Cloitre · OEIS
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-a049591.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-a049591.lean
import Mathlib /-! # A049591: Odd primes p such that p+2 is composite. Source: https://oeis.org/A049591 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_a049591 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a049591