Alphabeta Math
Session-authored (Fable 5 assisted)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Integer Partitions and the Twelvefold Way

1 · Prerequisites

2 · Summary

This page fixes one partition convention and then uses it in two directions. Ferrers diagrams turn partitions into visible combinatorial objects, while the same occupancy data also supply the unlabelled-to-unlabelled cells of the twelvefold way. Conjugation swaps rows and columns, so "number of parts" and "largest part" become the same count under a diagram transpose.

The generating-function side stays formal rather than analytic. The published Euler product is reused, its direct coefficientwise interpretation is recorded, and the page then derives the distinct-part and odd-part products, Euler's identity, the self-conjugate/odd-hook bijection, the Durfee-square decomposition, Franklin's sign-reversing involution for the pentagonal number theorem, and the resulting recurrence for p(n).

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-28Open item page →

Conventions for integer partitions, Ferrers diagrams, and the twelvefold-way table

Definition

Throughout this page, n counts balls or domain elements and k counts boxes or codomain values.

When partitions are displayed on this page, they are written in nonincreasing order

λ1λ2λr>0,

even though Partitions of a positive integer stores the same data as a nondecreasing list.

A composition of n into k parts means an ordered k-tuple of positive integers summing to n, while a weak composition allows zero parts. Thus Compositions of n into k positive parts are counted by (n1k1) counts positive occupancies and For m1 the number of weak compositions of n into m parts is (n+m1m1), and the number of compositions is (n1m1) for n1 counts arbitrary occupancies.

For placements of indistinguishable balls into boxes:

  • if the boxes are labelled, the data are the occupancy vector (a1,,ak);
  • if the boxes are unlabelled, the data are the same occupancies reordered into nonincreasing order, with zero occupancies omitted.

Hence an unlabelled-to-unlabelled placement is encoded by a partition whose parts are the nonzero occupancies. Ferrers diagrams are read in English convention, with the longest row on top and rows left-justified.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Ferrers and Young diagrams, conjugate partitions, self-conjugacy, and the Durfee square

Definition

Let λ be a partition written in the page convention of Conventions for integer partitions, Ferrers diagrams, and the twelvefold-way table. For a nonempty partition, write

λ=(λ1,,λr),λ1λr>0.

Also adjoin the empty partition

part:=()

of 0.

The Ferrers diagram (or Young diagram) of a nonempty partition λ is the set of cells

{(i,j):1ir, 1jλi},

drawn as left-justified rows, with row i containing λi cells.

The Ferrers diagram of part is the empty set of cells.

The conjugate partition of a nonempty partition λ is obtained by transposing this diagram: for 1jλ1, its j-th part is the number of rows of λ of length at least j. Equivalently,

λj={i:λij}(1jλ1).

The conjugate of part is again part.

The partition is self-conjugate when λ=λ.

The Durfee length of part is 0. For a nonempty partition λ, the Durfee length d(λ) is the largest integer d1 such that λdd. The Durfee square is the d(λ)×d(λ) square of cells in the upper-left corner of the Ferrers diagram, and for part it is the empty 0×0 square.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The functions p(n), p_k(n), and the standard restricted partition families

Definition

For integers n and k, define:

  • for n>0, a partition of n is one from Partitions of a positive integer, while for n=0 there is exactly one partition, the empty partition part:=();
  • p(n) is the number of partitions of n when n0, with p(0)=1, and p(n)=0 for n<0;
  • pk(n) is the number of partitions of n into exactly k positive parts when n0 and k0, and pk(n)=0 if n<0 or k<0.

Thus p0(0)=1, while p0(n)=0 for n0.

For the empty partition, the number of parts is 0 and the largest part is defined to be 0. The empty partition is regarded as having both distinct parts and odd parts.

For a nonempty partition λ=(λ1,,λr) of n:

  • λ has at most k parts when rk;
  • λ has largest part k when λ1=k;
  • λ has parts at most k when λ1k;
  • λ has distinct parts when λ1>λ2>>λr;
  • λ has odd parts when every λi is odd.

