A085680: Size of largest code of length n and constant weight 2 that can correct a single adjacent transposition.
Statement
From Luis Manuel Rivera, Mar 23 2017: My colleagues and I have obtained the following lower bounds for a(n), n >= 10: a(n) >= (n^2-n+20)/10, for n == 0 or 1 mod 5, a(n) >= (n^2-n+18)/10, for n == 2 or 4 mod 5. a(n) >= (n^2-n+14)/10, for n == 3 mod 5. In all cases, this lower bound coincides with the 50 values that are presently known. We conjecture that these formulas are in fact the exact values for a(n). · It appears that the second differences eventually have period 5: 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, ... However, this is only a conjecture. If true, it would imply the g.f. (1-x+x^2-x^10+x^11)/((1-x)^2*(1-x^5)).
Posed by Rob Pratt · 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-a085680.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-a085680.lean
import Mathlib /-! # A085680: Size of largest code of length n and constant weight 2 that can correct a single adjacent transposition. Source: https://oeis.org/A085680 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_a085680 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a085680