A269027: Parity of the number of 1's in A039724(n).
Statement
Conjecture. Let Ak denote the first 2^k terms; then A0={0} and for even k>=0, A(k+1)= AkBk, where Bk is obtained from Ak by complementing its 0's and 1's; for odd k>=1, A(k+1)= AkCk, where Ck is obtained from Ak by complementing its last (2/3)*(2^(k-1)-1) 0's and 1's. · Theorem. Conjecture is true. · The conjecture in the comment is equivalent to the following formula: for odd k>=1 and 0 <= m < 2^k - (2/3)*(2^(k-1)-1), a(m+2^k)=a(m);
Posed by Vladimir Shevelev · 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-a269027.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-a269027.lean
import Mathlib /-! # A269027: Parity of the number of 1's in A039724(n). Source: https://oeis.org/A269027 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_a269027 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a269027