
In
number theory
Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
and
combinatorics
Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ...
, a partition of a non-negative
integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
, also called an integer partition, is a way of writing as a
sum of
positive integers
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positiv ...
. Two sums that differ only in the order of their
summand
Addition (usually signified by the plus symbol, +) is one of the four basic operations of arithmetic, the other three being subtraction, multiplication, and division. The addition of two whole numbers results in the total or '' sum'' of th ...
s are considered the same partition. (If order matters, the sum becomes a
composition
Composition or Compositions may refer to:
Arts and literature
*Composition (dance), practice and teaching of choreography
* Composition (language), in literature and rhetoric, producing a work in spoken tradition and written discourse, to include ...
.) For example, can be partitioned in five distinct ways:
:
:
:
:
:
The only partition of zero is the empty sum, having no parts.
The order-dependent composition is the same partition as , and the two distinct compositions and represent the same partition as .
An individual summand in a partition is called a part. The number of partitions of is given by the
partition function . So . The notation means that is a partition of .
Partitions can be graphically visualized with
Young diagram
In mathematics, a Young tableau (; plural: tableaux) is a combinatorial object useful in representation theory and Schubert calculus. It provides a convenient way to describe the group representations of the symmetric and general linear groups a ...
s or
Ferrers diagram
In number theory and combinatorics, a partition of a non-negative integer , also called an integer partition, is a way of writing as a sum of positive integers. Two sums that differ only in the order of their summands are considered the same ...
s. They occur in a number of branches of
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
and
physics
Physics is the scientific study of matter, its Elementary particle, fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge whi ...
, including the study of
symmetric polynomial
In mathematics, a symmetric polynomial is a polynomial in variables, such that if any of the variables are interchanged, one obtains the same polynomial. Formally, is a ''symmetric polynomial'' if for any permutation of the subscripts one has ...
s and of the
symmetric group
In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
and in
group representation theory
In the mathematical field of representation theory, group representations describe abstract groups in terms of bijective linear transformations of a vector space to itself (i.e. vector space automorphisms); in particular, they can be used to r ...
in general.
Examples
The seven partitions of 5 are
* 5
* 4 + 1
* 3 + 2
* 3 + 1 + 1
* 2 + 2 + 1
* 2 + 1 + 1 + 1
* 1 + 1 + 1 + 1 + 1
Some authors treat a partition as a non-increasing sequence of summands, rather than an expression with plus signs. For example, the partition 2 + 2 + 1 might instead be written as the
tuple
In mathematics, a tuple is a finite sequence or ''ordered list'' of numbers or, more generally, mathematical objects, which are called the ''elements'' of the tuple. An -tuple is a tuple of elements, where is a non-negative integer. There is o ...
or in the even more compact form where the superscript indicates the number of repetitions of a part.
This multiplicity notation for a partition can be written alternatively as
, where is the number of 1's, is the number of 2's, etc. (Components with may be omitted.) For example, in this notation, the partitions of 5 are written
, and
.
Diagrammatic representations of partitions
There are two common diagrammatic methods to represent partitions: as Ferrers diagrams, named after
Norman Macleod Ferrers, and as Young diagrams, named after
Alfred Young. Both have several possible conventions; here, we use ''English notation'', with diagrams aligned in the upper-left corner.
Ferrers diagram
The partition 6 + 4 + 3 + 1 of the number 14 can be represented by the following diagram:














The 14 circles are lined up in 4 rows, each having the size of a part of the partition.
The diagrams for the 5 partitions of the number 4 are shown below:
Young diagram
An alternative visual representation of an integer partition is its ''Young diagram'' (often also called a Ferrers diagram). Rather than representing a partition with dots, as in the Ferrers diagram, the Young diagram uses boxes or squares. Thus, the Young diagram for the partition 5 + 4 + 1 is
:
while the Ferrers diagram for the same partition is
:
While this seemingly trivial variation does not appear worthy of separate mention, Young diagrams turn out to be extremely useful in the study of
symmetric functions
In mathematics, a function of n variables is symmetric if its value is the same no matter the order of its arguments. For example, a function f\left(x_1,x_2\right) of two arguments is a symmetric function if and only if f\left(x_1,x_2\right) = f\ ...
and
group representation theory
In the mathematical field of representation theory, group representations describe abstract groups in terms of bijective linear transformations of a vector space to itself (i.e. vector space automorphisms); in particular, they can be used to r ...
: filling the boxes of Young diagrams with numbers (or sometimes more complicated objects) obeying various rules leads to a family of objects called
Young tableaux
In mathematics, a Young tableau (; plural: tableaux) is a combinatorial object useful in representation theory and Schubert calculus. It provides a convenient way to describe the group representations of the symmetric and general linear groups ...
, and these tableaux have combinatorial and representation-theoretic significance. As a type of shape made by adjacent squares joined together, Young diagrams are a special kind of
polyomino
A polyomino is a plane geometric figure formed by joining one or more equal squares edge to edge. It is a polyform whose cells are squares. It may be regarded as a finite subset of the regular square tiling.
Polyominoes have been used in popu ...
.
Partition function

