Pentagonal Number Theorem — Definitions #
Core definitions for the formalization of the Euler Pentagonal Number Theorem via Franklin's involution.
Main definitions #
consecutiveTopRun: length of the maximal consecutive run ending atminSdistinctPartitions: partitions ofninto distinct positive partsdistinctPartitionsEven,distinctPartitionsOdd: partitions with an even (resp. odd) number of partspe,po: cardinalities ofdistinctPartitionsEven n,distinctPartitionsOdd npartBase,partMax,partSlope,partSlopeSet: structural invariants of a partitiondistinctPartitionsAlpha,distinctPartitionsBeta,distinctPartitionsSpecial: three-way decomposition ofdistinctPartitions nby Franklin's involutionsmkSet,spkSet: the special pentagonal partitionsS_{−k}andS_kalphaOp,betaOp: Franklin's involution maps ondistinctPartitionsAlphaanddistinctPartitionsBeta
The length of the maximal consecutive run of elements of S ending at m, counted downward.
Equations
Instances For
The set of subsets S ⊆ {1, …, n} with ∑_{s ∈ S} s = n, i.e., partitions of n into
distinct positive parts.
Equations
- PentagonalNumberTheorem.Franklin.distinctPartitions n = {S ∈ (Finset.Icc 1 n).powerset | S.sum id = n}
Instances For
Partitions of n into distinct positive parts with an even number of parts.
Equations
Instances For
Partitions of n into distinct positive parts with an odd number of parts.
Equations
Instances For
Number of partitions of n into an even number of distinct positive parts.
Equations
Instances For
Number of partitions of n into an odd number of distinct positive parts.
Equations
Instances For
The smallest element of a partition, returning 0 for the empty set.
Equations
- PentagonalNumberTheorem.Franklin.partBase S = if h : S.Nonempty then S.min' h else 0
Instances For
The largest element of a partition, returning 0 for the empty set.
Equations
- PentagonalNumberTheorem.Franklin.partMax S = if h : S.Nonempty then S.max' h else 0
Instances For
Partitions of n into distinct parts that are either empty or satisfy
base(S) ∈ slopeSet(S) with base(S) = slope(S) or base(S) = slope(S) + 1.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The pentagonal partition S_{−k} = {k, k+1, …, 2k−1} of (3k²−k)/2.
Equations
- PentagonalNumberTheorem.Franklin.smkSet k = Finset.Icc k (2 * k - 1)
Instances For
The pentagonal partition S_k = {k+1, k+2, …, 2k} of (3k²+k)/2.
Equations
- PentagonalNumberTheorem.Franklin.spkSet k = Finset.Icc (k + 1) (2 * k)