Another (unique) algorithm for the A329369
Statement
• Let be A329369 (i.e, number of permutations of with excedance set constructed by taking () if where () is the binary expansion of ). Here
• Let be A007814 (i.e., number of trailing zeros in the binary expansion of ). Here
• Here is the conjectured algorithm to calculate without using binomial coefficients.
• Start with and reserve vectors .
• Then while apply , , , . Also, let be a length of vector .
• After that for from to apply , is a vector of length with elements . Also, if , then is a vector of length with elements . After that, for all we have .
• After that (and staying in the cycle for ) for from to and for from to apply . …
Posed by user231922 · nt.number-theory, co.combinatorics, sequences-and-series, algorithms
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/mo-474166.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. 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/mo-474166.lean
import Mathlib /-! # Another (unique) algorithm for the A329369 Source: https://mathoverflow.net/questions/474166 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_mo_474166 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_474166