A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Integer Partitions and Partition Functions

Graduate Depth 83 in the knowledge graph I know this Set as goal
448prerequisites beneath it
See this on the map →
Exponential Generating Functions and Labeled StructuresIntroduction to Generating Functions
combinatorics partitions

Core Idea

An integer partition of n is a non-increasing sequence of positive integers summing to n; p(n) counts these. The generating function is ∏(1/(1-xk)), revealing structure: partitions by largest part relate to conjugates via Ferrers diagrams, and p(n) has modular properties including Ramanujan congruences. Partitions connect combinatorics, number theory, and representation theory.

Explainer

An integer partition of n is a way of writing n as a sum of positive integers where order does not matter. The partitions of 4, for example, are: 4, 3+1, 2+2, 2+1+1, 1+1+1+1 — five ways in total, so p(4) = 5. The convention of writing parts in non-increasing order (largest first) makes each partition unique. The partition function p(n) counts the number of such decompositions; it grows rapidly — p(10) = 42, p(50) = 204226, p(100) = 190569292 — and understanding its structure is a major theme in combinatorics and number theory.

The Ferrers diagram is the key visual tool. Represent a partition as a grid of dots: the first row has as many dots as the largest part, the second row as many as the second part, and so on. The partition 4+3+1 of 8 becomes three rows of lengths 4, 3, 1. Now rotate the diagram 90 degrees — read off the column lengths instead of the row lengths. This gives a new partition called the conjugate: the conjugate of 4+3+1 is 3+2+2+1 (column heights left to right). The Ferrers diagram makes this transformation concrete and bijective, proving immediately that the number of partitions of n with largest part k equals the number of partitions of n with exactly k parts.

Your prerequisite on generating functions unlocks the most powerful tool. Each factor 1/(1-xᵏ) = 1 + xᵏ + x²ᵏ + x³ᵏ + … encodes the choice of how many times part k appears. Multiplying infinitely many such factors together — one for each k = 1, 2, 3, … — the coefficient of xⁿ in the product ∏ₖ 1/(1-xᵏ) is exactly p(n). This is one of the most beautiful generating function identities: it converts a counting problem about additive decompositions into a product formula. Truncating the product gives a practical computation tool, and analyzing it algebraically reveals partition identities — the most famous being Euler's theorem that the number of partitions into odd parts equals the number of partitions into distinct parts.

The Ramanujan congruences are one of the most surprising results in all of mathematics: p(5k+4) ≡ 0 (mod 5), p(7k+5) ≡ 0 (mod 7), and p(11k+6) ≡ 0 (mod 11) for all k ≥ 0. That the partition function — a purely combinatorial quantity — should have such clean divisibility behavior by primes 5, 7, and 11 is completely non-obvious and was not proved in full generality until decades after Ramanujan conjectured it. Partitions connect directly to representation theory (partitions label irreducible representations of symmetric groups), to physics (partitions appear in the entropy of black holes and string theory), and forward to topics like Pólya enumeration, where counting under symmetry generalizes the ideas here.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesSet Operations: Union, Intersection, and ComplementProof by CasesProving by Cases and ExhaustionVacuous Truth and Trivial CasesProof by Cases (Proof by Exhaustion)Mathematical InductionThe Pigeonhole PrinciplePigeonhole Principle and Its ApplicationsCounting Fundamentals and the Multiplication PrinciplePermutations and ArrangementsCombinations and SelectionsBinomial Theorem and Binomial CoefficientsIntroduction to Generating FunctionsGenerating Functions: Advanced Techniques and Asymptotic AnalysisExponential Generating Functions and Labeled StructuresInteger Partitions and Partition Functions

Longest path: 84 steps · 448 total prerequisite topics

Prerequisites (2)

Leads To (0)

No topics depend on this one yet.