A224292: Number of permutations of length n avoiding 1234 and containing exactly 1 occurrence of 1243.
Statement
Conjecture: D-finite with recurrence 3*(n+2)*(n-4)*a(n) -(17*n^2-58*n+75)*a(n-1) -3*(n^2-8*n+18)*a(n-2) +(n-3)*(n-5)*a(n-3) = 0. · Conjecture: For n >= 3, (n-4)*(n+2)*(14*n - 37)*a(n) = 6*(14*n^3 - 86*n^2 + 185*n - 140)*a(n-1) - (n-4)*(n-2)*(14*n - 23)*a(n-2). · Conjecture: G.f.: (1 - 10*x + 29*x^2 - 24*x^3 + 4*x^4 - (1 - 7*x + 12*x^2 - 4*x^3) * sqrt(1 - 6*x + x^2)) / (8*x^2).
Posed by Pedro Ferreira Pereira, Vaclav Kotesovec · 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-a224292.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-a224292.lean
import Mathlib /-! # A224292: Number of permutations of length n avoiding 1234 and containing exactly 1 occurrence of 1243. Source: https://oeis.org/A224292 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_a224292 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a224292