A117414: An Euler triangle.
Statement
Conjecture: row sums are the Euler numbers A000364. Second column is A024255. Third column is A117415. · Here, w = w1,w2,...,w(2n) is an alternating permutation if w1 < w2 > w3 < ... > w(2n-1) < w2n. An alternating permutation is cyclically alternating if w1 < w(2n). Define the cyclically alternating decomposition of w in the following manner: From the set {w2,w4,w6,...,w(2n)} find the largest i such that w(2i) > w1. Then w1,w2,...,w(2i) is the first component in the cyclically alternating decomposition of w. Repeat the process with the set {w(2i+1),w(2i+2),...,w(2n)} to find the successive components. Conjecture: T(n,k) is the number of alternating permutations of [2n] with exactly k cyclically alternating components.
Posed by Geoffrey Critzer · 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-a117414.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-a117414.lean
import Mathlib /-! # A117414: An Euler triangle. Source: https://oeis.org/A117414 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_a117414 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a117414