Write pdist(n) for the number of partitions of n into distinct parts and podd(n) for the number of partitions of n into odd parts.

LemmaStatement: Literature-sourcedProof: Literature-sourcedaudited 2026-08-28Open item page →

Conjugating a partition twice returns the original partition

Statement

For every partition λ, one has

(λ)=λ.

Facts & Assumptions

Given: a partition λ and its Ferrers diagram.

[F1]

The part λj is the number of rows of λ of length at least j (Ferrers and Young diagrams, conjugate partitions, self-conjugacy, and the Durfee square).

Proof

technique · direct
1.1

A cell (i,j) belongs to the Ferrers diagram of λ exactly when the i-th row has length at least j, and by [F1] this is equivalent to the j-th row of λ having length at least i. Therefore the cells of λ are exactly the transpose (j,i) of the cells of λ.

F1
2.1

Transposing the same finite set of cells a second time sends (j,i) back to (i,j), so the twice-conjugated diagram is the original diagram. Hence its row lengths are again λ, that is, (λ)=λ.

step 1.1
TheoremStatement: Literature-sourcedProof: Literature-sourcedaudited 2026-08-28Open item page →

Partitions with k parts are equinumerous with partitions whose largest part is k

Statement

For every n0 and k0, conjugation is a bijection between:

  • partitions of n with exactly k parts, and
  • partitions of n whose largest part is k.

In particular, these two sets have the same cardinality.

Facts & Assumptions

Given: integers n0 and k0.

[F1]

In a Ferrers diagram, the number of rows is the number of parts and the number of cells in the top row is the largest part (Ferrers and Young diagrams, conjugate partitions, self-conjugacy, and the Durfee square, The functions p(n), p_k(n), and the standard restricted partition families).

[L1]

Partition conjugation is an involution (Conjugating a partition twice returns the original partition).

Proof

technique · bijection
1.1

If k=0 and n>0, then there is no partition of n with exactly 0 parts and no partition of n whose largest part is 0, so both displayed sets are empty. If k=0 and n=0, then both displayed sets consist only of the empty partition; by the partition convention recalled in [F1], its largest part is 0. Thus the claim holds when k=0. Assume now k1. Let λ be a partition of n with exactly k parts. Then its Ferrers diagram has exactly k rows by [F1]. After transposition, the conjugate diagram has top row length k, because the first column of the original diagram had one cell in each of the k rows. Thus λ has largest part k. The same argument in reverse shows that any partition with largest part k conjugates to one with exactly k parts.

F1
2.1

Step 1.1 shows that conjugation maps each of the two displayed sets into the other, and [L1] shows that this map has its own inverse. Therefore it is a bijection between them, so the two sets have equal cardinality.

step 1.1L1
CorollaryStatement: Literature-sourcedProof: Literature-sourcedaudited 2026-08-28Open item page →

Partitions with at most k parts are equinumerous with partitions whose parts are all at most k

Statement

For every n0 and k0, the number of partitions of n with at most k parts equals the number of partitions of n whose parts are all at most k.

Facts & Assumptions

Given: integers n0 and k0.

[F1]

A partition has all parts at most k exactly when its largest part is at most k (The functions p(n), p_k(n), and the standard restricted partition families).

[L1]

For each j0, partitions with exactly j parts are equinumerous with partitions whose largest part is j (Partitions with k parts are equinumerous with partitions whose largest part is k).

Proof

technique · bijection
1.1

Let λ be a partition of n with at most k parts. If λ has exactly j parts, then jk, and [L1] sends λ by conjugation to a partition whose largest part is j. By [F1], every part of the conjugate is therefore at most k. The same reasoning in reverse sends any partition all of whose parts are at most k to one with at most k parts.

F1L1
2.1

Thus conjugation restricts to a bijection between the two displayed sets, so they have equal cardinality.

step 1.1
TheoremStatement: Literature-sourcedProof: Literature-sourcedjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Exact-k partition recurrence

Statement

For every integer n and every integer k1,

