Partition (combinatorics)
A partition of a nonnegative integer is a way of expressing it as the unordered sum of other positive integers. For example, there are three partitions of 3: . Each of the summands is a part of the partition.
The partition function gives the number of partitions of . There is an exact formula for , discovered by G. H. Hardy, J. E. Littlewood, and Srinivasa Ramanujan. However, this formula is unwieldy: it is not even known for which values of the number of partitions of is even, despite the presence of a formula! No simpler formula is known, and the existence of such a formula is doubtful.
A fruitful way of studying partition numbers is through generating functions. The generating function for the sequence is given by . Partitions can also be studied by using the Jacobi theta function, in particular the Jacobi triple product. The generating function approach and the theta function approach can be used to study many variants of the partition function, such as the number of ways to write a number as the sum of odd parts, or of distinct parts, or of parts equivalent to , etc.
Contents
List of Partitions and Values of the Partition Function for Small
The empty partition (with no parts) is the unique partition of , so .
The unique partition of is , so .
, so .
, so .
, so .
, so .
Partitions are often written in tuple notation, so we might denote the partitions of by and . This notation is often further abbreviated to word notation (by dropping the parentheses and commas, so becomes ) or by indicating multiplicities with exponential notation (so becomes ).
Using this last notation, the partitions of are and , so . One could continue this computation to find that , , , , and so on.
Ferrers Diagrams
A Ferrers diagram is a way to represent partitions geometrically. The diagram consists of rows of dots. Each row represents a different addend in the partition. The rows are ordered in non-increasing order so that that the row with the most dots is on the top and the row with the least dots is on the bottom.
For example, 9 can be partitioned into 4 + 3 + 1 + 1 which would be represented by the following Ferrers diagram:
4 | ||||
3 | ||||
1 | ||||
1 |
The Conjugate
The conjugate of a Ferrers diagram is formed by reflecting the diagram across its diagonal (the one starting in the top left of the diagram). This can also be interpreted as exchanging the rows for the columns. For example, consider our example from before but this time let's count the number of dots in each column:
4 | 2 | 2 | 1 | |
4 | ||||
3 | ||||
1 | ||||
1 |
The original partition is 4 + 3 + 1 + 1 and the conjugate is 4 + 2 + 2 + 1.
Generating Functions
Generating functions can be used to deal with some problems involving partitions. Here we derive the generating function for the number of partitions of .
Consider partitioning into addends that are equal to 1. The generating function for this is since there is only one way to represent as the sum of 1s.
Consider partitioning numbers using just 2s as addends. There is one way to partition 0 into 2s, zero ways to partition 1 into 2s, one way to partition 2 into 2s, and so forth. Therefore, the generating function for this type of partition is .
We can proceed in this manner to find that the generating function for the number of ways to partition into addends equal to is .
Now, we generate every partition of by choosing some number of parts to be equal to 1, some other number of parts to be equal to 2, and so on. Thus, we get the generating function for the partition function of by multiplying the generating functions for partitions into just 1s, partitions into just 2s, and so on. This gives us the expression
Using the formula for the sum of an infinite geometric sequence we can express this in the more compact form
A Variation
An interesting theorem is that the number of partitions consisting of only consecutive positive integers of is the number of odd divisors of .
Proof:
Let be the smallest part in such a partition and let be the number of parts. Then we have
, so
and finally
.
Let's allow negative integers in our partition for a moment, and let denote the number of odd divisors of . Now we consider the two possible cases:
Case 1: is an integer.
Since the expression on the right hand side must be an integer, this implies that . Also, for to be an integer, must be divisible by 2, which implies that is odd. Therefore, as long as is an odd divisor of , we can find consecutive integers starting with that adds up to . Therefore, in this case the number of solutions is equal to .
Case 2: is not an integer.
For the right hand side to still be an integer, we must have for some odd integer . Since is not an integer, must be odd, and therefore must be even. expressing in the form with being an odd integer, we see that if and only if , where is any odd divisor of . As the result, the number of solutions in this case is also equal to .
The two cases combined gives us solutions. However, this includes partitions with negative integers. However, since is positive, the partition with negative integers must be of the form:
Where . As the result, we can cancel out the negative integers with the corresponding additive inverses to produce a valid partition. Similarity, we can go from a valid partition to one that contains negative integers by adding all the positive integers before the smallest member, along with the corresponding additive inverses. As the result, we established a bijection between valid partitions with the partitions containing negative integers.
Since our count includes all the possible partitions, and the number of valid partitions is equal to the number of partitions that contain negative integers, the number of valid partitions must be exactly half of our original count. Therefore, the total number of such partitions is , which is the number of odd divisors of .
Resources
- Partitions of Integers by Joseph Laurendi
- The Jacobi Theta Function by Simon Rubinstein-Salzedo
- Sequence A000041 in the OEIS -- the partition function