The
partition function counts the partitions of a non-negative integer
. For instance,
because the integer
has the five partitions
,
,
,
, and
.
The values of this function for
are:
:1, 1, 2, 3, 5, 7, 11, 15, 22, 30, 42, 56, 77, 101, 135, 176, 231, 297, 385, 490, 627, 792, 1002, 1255, 1575, 1958, 2436, 3010, 3718, 4565, 5604, ... .
The
generating function
In mathematics, a generating function is a representation of an infinite sequence of numbers as the coefficients of a formal power series. Generating functions are often expressed in closed form (rather than as a series), by some expression invo ...
of
is
:
No
closed-form expression
In mathematics, an expression or equation is in closed form if it is formed with constants, variables, and a set of functions considered as ''basic'' and connected by arithmetic operations (, and integer powers) and function composition. ...
for the partition function is known, but it has both
asymptotic expansions that accurately approximate it and
recurrence relation
In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
s by which it can be calculated exactly. It grows as an
exponential function of the
square root
In mathematics, a square root of a number is a number such that y^2 = x; in other words, a number whose ''square'' (the result of multiplying the number by itself, or y \cdot y) is . For example, 4 and −4 are square roots of 16 because 4 ...
of its argument., as follows:
:
as
In 1937,
Hans Rademacher
Hans Adolph Rademacher (; 3 April 1892 – 7 February 1969) was a German-born American mathematician, known for work in mathematical analysis and number theory.
Biography
Rademacher received his Ph.D. in 1916 from Georg-August-Universität Göt ...
found a way to represent the partition function
by the
convergent series
In mathematics, a series is the sum of the terms of an infinite sequence of numbers. More precisely, an infinite sequence (a_1, a_2, a_3, \ldots) defines a series that is denoted
:S=a_1 + a_2 + a_3 + \cdots=\sum_^\infty a_k.
The th partial ...
where
and
is the
Dedekind sum.
The
multiplicative inverse
In mathematics, a multiplicative inverse or reciprocal for a number ''x'', denoted by 1/''x'' or ''x''−1, is a number which when Multiplication, multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a ra ...
of its generating function is the
Euler function
In mathematics, the Euler function is given by
:\phi(q)=\prod_^\infty (1-q^k),\quad , q, <1.
Named after Leonhard Euler, it is a model example of a q-series, ''q''-series and provides the prototypical example of a relation between combina ...
; by Euler's
pentagonal number theorem
In mathematics, Euler's pentagonal number theorem relates the product and series representations of the Euler function. It states that
:\prod_^\left(1-x^\right)=\sum_^\left(-1\right)^x^=1+\sum_^\infty(-1)^k\left(x^+x^\right).
In other words,
: ...
this function is an alternating sum of
pentagonal number
A pentagonal number is a figurate number that extends the concept of triangular number, triangular and square numbers to the pentagon, but, unlike the first two, the patterns involved in the construction of pentagonal numbers are not rotational ...
powers of its argument.
:
Srinivasa Ramanujan
Srinivasa Ramanujan Aiyangar
(22 December 188726 April 1920) was an Indian mathematician. Often regarded as one of the greatest mathematicians of all time, though he had almost no formal training in pure mathematics, he made substantial con ...
discovered that the partition function has nontrivial patterns in
modular arithmetic
In mathematics, modular arithmetic is a system of arithmetic operations for integers, other than the usual ones from elementary arithmetic, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to mo ...
, now known as
Ramanujan's congruences
In mathematics, Ramanujan's congruences are the congruences for the partition function ''p''(''n'') discovered by Srinivasa Ramanujan:
:
\begin
p(5k+4) & \equiv 0 \pmod 5, \\
p(7k+5) & \equiv 0 \pmod 7, \\
p(11k+6) & \equiv 0 \pmod .
\end
In p ...
. For instance, whenever the decimal representation of
ends in the digit 4 or 9, the number of partitions of
will be divisible by 5.
Restricted partitions
In both combinatorics and number theory, families of partitions subject to various restrictions are often studied. This section surveys a few such restrictions.
Conjugate and self-conjugate partitions
If we flip the diagram of the partition 6 + 4 + 3 + 1 along its
main diagonal
In linear algebra, the main diagonal (sometimes principal diagonal, primary diagonal, leading diagonal, major diagonal, or good diagonal) of a matrix A is the list of entries a_ where i = j. All off-diagonal elements are zero in a diagonal matrix ...
, we obtain another partition of 14:
By turning the rows into columns, we obtain the partition 4 + 3 + 3 + 2 + 1 + 1 of the number 14. Such partitions are said to be ''conjugate'' of one another. In the case of the number 4, partitions 4 and 1 + 1 + 1 + 1 are conjugate pairs, and partitions 3 + 1 and 2 + 1 + 1 are conjugate of each other. Of particular interest are partitions, such as 2 + 2, which have themselves as conjugate. Such partitions are said to be ''self-conjugate''.
Claim: The number of self-conjugate partitions is the same as the number of partitions with distinct odd parts.
Proof (outline): The crucial observation is that every odd part can be "''folded''" in the middle to form a self-conjugate diagram:
One can then obtain a
bijection
In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ...
between the set of partitions with distinct odd parts and the set of self-conjugate partitions, as illustrated by the following example:
Odd parts and distinct parts
Among the 22 partitions of the number 8, there are 6 that contain only ''odd parts'':
* 7 + 1
* 5 + 3
* 5 + 1 + 1 + 1
* 3 + 3 + 1 + 1
* 3 + 1 + 1 + 1 + 1 + 1
* 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1
Alternatively, we could count partitions in which no number occurs more than once. Such a partition is called a ''partition with distinct parts''. If we count the partitions of 8 with distinct parts, we also obtain 6:
* 8
* 7 + 1
* 6 + 2
* 5 + 3
* 5 + 2 + 1
* 4 + 3 + 1
This is a general property. For each positive number, the number of partitions with odd parts equals the number of partitions with distinct parts, denoted by ''q''(''n''). This result was proved by
Leonhard Euler
Leonhard Euler ( ; ; ; 15 April 170718 September 1783) was a Swiss polymath who was active as a mathematician, physicist, astronomer, logician, geographer, and engineer. He founded the studies of graph theory and topology and made influential ...
in 1748 and later was generalized as
Glaisher's theorem.
For every type of restricted partition there is a corresponding function for the number of partitions satisfying the given restriction. An important example is ''q''(''n'') (partitions into distinct parts). The first few values of ''q''(''n'') are (starting with ''q''(0)=1):
:1, 1, 1, 2, 2, 3, 4, 5, 6, 8, 10, ... .
The
generating function
In mathematics, a generating function is a representation of an infinite sequence of numbers as the coefficients of a formal power series. Generating functions are often expressed in closed form (rather than as a series), by some expression invo ...
for ''q''(''n'') is given by
:
The
pentagonal number theorem
In mathematics, Euler's pentagonal number theorem relates the product and series representations of the Euler function. It states that
:\prod_^\left(1-x^\right)=\sum_^\left(-1\right)^x^=1+\sum_^\infty(-1)^k\left(x^+x^\right).
In other words,
: ...
gives a recurrence for ''q'':
:''q''(''k'') = ''a''
''k'' + ''q''(''k'' − 1) + ''q''(''k'' − 2) − ''q''(''k'' − 5) − ''q''(''k'' − 7) + ''q''(''k'' − 12) + ''q''(''k'' − 15) − ''q''(''k'' − 22) − ...
where ''a''
''k'' is (−1)
''m'' if ''k'' = 3''m''
2 − ''m'' for some integer ''m'' and is 0 otherwise.
Restricted part size or number of parts
By taking conjugates, the number of partitions of into exactly ''k'' parts is equal to the number of partitions of in which the largest part has size . The function satisfies the recurrence
:
with initial values and if and and are not both zero.
One recovers the function ''p''(''n'') by
:
One possible generating function for such partitions, taking ''k'' fixed and ''n'' variable, is
:
More generally, if ''T'' is a set of positive integers then the number of partitions of ''n'', all of whose parts belong to ''T'', has
generating function
In mathematics, a generating function is a representation of an infinite sequence of numbers as the coefficients of a formal power series. Generating functions are often expressed in closed form (rather than as a series), by some expression invo ...
:
This can be used to solve
change-making problems (where the set ''T'' specifies the available coins). As two particular cases, one has that the number of partitions of ''n'' in which all parts are 1 or 2 (or, equivalently, the number of partitions of ''n'' into 1 or 2 parts) is
:
and the number of partitions of ''n'' in which all parts are 1, 2 or 3 (or, equivalently, the number of partitions of ''n'' into at most three parts) is the nearest integer to (''n'' + 3)
2 / 12.
Partitions in a rectangle and Gaussian binomial coefficients
One may also simultaneously limit the number and size of the parts. Let denote the number of partitions of with at most parts, each of size at most . Equivalently, these are the partitions whose Young diagram fits inside an rectangle. There is a recurrence relation
obtained by observing that
counts the partitions of into exactly parts of size at most , and subtracting 1 from each part of such a partition yields a partition of into at most parts.
The Gaussian binomial coefficient is defined as:
The Gaussian binomial coefficient is related to the
generating function
In mathematics, a generating function is a representation of an infinite sequence of numbers as the coefficients of a formal power series. Generating functions are often expressed in closed form (rather than as a series), by some expression invo ...
of by the equality
Rank and Durfee square
The ''rank'' of a partition is the largest number ''k'' such that the partition contains at least ''k'' parts of size at least ''k''. For example, the partition 4 + 3 + 3 + 2 + 1 + 1 has rank 3 because it contains 3 parts that are ≥ 3, but does not contain 4 parts that are ≥ 4. In the Ferrers diagram or Young diagram of a partition of rank ''r'', the ''r'' × ''r'' square of entries in the upper-left is known as the
Durfee square:
:
The Durfee square has applications within combinatorics in the proofs of various partition identities. It also has some practical significance in the form of the
h-index
The ''h''-index is an author-level metric that measures both the productivity and citation impact of the publications, initially used for an individual scientist or scholar. The ''h''-index correlates with success indicators such as winning t ...
.
A different statistic is also sometimes called the
rank of a partition
In number theory and combinatorics, the rank of an integer partition is a certain number associated with the partition. In fact at least two different definitions of rank appear in the literature. The first definition, with which most of this ar ...
(or Dyson rank), namely, the difference
for a partition of ''k'' parts with largest part
. This statistic (which is unrelated to the one described above) appears in the study of
Ramanujan congruences.
Young's lattice
There is a natural
partial order
In mathematics, especially order theory, a partial order on a set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements needs to be comparable ...
on partitions given by inclusion of Young diagrams. This partially ordered set is known as ''
Young's lattice
In mathematics, Young's lattice is a lattice that is formed by all integer partitions. It is named after Alfred Young, who, in a series of papers ''On quantitative substitutional analysis,'' developed the representation theory of the symmetric ...
''. The lattice was originally defined in the context of
representation theory
Representation theory is a branch of mathematics that studies abstract algebra, abstract algebraic structures by ''representing'' their element (set theory), elements as linear transformations of vector spaces, and studies Module (mathematics), ...
, where it is used to describe the
irreducible representation
In mathematics, specifically in the representation theory of groups and algebras, an irreducible representation (\rho, V) or irrep of an algebraic structure A is a nonzero representation that has no proper nontrivial subrepresentation (\rho, _W, ...
s of
symmetric group
In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
s ''S''
''n'' for all ''n'', together with their branching properties, in characteristic zero. It also has received significant study for its purely combinatorial properties; notably, it is the motivating example of a
differential poset.
Random partitions
There is a deep theory of random partitions chosen according to the uniform probability distribution on the
symmetric group
In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
via the
Robinson–Schensted correspondence. In 1977, Logan and Shepp, as well as Vershik and Kerov, showed that the Young diagram of a typical large partition becomes asymptotically close to the graph of a certain analytic function minimizing a certain functional. In 1988, Baik, Deift and Johansson extended these results to determine the distribution of the longest increasing subsequence of a random permutation in terms of the
Tracy–Widom distribution.
Okounkov related these results to the combinatorics of
Riemann surface
In mathematics, particularly in complex analysis, a Riemann surface is a connected one-dimensional complex manifold. These surfaces were first studied by and are named after Bernhard Riemann. Riemann surfaces can be thought of as deformed vers ...
s and representation theory.
See also
*
Rank of a partition
In number theory and combinatorics, the rank of an integer partition is a certain number associated with the partition. In fact at least two different definitions of rank appear in the literature. The first definition, with which most of this ar ...
, a different notion of ''rank''
*
Crank of a partition
In number theory, the crank of an integer partition is a certain number associated with the partition. It was first introduced without a definition by Freeman Dyson, who hypothesised its existence in a 1944 paper. Dyson gave a list of properties ...
*
Dominance order
*
Factorization
In mathematics, factorization (or factorisation, see American and British English spelling differences#-ise, -ize (-isation, -ization), English spelling differences) or factoring consists of writing a number or another mathematical object as a p ...
*
Integer factorization
In mathematics, integer factorization is the decomposition of a positive integer into a product of integers. Every positive integer greater than 1 is either the product of two or more integer factors greater than 1, in which case it is a comp ...
*
Partition of a set
In mathematics, a partition of a set is a grouping of its elements into Empty set, non-empty subsets, in such a way that every element is included in exactly one subset.
Every equivalence relation on a Set (mathematics), set defines a partitio ...
*
Stars and bars (combinatorics)
In combinatorics, stars and bars (also called "sticks and stones", "balls and bars", and "dots and dividers") is a graphical aid for deriving certain combinatorial theorems. It can be used to solve a variety of counting problems, such as how many ...
*
Plane partition
In mathematics and especially in combinatorics, a plane partition is a two-dimensional array of nonnegative integers \pi_ (with positive number, positive integer indices ''i'' and ''j'') that is nonincreasing in both indices. This means that
: \pi ...
*
Polite number
In number theory, a polite number is a positive integer that can be written as the sum of two or more consecutive positive integers. A positive integer which is not polite is called impolite... The impolite numbers are exactly the powers of two, a ...
, defined by partitions into consecutive integers
*
Multiplicative partition In number theory, a multiplicative partition or unordered factorization of an integer n is a way of writing n as a product of integers greater than 1, treating two products as equivalent if they differ only in the ordering of the factors. The number ...
*
Twelvefold way
*
Ewens's sampling formula
In population genetics, Ewens's sampling formula describes the probabilities associated with counts of how many different alleles are observed a given number of times in the sample.
Definition
Ewens's sampling formula, introduced by Warren Ewen ...
*
Faà di Bruno's formula
Faà di Bruno's formula is an identity in mathematics generalizing the chain rule to higher derivatives. It is named after , although he was not the first to state or prove the formula. In 1800, more than 50 years before Faà di Bruno, the French ...
*
Multipartition
*
Newton's identities
In mathematics, Newton's identities, also known as the Girard–Newton formulae, give relations between two types of symmetric polynomials, namely between power sums and elementary symmetric polynomials. Evaluated at the roots of a monic polynomi ...
*
Smallest-parts function
* A Goldbach partition is the partition of an even number into primes (see
Goldbach's conjecture
Goldbach's conjecture is one of the oldest and best-known list of unsolved problems in mathematics, unsolved problems in number theory and all of mathematics. It states that every even and odd numbers, even natural number greater than 2 is the ...
)
*
Kostant's partition function In representation theory, a branch of mathematics, the Kostant partition function, introduced by , of a root system \Delta is the number of ways one can represent a vector (Weight (representation theory), weight) as a non-negative integer linear com ...
Notes
References
*
*
*
* ''(See chapter 5 for a modern pedagogical intro to Rademacher's formula)''.
* (an elementary introduction to the topic of integer partitions, including a discussion of Ferrers graphs)
*
* Provides the main formula (no derivatives), remainder, and older form for ''A''
''k''(''n'').)
* ''(Has text, nearly complete bibliography, but they (and Abramowitz) missed the Selberg formula for'' ''A''
''k''(''n''), ''which is in Whiteman.)''
* (See section I.1)
*
*
*
*
* ''(Provides the Selberg formula. The older form is the finite Fourier expansion of Selberg.)''
External links
*
Partition and composition calculator*
* Wilf, Herbert S.
with reference tables to the On-Line Encyclopedia of Integer Sequences
Integer partitionsentry in th
FindStatdatabase
Integer::Partition Perl modulefrom
CPAN
The Comprehensive Perl Archive Network (CPAN) is a software repository of over 220,000 software modules and accompanying documentation for 45,500 distributions, written in the Perl programming language by over 14,500 contributors. ''CPAN'' can de ...
Fast Algorithms For Generating Integer PartitionsGenerating All Partitions: A Comparison Of Two Encodings* {{cbignore