pk(n)=pk1(n1)+pk(nk).

Facts & Assumptions

Given: an integer n and an integer k1.

[F1]

The quantity pk(n) counts partitions of n into exactly k positive parts, and it is defined to be 0 when n<0 or k<0 (The functions p(n), p_k(n), and the standard restricted partition families).

Proof

technique · decomposition
1.1

A partition of n into exactly k positive parts either contains a part equal to 1 or has every part at least 2. These two cases are disjoint and exhaustive.

F1
2.1

In the first case, delete one part equal to 1. The remaining parts still form a partition, now of n1, and they are exactly k1 positive parts. Conversely, adjoining one part equal to 1 to any partition of n1 into k1 positive parts gives a partition of n into k positive parts containing a 1. So the first case contributes pk1(n1).

step 1.1F1construct
2.2

In the second case, subtract 1 from each of the k parts. Because each part was at least 2, the result is a partition of nk into exactly k positive parts. Conversely, adding 1 to each part of any partition of nk into k positive parts recovers a partition of n into k parts all at least 2. So the second case contributes pk(nk). If nk<0, then [F1] makes this contribution 0, exactly as it should.

step 1.1F1construct
3.1

The two disjoint cases of steps 2.1 and 2.2 cover every partition counted by pk(n), so their cardinalities add to pk(n). This is the stated recurrence.

step 2.1step 2.2
RemarkRemark: AI-adaptedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The direct multiplicity product and the published multiset proof give the same Euler product

Remarks

The published item Integer partitions have generating function n1(1xn)1 proves

n0p(n)xn=m1(1xm)1

by treating a partition as a multiset of one abstract atom of each positive size and then invoking If A has no size-zero objects then MSET(A) has generating function n1(1xn)an.

The same identity also has a direct coefficientwise reading. A partition is equally a multiplicity sequence (c1,c2,) with only finitely many nonzero entries in each fixed total degree, and the coefficient of xn in

m1(1+xm+x2m+)

depends only on the finitely many multiplicity choices satisfying m1mcm=n. The summability hypothesis of Summable formal families may be regrouped and rearranged, distribute over multiplication, and have well-defined locally finite products is exactly what legitimizes turning that degreewise finite counting argument into a formal infinite product. So the "direct" product and the published multiset product are not two different series: they encode the same multiplicity data in two equivalent ways.

CorollaryStatement: Literature-sourcedProof: Literature-sourcedjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Distinct-part product generating function

Statement

In Zx,

n0pdist(n)xn=m1(1+xm).

Facts & Assumptions

Given: one abstract object um of size m for each integer m1.

[F1]

The empty partition has distinct parts, and a nonempty partition into distinct parts chooses each positive part size at most once (The functions p(n), p_k(n), and the standard restricted partition families).

[L1]

If a combinatorial class has one object of each positive size m in a permitted layer, then its powerset construction contributes the factor (1+xm) at size m (If A has no size-zero objects then PSET(A) has generating function n1(1+xn)an).

Proof

technique · direct
1.1

By [F1], a partition into distinct parts is exactly a subset of the set {u1,u2,}: include um when the part m occurs, and omit it otherwise. The total size of the chosen subset is the sum of the selected part sizes.

F1construct
2.1

Applying [L1] to the class with one object um in each positive size m gives one factor (1+xm) for every m1. Step 1.1 identifies the resulting powerset objects with distinct-part partitions, so their generating function is m1(1+xm).

step 1.1L1
CorollaryStatement: Literature-sourcedProof: Literature-sourcedjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Odd-part product generating function

Statement

In Zx,

n0podd(n)xn=m1(1x2m1)1.

Facts & Assumptions

Given: one abstract object vm of size 2m1 for each integer m1.

[F1]

The empty partition has odd parts, and a nonempty partition into odd parts may use each odd part size with arbitrary multiplicity and uses no even part size (The functions p(n), p_k(n), and the standard restricted partition families).

[L1]

