Pentagonal Number Theorem — Lemmas #
This file contains the key lemmas for the Pentagonal Number Theorem, following Franklin's involution argument.
Main results #
distinct_parts_disjoint_union: the partition classes α/β/special are disjoint with unionspecial_partition_char: characterization of special partitionsfranklin_involution_bijection: Franklin's involution is a bijectionparity_flip: Franklin's involution flips even/odd paritysigned_partition_main: pe(n) - po(n) = (-1)^k for pentagonal n, 0 otherwise
α-partitions and β-partitions are disjoint.
α-partitions and special partitions are disjoint.
β-partitions and special partitions are disjoint.
Every distinct partition is in exactly one of α, β, or special.
A nonempty special partition of n is exactly the interval Icc b m running from its
base b to its max m. Consequently its slope is the full length m - b + 1 of that interval,
and 2 * n = s * (b + m) by Gauss' summation formula.
The Franklin α-operation maps α-partitions into β-partitions.
The Franklin β-operation maps β-partitions into α-partitions.
The β-operation is a left inverse of the α-operation.
The α-operation is a left inverse of the β-operation.
alphaOp is injective on distinctPartitionsAlpha n, since betaOp is a left inverse.
Franklin's involution gives a bijection: |α(n)| = |β(n)|.
Franklin's involution refined by a condition on the number of parts: α matches the members
of 𝒫_α(n) whose size satisfies p with those of 𝒫_β(n) whose size satisfies q, provided
p (a + 1) and q a always agree (recall |α(S)| + 1 = |S|).
|{S ∈ α(n) : |S| odd}| = |{S ∈ β(n) : |S| even}|.
|{S ∈ α(n) : |S| even}| = |{S ∈ β(n) : |S| odd}|.
Any filtered count of distinctPartitions n splits along the α/β/special decomposition.