designated_partition_a
For natural numbers k and n, the integer value designated_partition_a k n is defined as PowerSeries.coeff n ((Nat.Partition.genFun (fun _ c ↦ (c : ℤ))) ^ k), the n-th coefficient in PowerSeries ℤ of the k-th power of the partition generating function Nat.Partition.genFun with multiplicity weight fun _ c ↦ (c : ℤ).
Statement
noncomputable def designated_partition_a (k : ℕ) (n : ℕ) : ℤ
- Defined in
- arXiv:2611.05623 Definition 2.1 -- Partitions with designated summands: k-tuples and their congruences
- Verified
- 09 Nov 2026
- Axioms
- none listed
Read back from the Lean
designated_partition_a is a definition that takes two natural numbers, $k$ and $n$, and returns an integer. It is defined as the $n$-th coefficient (the coefficient of $X^n$) of the $k$-th power of the partition generating function Nat.Partition.genFun with weight function $(i, c) \mapsto c$ (where the first argument, the part size, is ignored, and the second argument $c$, representing the multiplicity/count, is cast to an integer).
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
/-- The integer coefficient A_k(n) of q^n in F^k for k-tuples of designated partitions. -/ noncomputable def designated_partition_a (k : ℕ) (n : ℕ) : ℤ := PowerSeries.coeff n ((Nat.Partition.genFun (fun _ c ↦ (c : ℤ))) ^ k)