If a combinatorial class has one object in each permitted positive size, its multiset construction contributes the geometric factor (1xd)1 for each allowed size d (If A has no size-zero objects then MSET(A) has generating function n1(1xn)an).

Proof

technique · direct
1.1

By [F1], a partition into odd parts is exactly a multiset of the objects v1,v2,: the multiplicity of vm records how often the odd part 2m1 occurs. The total size of the multiset is the sum of the odd parts.

F1construct
2.1

Applying [L1] to the class {v1,v2,} gives the product m1(1x2m1)1. Step 1.1 identifies its multiset objects with partitions into odd parts, so this is the generating function for podd(n).

step 1.1L1
TheoremStatement: Literature-sourcedProof: Literature-sourcedjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Euler's theorem by generating functions

Statement

For every integer n0,

pdist(n)=podd(n).

Facts & Assumptions

Given: the two formal power series for distinct-part and odd-part partitions.

[L1]

Distinct-part partitions have generating function n0pdist(n)xn=m1(1+xm) (Distinct-part product generating function).

[L2]

Odd-part partitions have generating function n0podd(n)xn=m1(1x2m1)1 (Odd-part product generating function).

Proof

technique · coefficient comparison
1.1

Fix N1. Using 1+xm=(1x2m)(1xm)1 for 1mN and canceling only the even factors that already appear in the denominator gives m=1N(1+xm)=(m=N/2+1N(1x2m))/(1jNj odd(1xj)). Every uncancelled numerator factor has degree >N, so the left-hand side and 1/1jN, j odd(1xj) have the same coefficients through degree N.

algebra
2.1

Fix n0 and choose N>n. By step 1.1, the coefficient of xn in m=1N(1+xm) equals the coefficient of xn in 1/1jN, j odd(1xj). Factors with index >N have degree >n in both products, so this is also the common coefficient of xn in the two infinite products m1(1+xm) and m1(1x2m1)1.

step 1.1
3.1

Substitute the two product expansions from [L1] and [L2] into step 2.1. The resulting formal series are equal, so [L3] gives equality of every coefficient. Hence pdist(n)=podd(n) for all n0.

step 2.1L1L2L3
TheoremStatement: Literature-sourcedProof: Literature-sourcedjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Glaisher's bijection between odd-part and distinct-part partitions

Statement

For every integer n0, there is a bijection between partitions of n into odd parts and partitions of n into distinct parts.

Facts & Assumptions

Given: an integer n0.

[F1]

Partitions into odd parts and partitions into distinct parts are the two families counted by podd(n) and pdist(n) (The functions p(n), p_k(n), and the standard restricted partition families).

Proof

technique · bijection
1.1

Let λ be a partition of n into odd parts. For each odd integer m, let cm be its multiplicity in λ, and write the binary expansion

cm=j0εm,j2j,εm,j{0,1}.

Define G(λ) to contain the part 2jm once for every pair (m,j) with εm,j=1. Since

j0εm,j2jm=mcm,

the parts with odd core m have the same total mcm before and after the replacement. Summing over the odd cores shows that the total sum of the parts of G(λ) is still n. [F1, construct, algebra]

1.2

Conversely, let μ be a partition of n into distinct parts. Write each part uniquely as 2ju with u odd, and replace it by 2j copies of the odd part u. The resulting partition H(μ) has only odd parts and still sums to n.

F1construct
2.1

The parts of G(λ) are distinct. Indeed, every positive integer has a unique expression 2ju with u odd, so two equal parts in G(λ) would come from the same odd core u and the same power 2j, hence from the same binary digit.

step 1.1
3.1

The two constructions are inverse. Starting from λ, step 1.2 reconstructs from each part 2jm of G(λ) exactly the 2j copies of m encoded by the corresponding binary digit, so H(G(λ))=λ. Starting from μ, step 1.1 groups together all parts with the same odd core and reassembles exactly the original powers of two, so G(H(μ))=μ. Therefore G is a bijection.

step 1.1step 2.1step 1.2
RemarkRemark: AI-adaptedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The generating-function proof and Glaisher's bijection prove the same Euler theorem

