A222763: Number of n X 2 0..1 arrays with exactly floor(nX2/2) elements unequal to at least one horizontal or antidiagonal neighbor, with n
Statement
From Gus Wiseman, Oct 05 2022: Conjecture: Also the number of integer compositions of 2n + 1 with the same length as reverse-alternating sum. Here, the reverse-alternating sum of a sequence (y1,...,yk) is Sumi (-1)^i yi. For example, the a(4) = 20 compositions are: (135) (234) (333) (432) (531) (11115) (21114) (31113) (41112) (51111) (11214) (21213) (31212) (41211) (11313) (21312) (31311) (11412) (21411) (11511) This is the odd-indexed version of A357182, and the corresponding unordered count (partitions) is A357488.
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-a222763.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-a222763.lean
import Mathlib /-! # A222763: Number of n X 2 0..1 arrays with exactly floor(nX2/2) elements unequal to at least one horizontal or antidiagonal neighbor, with n Source: https://oeis.org/A222763 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_a222763 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a222763