AFTD Auto-Formalizing Theoretical Domains

designated_odd_partition_k_tuple

def

The number B_k(n) of ordered k-tuples of partitions with designated summands in which all parts are odd, of total size n, defined as the n-th coefficient of G^k.

Statement

noncomputable def designated_odd_partition_k_tuple (k n : ℕ) : ℕ
Defined in
arXiv:2611.05623, Definition 2.1
Verified
05 Nov 2026
Axioms
none listed
Built on 1

Read back from the Lean

The declaration defines designated_odd_partition_k_tuple, a function that takes two natural numbers $k$ and $n$, and returns the natural number given by the $n$-th coefficient (PowerSeries.coeff n) of the $k$-th power of the formal power series designated_odd_partition_gen_fun. Here, designated_odd_partition_gen_fun is defined as Nat.Partition.genFun designated_odd_partition_character, where designated_odd_partition_character is the function mapping two natural numbers $i$ and $c$ to $c$ if $i$ is odd, and to $0$ otherwise (if $i$ is even).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- Number of ordered k-tuples of designated odd partitions of size n. -/
noncomputable def designated_odd_partition_k_tuple (k n : ℕ) : ℕ := PowerSeries.coeff n (designated_odd_partition_gen_fun ^ k)
See it in the graphDiscuss this resultChallenge it