Remarks

Euler's theorem by generating functions proves Euler's theorem by identifying two formal products and then comparing coefficients. Glaisher's bijection between odd-part and distinct-part partitions proves the same equality by explicitly transporting one partition family to the other.

The two routes therefore agree in the strongest possible sense: one gives coefficientwise equality of generating series, the other gives an actual bijection on each size-n layer. The page keeps both because they use different ideas, not because they assert different numerical claims.

TheoremStatement: Literature-sourcedProof: Literature-sourcedjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Self-conjugate partitions correspond to distinct odd-part partitions

Statement

For every integer n0, there is a bijection between self-conjugate partitions of n and partitions of n into distinct odd parts.

Facts & Assumptions

Given: an integer n0.

[F1]

A partition is self-conjugate when its Ferrers diagram is fixed by transpose, and its Durfee length is the number of diagonal cells of that diagram (Ferrers and Young diagrams, conjugate partitions, self-conjugacy, and the Durfee square).

Proof

technique · bijection
1.1

Let λ be a self-conjugate partition, and let d=d(λ). For each diagonal cell (i,i) with 1id, let hi be the length of its hook: the cell itself together with the cells directly to its right in row i and directly below it in column i. Self-conjugacy pairs the cells to the right with the cells below, so each hi is odd. As i increases, each later diagonal hook lies strictly inside the previous one, so h1>h2>>hd. The diagonal hooks are disjoint and cover the whole diagram, hence h1++hd=λ=n. Thus λ determines a partition of n into distinct odd parts.

F1construct
1.2

Conversely, let h1>h2>>hd>0 be distinct odd parts summing to n, and write hi=2ai+1. Then a1>>ad0, and since these are d distinct nonnegative integers one has aidi for each i. Build a diagram by placing diagonal cells (i,i) for 1id, then adjoining ai cells to the right of (i,i) and ai cells below (i,i). The inequalities aidi and a1>>ad make these hooks nest to form a Ferrers diagram, and the construction is visibly symmetric across the main diagonal, so the resulting partition is self-conjugate.

construct
2.1

The diagonal hooks of the partition from step 1.2 have lengths h1,,hd by construction, so step 1.2 inverts step 1.1. Therefore the two constructions are mutually inverse bijections.

step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: Literature-sourcedaudited 2026-08-28Open item page →

Durfee-square decomposition of the partition series

Statement

In Zx,

n0p(n)xn=k0xk2i=1k(1xi)2,

where the empty product at k=0 is 1.

Facts & Assumptions

Given: partitions written by Ferrers diagrams.

[L2]

Partitions with at most k parts are equinumerous with partitions whose parts are all at most k (Partitions with at most k parts are equinumerous with partitions whose parts are all at most k).

Proof

technique · decomposition
1.1

Let λ be a partition with Durfee length k. Removing its k×k Durfee square leaves two pieces: a right-hand piece α consisting of the cells to the right of the square, and a lower piece β consisting of the cells below the square. The piece α has at most k rows, while each row of β has length at most k. Conversely, given k, a partition α with at most k parts, and a partition β with all parts at most k, one reconstructs λ uniquely by adjoining α to the right side and β below the square.

construct
2.1

For fixed k, the square contributes the factor xk2. By [L2], the right-hand piece α has the same generating function as partitions with parts at most k, namely i=1k(1xi)1; the lower piece β has the same generating function for the same direct multiplicity reason. Thus partitions whose Durfee square has size k contribute xk2/i=1k(1xi)2.

step 1.1L2
3.1

Every partition has exactly one Durfee length, so summing the contributions of step 2.1 over all k0 counts every partition exactly once. Therefore the coefficient of xn on the right is p(n) for every n0, and [L1] gives the displayed identity.

step 2.1L1
TheoremStatement: Literature-sourcedProof: Literature-sourcedaudited 2026-08-28Open item page →

The unlabelled-to-unlabelled cells of the twelvefold way

Statement

