designated_odd_partition_weight
def
The character weighting odd parts with their multiplicity and even parts with zero in partitions with designated summands.
Statement
def designated_odd_partition_weight (i c : ℕ) : ℕ- Defined in
- arXiv:2611.05623, Section 2
- Verified
- 06 Nov 2026
- Axioms
- none listed
- Used by 1
- designated_odd_part_gen_funThe generating function in PowerSeries ℕ for partitions with designated summands in which all parts are odd, equal to Nat.Partition.genFun…
Read back from the Lean
designated_odd_partition_weight is a function taking two natural numbers i and c, defined to be c if i % 2 = 1 (that is, if i is odd) and 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
/-- The weight assigned to part i occurring c times for designated partitions with all parts odd. -/ def designated_odd_partition_weight (i c : ℕ) : ℕ := if i % 2 = 1 then c else 0