Fast and simple 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
• Let be A000120 (i.e., number of ones in the binary expansion of ). Here
• Let be an integer sequence such that we start with and vector of length and for from to consecutively apply , , . After that, we reverse vector and create vector of length with elements . Then we start with and for from to with $B := A …
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-471767.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-471767.lean
import Mathlib /-! # Fast and simple algorithm for the A329369 Source: https://mathoverflow.net/questions/471767 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_471767 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_471767