Fix positive integers n and k. For placements of n indistinguishable balls into k indistinguishable boxes:

  1. the arbitrary placements are counted by the partitions of n with at most k parts, equivalently by the partitions of n whose parts are all at most k;
  2. the injective placements are counted by 1 when nk and by 0 when n>k;
  3. the surjective placements are counted by pk(n).

Facts & Assumptions

Given: positive integers n and k.

[L1]

Under the page conventions, an unlabelled-to-unlabelled placement is encoded by its nonzero occupancies written in nonincreasing order (Conventions for integer partitions, Ferrers diagrams, and the twelvefold-way table).

[L2]

Partitions with at most k parts are equinumerous with partitions whose parts are all at most k (Partitions with at most k parts are equinumerous with partitions whose parts are all at most k).

Proof

technique · classification
1.1

By [L1], an arbitrary placement is determined by the list of its positive occupancies, written in nonincreasing order. These occupancies sum to n, so they form a partition of n; because there are only k boxes, there can be at most k positive occupancies. Conversely, any partition of n with at most k parts becomes such a placement by reading its parts as the nonzero box occupancies. This proves clause 1 in its "at most k parts" form.

L1construct
2.1

A placement is surjective exactly when every box is occupied, so there are exactly k positive occupancies. By step 1.1 these are exactly the partitions of n into k positive parts, which are counted by pk(n). This is clause 3.

step 1.1
2.2

A placement is injective exactly when every occupied box contains one ball. Therefore the positive occupancy list must be (1,,1) with n entries. Such a list exists exactly when nk, and when it exists it is unique. This proves clause 2.

step 1.1
3.1

The second description in clause 1 follows from [L2].

step 1.1L2
TheoremStatement: Literature-sourcedProof: Literature-sourcedaudited 2026-08-28Open item page →

The twelvefold way

Statement

Fix positive integers n and k. Then the twelve standard ball-box counts are:

  1. labelled balls to labelled boxes, arbitrary: kn;
  2. labelled balls to labelled boxes, injective: kn;
  3. labelled balls to labelled boxes, surjective: k!S(n,k);
  4. unlabelled balls to labelled boxes, arbitrary: (n+k1k1);
  5. unlabelled balls to labelled boxes, injective: (kn);
  6. unlabelled balls to labelled boxes, surjective: (n1k1);
  7. labelled balls to unlabelled boxes, arbitrary: j=1min(n,k)S(n,j);
  8. labelled balls to unlabelled boxes, injective: 1 if nk, otherwise 0;
  9. labelled balls to unlabelled boxes, surjective: S(n,k);
  10. unlabelled balls to unlabelled boxes, arbitrary: the number of partitions of n with at most k parts;
  11. unlabelled balls to unlabelled boxes, injective: 1 if nk, otherwise 0;
  12. unlabelled balls to unlabelled boxes, surjective: pk(n).

Facts & Assumptions

Given: positive integers n and k, interpreted by the conventions of Conventions for integer partitions, Ferrers diagrams, and the twelvefold-way table.

[L1]

The set of functions from an n-element set to a k-element set has cardinality kn (The set AB of functions BA between finite sets is finite, with AB=AB).

[L2]

The injections from an n-element set to a k-element set are counted by kn (The number of injections from a k-element set into an n-element set is nk).

[L3]

The Stirling number S(n,j) counts partitions of an n-element set into exactly j nonempty blocks (The Stirling numbers of the second kind and the Bell numbers).

[L4]

Weak compositions of n into k parts are counted by (n+k1k1), and compositions of n into k positive parts are counted by (n1k1) (For m1 the number of weak compositions of n into m parts is (n+m1m1), and the number of compositions is (n1m1) for n1, Compositions of n into k positive parts are counted by (n1k1)).

[L5]

The three unlabelled-to-unlabelled cells are the counts proved in The unlabelled-to-unlabelled cells of the twelvefold way.

Proof

technique · classification
1.1

