A212731: Number of 0..2 arrays of length 2*n+1 with sum less than 2*n in any length 2n subsequence (=less than 50% duty cycle).
Statement
From Vaclav Kotesovec, Jul 31 2013: Empirical: n*(2*n-1)*(816*n^3 - 5572*n^2 + 11983*n - 8097)*a(n) = (31008*n^5 - 250088*n^4 + 727230*n^3 - 936367*n^2 + 518859*n - 93600)*a(n-1) - 9*(17952*n^5 - 157672*n^4 + 514566*n^3 - 767531*n^2 + 504861*n - 106650)*a(n-2) + 81*(n-3)*(2*n-5)*(816*n^3 - 3124*n^2 + 3287*n - 870)*a(n-3). Conjecture: a(n) ~ 3/2*9^n.
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-a212731.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-a212731.lean
import Mathlib /-! # A212731: Number of 0..2 arrays of length 2*n+1 with sum less than 2*n in any length 2n subsequence (=less than 50% duty cycle). Source: https://oeis.org/A212731 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_a212731 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a212731