A194688: First differences of A036554 (numbers whose binary representation ends in an odd number of zeros).
Statement
Conjecture. This sequence is self-generated according to the following rule: start with {4} at step 0, then extend by steps, appending {2,2,4} at step n if a(n)=4 or appending {4} if a(n)=2. (This has been verified for several thousand terms.) To illustrate, the first few steps of this process give {4}->{4,2,2,4}, since a(1)=4, ->{4,2,2,4,4}, since a(2)=2, ->{4,2,2,4,4,4}, since a(3)=2, ->{4,2,2,4,4,4,2,2,4}, since a(4)=4, etc. Equivalently, it appears that {a(n)} is the fixed-point of the morphism 2->4, 4->422, starting with 4. · Since A036554 = 2*A003159, this conjecture follows from the paper by Allouche, Shallit and Skordev in 2005, see page 13.
Posed by Michel Dekking · 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-a194688.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-a194688.lean
import Mathlib /-! # A194688: First differences of A036554 (numbers whose binary representation ends in an odd number of zeros). Source: https://oeis.org/A194688 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_a194688 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a194688