For labelled balls and labelled boxes, clause 1 is [L1] and clause 2 is [L2]. For clause 3, a surjection f:[n][k] has k nonempty fibres, which form a partition of [n] into exactly k blocks; conversely, labelling the k blocks of any such partition by the elements of [k] recovers a surjection. By [L3], there are therefore k!S(n,k) surjections.

L1L2L3
1.2

For unlabelled balls and labelled boxes, the data are occupancy vectors (a1,,ak). Arbitrary placements are weak compositions, so clause 4 is [L4]. Surjective placements are positive compositions, so clause 6 is [L4]. Injective placements are exactly the 0-1 occupancy vectors with total n, so one chooses which n of the k labelled boxes are occupied; this gives clause 5, namely (kn).

L4construct
1.3

For labelled balls and unlabelled boxes, one remembers only the fibres and forgets their labels. Thus a surjective placement is exactly a partition of [n] into k nonempty blocks, giving clause 9 as S(n,k) by [L3]. An arbitrary placement uses some number j of nonempty boxes with 1jmin(n,k), so clause 7 is the sum of the counts S(n,j) over those j. For injective placements every fibre is a singleton, hence there is one orbit when nk and none when n>k, proving clause 8.

L3
2.1

Clauses 10, 11, and 12 are exactly the three conclusions of [L5].

L5
TheoremStatement: Literature-sourcedProof: Literature-sourcedaudited 2026-08-28Open item page →

Euler's pentagonal number theorem by Franklin's involution

Statement

In Zx,

m1(1xm)=rZ(1)rxr(3r1)/2.

Equivalently,

m1(1xm)=1+r1(1)r(xr(3r1)/2+xr(3r+1)/2).

Facts & Assumptions

Given: for each n0, let qe(n) and qo(n) denote the numbers of partitions of n into an even, respectively odd, number of distinct parts.

[F1]

A partition into distinct parts is a finite strictly decreasing list of positive integers; qe(n) and qo(n) count the even-length and odd-length such partitions of n (The functions p(n), p_k(n), and the standard restricted partition families).

[F2]

Expanding m1(1xm) chooses each part size m either not at all or once, with sign 1 when it is chosen, so the coefficient of xn is qe(n)qo(n).

Proof

technique · sign-reversing involution
1.1

Let λ=(λ1>>λ) be a nonempty partition into distinct parts. Write s=λ for its smallest part, and let t be the largest index such that λi=λ1i+1 for every 1it. Thus the first t rows form the maximal upper-right staircase. If st and λ(2s1,2s2,,s), define α(λ) by deleting the last part s and adding 1 to each of the first s parts. If s>t and λ(2t,2t1,,t+1), define β(λ) by subtracting 1 from each of the first t parts and adjoining a new last part t.

F1construct
2.1

In the first case of step 1.1, the partition α(λ) is still distinct: the first s parts remain strictly decreasing, the last changed part satisfies λs+1>λs+1 because those rows were consecutive, and deleting the old last part decreases the number of parts by 1. The first s parts of α(λ) are consecutive and its smallest part is larger than s, so α(λ) falls under the second construction with parameter t=s, and β(α(λ))=λ.

step 1.1algebra
2.2

In the second case of step 1.1, the partition β(λ) is still distinct: maximality of t gives λt1>λt+1, while the new last part t is smaller than the previous smallest part because s>t. The first t parts of β(λ) are consecutive and its smallest part is exactly t, so β(λ) falls under the first construction with parameter s=t, and α(β(λ))=λ. Thus steps 2.1 and 2.2 define a sign-reversing involution on all nonexceptional nonempty distinct partitions.

step 1.1algebra
2.3

The empty partition contributes the constant term 1. The only nonempty distinct partitions excluded from step 1.1 are the two staircase families (2k1,2k2,,k) and (2k,2k1,,k+1). Their sizes are k+(k+1)++(2k1)=k(3k1)/2 and (k+1)+(k+2)++2k=k(3k+1)/2, and each has exactly k parts, so each contributes the sign (1)k.

step 1.1algebra
3.1

