Integer partition
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 partition. 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 diagrams or Ferrers diagrams. They occur in a number of branches of mathematics and physics, including the study of symmetric polynomials and of the symmetric group and in group representation theory 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
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. 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. 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 iswhile 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 and group representation theory: filling the boxes of Young diagrams with numbers obeying various rules leads to a family of objects called Young tableaux, 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.
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:
The generating function of is
No closed-form expression for the partition function is known, but it has both asymptotic expansions that accurately approximate it and recurrence relations by which it can be calculated exactly. It grows as an exponential function of the square root of its argument., as follows:
In 1937, Hans Rademacher found a way to represent the partition function by the convergent series
where
and is the Dedekind sum.
The multiplicative inverse of its generating function is the Euler function; by Euler's pentagonal number theorem this function is an alternating sum of pentagonal number powers of its argument.
Srinivasa Ramanujan discovered that the partition function has nontrivial patterns in modular arithmetic, now known as Ramanujan's congruences. 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, 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 : 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 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
- 8
- 7 + 1
- 6 + 2
- 5 + 3
- 5 + 2 + 1
- 4 + 3 + 1
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. The first few values of q are :
The generating function for q is given by
The pentagonal number theorem gives a recurrence for q:
where ak is m if k = 3m2 − 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 recurrencewith initial values and if and and are not both zero.
One recovers the function p 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
This can be used to solve change-making problems. As two particular cases, one has that the number of partitions of n in which all parts are 1 or 2 is
and the number of partitions of n in which all parts are 1, 2 or 3 is the nearest integer to 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 relationobtained 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 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.
A different statistic is also sometimes called the rank of a partition, namely, the difference for a partition of k parts with largest part. This statistic appears in the study of Ramanujan congruences.