A394676: a(1) = 1, a(n+1) as the smallest positive integer greater than a(n) that avoids violating the condition a(k) + a(k+1) + a(k+2) + a
Statement
Conjecture 1: a(n) <= floor((5*n-1)/4). · Conjecture 2: The sequence L(k)=16^(k-1) + 3 describes the number of consecutive terms that match the formula a(n) = floor((5*n-1)/4): [a(1)..a(4)] : L(1) = 16^(1-1) + 3 = 4 [a(22)..a(40)] : L(2) = 16^(2-1) + 3 = 19 [a(359)..a(617)] : L(3) = 16^(3-1) + 3 = 259 [a(5735)..a(9833)] : L(4) = 16^(4-1) + 3 = 4099 [a(91751)..a(157289)] : L(5) = 16^(5-1) + 3 = 65539 ... .
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-a394676.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-a394676.lean
import Mathlib /-! # A394676: a(1) = 1, a(n+1) as the smallest positive integer greater than a(n) that avoids violating the condition a(k) + a(k+1) + a(k+2) + a Source: https://oeis.org/A394676 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_a394676 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a394676