By step 2.2, all nonexceptional nonempty distinct partitions cancel in opposite-parity pairs. Step 2.3 leaves only the empty partition and the two exceptional staircase families, so [F2] gives m1(1xm)=1+k1(1)k(xk(3k1)/2+xk(3k+1)/2), equivalently the two-sided sum over rZ.

F2step 2.2step 2.3
CorollaryStatement: Literature-sourcedProof: Literature-sourcedjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Euler's pentagonal recurrence for partition numbers

Statement

Let p(n)=0 for n<0 and p(0)=1. Then for every integer n>0,

p(n)=p(n1)+p(n2)p(n5)p(n7)+p(n12)+p(n15),

where the offsets are the generalized pentagonal numbers r(3r1)/2 and the sum stops once the offset exceeds n.

Equivalently, for every integer n,

rZ(1)rp ⁣(nr(3r1)2)=0

when n>0, while the same sum is 1 at n=0.

Facts & Assumptions

Given: the partition series P(x)=n0p(n)xn.

[L1]

The partition generating function is P(x)=m1(1xm)1 (Integer partitions have generating function n1(1xn)1).

[L2]

Euler's pentagonal theorem gives m1(1xm)=rZ(1)rxr(3r1)/2 (Euler's pentagonal number theorem by Franklin's involution).

[L3]

Proof

technique · coefficient comparison
1.1

Multiply the identities of [L1] and [L2]. The two products are reciprocals, so P(x)rZ(1)rxr(3r1)/2=1.

L1L2algebra
2.1

By [L3], the coefficient of xn on the left side of step 1.1 is rZ(1)rp ⁣(nr(3r1)2), with the convention p(m)=0 for m<0. The coefficient on the right side is 0 when n>0 and 1 when n=0. This proves the equivalent formulation.

step 1.1L3
3.1

For n>0, isolate the r=0 term in step 2.1. The remaining nonzero terms occur in the pairs r=±1,±2,, whose offsets are 1,2,5,7,12,15,. Moving them to the other side yields the displayed recurrence for p(n).

step 2.1algebra

5 · Examples, counterexamples and false statements

False statementConstruction: AI-adaptedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

FALSE: pk(n) is counted by (n1k1)

Statement

False claim: for all positive integers n and k,

pk(n)=(n1k1).

Facts & Assumptions

Given: the case n=5 and k=3.

[L1]

The recurrence pk(n)=pk1(n1)+pk(nk) holds for k1 (Exact-k partition recurrence).

[L2]

Compositions of n into k positive parts are counted by (n1k1) (Compositions of n into k positive parts are counted by (n1k1)).

Refutation

technique · direct
1.1

Using [L1], one gets p3(5)=p2(4)+p3(2)=2+0=2, corresponding to the two partitions 3+1+1 and 2+2+1.

L1algebra
1.2

By [L2], one has (5131)=(42)=6.

L2algebra
2.1

Steps 1.1 and 1.2 give p3(5)=26=(42), so the displayed claim is false. The binomial coefficient counts ordered compositions, not unordered partitions.

step 1.1step 1.2
False statementConstruction: AI-adaptedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

FALSE: conjugation itself is the distinct-parts to odd-parts bijection

Statement

False claim: conjugation sends every partition with distinct parts to a partition into odd parts.

Facts & Assumptions

Given: the distinct-part partition λ=(4,2,1).

[L1]

Conjugation is the transpose of the Ferrers diagram (Conjugating a partition twice returns the original partition).

[L2]

The true bijection between odd-part and distinct-part partitions is Glaisher's map (Glaisher's bijection between odd-part and distinct-part partitions).

Refutation

technique · direct
1.1

The Ferrers diagram of (4,2,1) has column lengths 3,2,1,1, so [L1] gives (4,2,1)=(3,2,1,1).

givenL1
2.1

The conjugate partition (3,2,1,1) has an even part, namely 2, so it is not a partition into odd parts.

step 1.1
3.1

Therefore conjugation does not send every distinct-part partition to an odd-part partition, and the displayed claim is false. By [L2], the correct bijection is a different map.

step 2.1L2

Sources