Number

A partition piled into a corner

A partition is a row of numbers that never increases. Let it never increase down the columns too, and it becomes a pile of cubes pushed into the corner of a room. MacMahon counted the piles with one change to Euler's product — each part size k in k colours — and in a box with a product over its cells. The second direction moves the growth from e^(√n) to e^(n^(2/3)), puts ζ(3) where π was, and makes a count that grows with a box's area. One direction further, his guess fails at six.

Worth reading first: Every partition, hidden in a product · The size of a number with no formula.

Every essay on partitions so far has looked at one row. A diagram turned on its side drew a partition of nn as rows of dots, each row no longer than the one above, and read the columns instead; the whole subject since has been about that staircase — how many there are, how large the count is, which residues it takes, what shape a random one has. The staircase is a list of numbers that never increases, laid out in one direction.

Lay the numbers out in two directions instead. A plane partition of nn is a grid of positive whole numbers adding up to nn that never increases along a row and never increases down a column. Read each number as the height of a stack of cubes standing on its square, and the grid becomes a pile of cubes pushed into the corner of a room, every cube resting on the floor or on another cube and against the walls or against other cubes. Percy MacMahon, who computed the partition table Ramanujan used, spent much of the 1910s on these piles and found that they can be counted with as much precision as the ordinary partitions — by a product that differs from Euler’s in one exponent.

A partition in two directions is a pile of cubes. Plane partition 5 4 3 1 / 4 3 2 / 3 2 1 / 1 of 29, drawn as stacked cubes; PL(29) = 3759612.
Fig. 1 A plane partition of 29: whole numbers in a grid that never increase along a row or down a column, and the same thing as stacks of cubes pushed into the corner of a room, each number the height of the stack on its square. There are 3,759,612 plane partitions of 29, against 4,565 ordinary partitions.

An ordinary partition is a pile one row deep

The hero figure draws a plane partition of 29: rows 5,4,3,15, 4, 3, 1, then 4,3,24, 3, 2, then 3,2,13, 2, 1, then 11. Every row reads downwards from left to right, and every column reads downwards from top to bottom. As cubes, the 5 is the tallest stack in the back corner, and the heights fall away towards the open side of the room. A partition in the usual sense is a plane partition with only one row, so every ordinary partition is a pile one cube deep, standing against one wall.

The extra freedom is enormous. There are 4,565 partitions of 29 and 3,759,612 plane partitions, eight hundred times as many. Counting them by listing them is possible for small nn and becomes hopeless quickly, and the first question is whether there is a product that does the counting, the way Euler’s product counts ordinary partitions by multiplying out one factor for each part size.

MacMahon’s product: part kk in kk colours

There is, and it is nearly Euler’s. Euler’s product is

∏k≥111−qk=∑n≥0p(n) qn,\prod_{k \ge 1} \frac{1}{1 - q^k} = \sum_{n \ge 0} p(n)\, q^n,

where the factor for kk expands to 1+qk+q2k+⋯1 + q^k + q^{2k} + \cdots and chooses how many parts of size kk to use. MacMahon’s is

∏k≥11(1−qk)k=∑n≥0PL(n) qn,\prod_{k \ge 1} \frac{1}{(1 - q^k)^{k}} = \sum_{n \ge 0} \mathrm{PL}(n)\, q^n,

the same product with the factor for kk repeated kk times. Combinatorially, it counts partitions in which a part of size kk comes in kk different colours: one colour of 1, two colours of 2, three of 3. The plane partitions of nn are equinumerous with these coloured partitions, and MacMahon’s proof that they are was long; a bijection that matches them one to one was found much later and is not simple either.

A second direction raises the exponent. PL(n) for n = 0..12: 1, 1, 3, 6, 13, 24, 48, 86, 160, 282, 500, 859, 1479; PL(200) = 4066263490068623016919082185; p(200) = 3972999029388.
Fig. 2 The number of plane partitions of nn read off MacMahon’s product, and the number of ordinary partitions, for nn up to 200, on a logarithmic scale. The warm dots are plane partitions found one at a time, agreeing with the product to n=12n = 12. The logarithm of the ordinary count grows like n\sqrt n, of the plane count like n2/3n^{2/3}.

The figure checks the product both ways. Plane partitions are listed one at a time for every nn up to 12 — building each grid row by row, each row a non-increasing list no longer and no higher than the row above — and the counts are 1, 1, 3, 6, 13, 24, 48, 86, 160, 282, 500, 859 and 1,479. The coefficients of MacMahon’s product are computed exactly, to n=1,000n = 1{,}000, from a recurrence that follows from taking its logarithm: n PL(n)=∑k=1nσ2(k) PL(n−k)n\,\mathrm{PL}(n) = \sum_{k=1}^{n} \sigma_2(k)\,\mathrm{PL}(n-k), where σ2(k)\sigma_2(k) is the sum of the squares of the divisors of kk. The two lists agree on every one of the thirteen values that can be checked by listing.

Plotted on a logarithmic scale beside the ordinary partition numbers, the plane counts pull away steadily. At n=200n = 200 there are 3,972,999,029,388 partitions, a 13-digit number, and the plane partitions run to 28 digits. The shapes of the two curves are what matter: the ordinary count’s logarithm grows like n\sqrt{n}, and the plane count’s like n2/3n^{2/3}. Adding a second direction to the staircase does not multiply the count by a larger constant at each step. It raises the exponent.

Where the colours come from

The colours look like a trick of algebra, a way of saying “repeat the factor kk times” in words. They have a geometric meaning, and it explains the product better than any manipulation of series. Number the squares of the floor of the room by their row ii and column jj, starting from 1 in the corner, and give the square (i,j)(i, j) the weight i+j−1i + j - 1. The corner square has weight 1, the two squares next to it have weight 2, the three squares beyond those have weight 3, and in general exactly kk squares have weight kk — they lie along the kk-th diagonal running across the corner of the floor. A part of size kk in kk colours is a choice of one of those kk squares.

So MacMahon’s product can be rewritten as a product over the squares of the floor,

∏k≥11(1−qk)k=∏i≥1∏j≥111−q i+j−1,\prod_{k \ge 1} \frac{1}{(1 - q^k)^{k}} = \prod_{i \ge 1} \prod_{j \ge 1} \frac{1}{1 - q^{\,i + j - 1}},

and the right-hand side counts something simple: a choice of how many times to use each floor square, where using square (i,j)(i, j) once costs i+j−1i + j - 1. The theorem is that these choices correspond one to one with piles of the same total. A bijection that does it was found by Abraham Hillman and Richard Grassl in 1976. It takes a pile and repeatedly removes a staircase-shaped strip of cubes that runs along the edge of the pile’s surface from one wall to the other, recording at each step the floor square where the strip turns; the strip always has exactly i+j−1i + j - 1 cubes for that square, so the total is preserved, and the process can be run backwards. Each square of the floor thus contributes a geometric series, and the product over the floor is the count.

The same reading explains the boxes. Restrict the floor to an a×ba \times b rectangle and allow the stacks any height, and the product runs over the rectangle’s squares only; that is MacMahon’s box formula with the height cc sent to infinity, and the factors (i+j+k−1)/(i+j+k−2)(i + j + k - 1)/(i + j + k - 2) of the finite box are what the ceiling does to it. The weight i+j−1i + j - 1 of a floor square is its hook length in the infinite corner — the number of squares in the hook formed by the square itself, the squares in its row beyond it towards the corner and the squares in its column — which is how the same idea reaches the counting of Young tableaux that a diagram turned on its side touched on, where the hook lengths of a single staircase divide n!n! to give the number of ways to fill it.

Reciprocal cubes where the circle’s constant was

The size of the ordinary partition count has a formula with a π\pi in it, which the size of a number with no formula traced to Hardy and Ramanujan: p(n)p(n) is about eπ2n/3/(4n3)e^{\pi \sqrt{2n/3}} / (4n\sqrt{3}). The plane partitions have a formula of the same kind, found by Edward Maitland Wright in 1931:

PL(n)∼ζ(3)7/3612π(n2)−25/36exp⁡ ⁣(3 ζ(3)1/3(n2)2/3+ζ′(−1)).\mathrm{PL}(n) \sim \frac{\zeta(3)^{7/36}}{\sqrt{12\pi}} \left(\frac{n}{2}\right)^{-25/36} \exp\!\left(3\,\zeta(3)^{1/3} \left(\frac{n}{2}\right)^{2/3} + \zeta'(-1)\right).

The constant in the exponent is ζ(3)=1+1/8+1/27+⋯\zeta(3) = 1 + 1/8 + 1/27 + \cdots, the sum of the reciprocal cubes, and the constant ζ′(−1)\zeta'(-1) in front is a value of the derivative of the same function.

Wright's formula, with ζ(3) where π was. n=100: 0.98881; n=200: 0.99296; n=300: 0.99463; n=400: 0.99557; n=500: 0.99618; n=600: 0.99662; n=700: 0.99695; n=800: 0.99721; n=900: 0.99742; n=1000: 0.99760.
Fig. 3 The exact number of plane partitions of nn divided by Wright’s formula, for nn from 20 to 1,000. The ratio is 0.9670.967 at 20, 0.98880.9888 at 100 and 0.99760.9976 at 1,000, climbing towards 1 from below.

Divided by Wright’s formula, the exact counts give a ratio that climbs steadily towards 1: 0.9670.967 at n=20n = 20, 0.98880.9888 at 100, 0.99760.9976 at 1,000. The approach is from below and slow, like the leading term of Hardy and Ramanujan’s formula before its refinements; a series of corrections exists here too, and with it the ratio can be pushed much closer to 1, but the leading term already carries the whole of the growth.

The reason the constants change is a single calculation that both formulas share. The logarithm of Euler’s product near q=1q = 1 is dominated by ∑kqk/k⋅1/(1−qk)\sum_k q^k/k \cdot 1/(1 - q^k), which behaves like ζ(2)/t\zeta(2)/t when q=e−tq = e^{-t} — and ζ(2)=π2/6\zeta(2) = \pi^2/6, the sum one plus a quarter plus a ninth evaluated, is where the π\pi of Hardy and Ramanujan comes from. MacMahon’s product has kk copies of each factor, so the same sum acquires an extra factor of kk in each term and behaves like ζ(3)/t2\zeta(3)/t^2. A singularity of the form 1/t21/t^2 instead of 1/t1/t is what turns n\sqrt{n} into n2/3n^{2/3} when the coefficient is extracted, and its constant is what puts ζ(3)\zeta(3) into the exponent. Nothing about ζ(3)\zeta(3) is known as simply as ζ(2)=π2/6\zeta(2) = \pi^2/6; Roger Apéry proved only in 1978 that it is irrational, and no closed form for it is known.

Piles that fit in a box

MacMahon also counted the piles that fit inside a box: plane partitions with at most aa rows, at most bb columns, and no entry larger than cc. Here the answer is a finite product, one factor for each of the box’s abcabc cells:

M(a,b,c)=∏i=1a∏j=1b∏k=1ci+j+k−1i+j+k−2.M(a, b, c) = \prod_{i=1}^{a} \prod_{j=1}^{b} \prod_{k=1}^{c} \frac{i + j + k - 1}{i + j + k - 2}.

It is one of the most famous product formulas in combinatorics, and there is nothing in the definition of a plane partition to suggest that the count in a box should factor at all.

Piles in a box grow with the area, not the volume. 1³: 2, 2³: 20, 3³: 980, 4³: 232848, 5³: 267227532, 6³: 1478619421136; log count / n² at 2: 0.74893, 3: 0.76528, 4: 0.77238, 5: 0.77614, 6: 0.77839, 10: 0.78212, 20: 0.78404, 40: 0.78463, 80: 0.78480; limit 0.784872.
Fig. 4 Plane partitions that fit inside an n×n×nn \times n \times n box, counted by building the pile row by row and by MacMahon’s product over the box’s cells; the two agree for every box up to 6×6×66 \times 6 \times 6, where there are 1,478,619,421,136. The logarithm of the count divided by n2n^2 climbs to 92log⁡3−6log⁡2=0.78487\tfrac92 \log 3 - 6 \log 2 = 0.78487.

The figure counts the piles in cubical boxes by a transfer that needs no formula: list every possible row — a non-increasing list of nn heights between 0 and nn — and build the pile one row at a time, each new row standing in front of the previous one and nowhere taller. The counts are 2 for the 1×1×11 \times 1 \times 1 box, 20 for 2×2×22 \times 2 \times 2, 980 for 3×3×33 \times 3 \times 3, 232,848 for 4×4×44 \times 4 \times 4, 267,227,532 for 5×5×55 \times 5 \times 5 and 1,478,619,421,136 for 6×6×66 \times 6 \times 6, and MacMahon’s product gives every one of them exactly.

The growth is the surprise. A box of side nn holds n3n^3 cells, and a set of n3n^3 independent yes-or-no choices would number 2n32^{n^3}. The piles number about e0.785n2e^{0.785 n^2} — the logarithm of the count grows with the square of the side, with the box’s area rather than its volume. The figure divides the logarithm by n2n^2, using the formula alone beyond side 6, and watches it converge: 0.7490.749 at side 2, 0.7780.778 at 6, 0.78480.7848 at 80, against the limit 92log⁡3−6log⁡2=0.78487\tfrac{9}{2} \log 3 - 6 \log 2 = 0.78487, which follows from the product by turning it into an integral. The reason is that a pile is determined by its surface. Inside the pile every cell is full and above it every cell is empty, so the only freedom is in the shape of the boundary between them, and the boundary is a surface of area about n2n^2.

That surface has another description. Seen from far along the diagonal of the box, the visible faces of the cubes are rhombuses of three orientations, and they tile a hexagon whose sides are aa, bb, cc, aa, bb, cc. Every pile gives a tiling of the hexagon by rhombuses and every such tiling comes from a pile, so MacMahon’s box formula also counts the lozenge tilings of the hexagon. The diamond that freezes its corners found the domino tilings of a diamond freezing into a fixed pattern near its corners; random lozenge tilings of a large hexagon do the same, frozen outside a circle inscribed in the hexagon and disordered inside it, which in the language of piles says that a random pile in a large box is flat against the walls and floor near the corners of the box and genuinely random only in the middle.

Every pile has a complement

A pile in a box can be counted by its volume as well, and MacMahon’s product has a refinement in qq that does exactly that.

Every pile in a box has a complementary pile. Volumes 0..64 in the 4×4×4 box: 1, 1, 3, 6, 13, 21, 39, 62, 103, 156, 239, 343, 498, 684, 939, 1242, 1632, 2073, 2619, 3214, 3911, 4641, 5457, 6269, 7140, 7953, 8773, 9487, 10158, 10660, 11083, 11300, 11408, 11300, 11083, 10660, 10158, 9487, 8773, 7953, 7140, 6269, 5457, 4641, 3911, 3214, 2619, 2073, 1632, 1242, 939, 684, 498, 343, 239, 156, 103, 62, 39, 21, 13, 6, 3, 1, 1; total 232848; mode 32.
Fig. 5 All 232,848 piles of cubes that fit in a 4×4×44 \times 4 \times 4 box, sorted by how many cubes they use. The counts are exactly symmetric about 32: removing a pile from the full box leaves the complementary pile, seen from the opposite corner. There is 1 empty pile, 1 of one cube, 3 of two, and a single hump peaking at 11,408 piles of 32.

The volumes of the piles in a 4×4×44 \times 4 \times 4 box run from 0 to 64. The distribution starts like the plane partition numbers themselves — 1 empty pile, 1 of one cube, 3 of two, 6 of three, 13 of four — because a small pile does not reach the walls of the box, and rises to a single peak of 11,408 piles at volume 32 before falling away in exact mirror image. The symmetry has a one-line reason. Fill the box with cubes, remove a pile of vv cubes from the corner, and what remains is a pile of 64−v64 - v cubes pushed into the opposite corner, seen upside down. Every pile is paired with its complement, and so volume vv and volume 64−v64 - v are equally common.

The coefficient that is a polynomial followed the same kind of symmetry in the qq-analogues of the binomial coefficients, which count lattice paths by the area under them and are symmetric for the same reason: a path and its complement in the rectangle share the rectangle’s area between them. The box refinement is the three-dimensional version of that statement, and MacMahon’s qq-product,

∏i,j,k1−qi+j+k−11−qi+j+k−2,\prod_{i,j,k} \frac{1 - q^{i+j+k-1}}{1 - q^{i+j+k-2}},

is to piles in a box what the Gaussian binomial coefficient is to paths in a rectangle.

One dimension further, and the guess that failed

The natural next step is a solid partition: a three-dimensional array of numbers that never increases along any of its three directions — or, as cubes, a pile in four dimensions. MacMahon guessed that the pattern of his products would continue. Ordinary partitions are counted by ∏(1−qk)−1\prod (1-q^k)^{-1}, plane partitions by ∏(1−qk)−k\prod (1-q^k)^{-k}, and the exponents 1,k1, k look like the start of the binomial coefficients (k0),(k1)\binom{k}{0}, \binom{k}{1}; the next would be (k+12)=k(k+1)/2\binom{k+1}{2} = k(k+1)/2, and his guess was that solid partitions are counted by ∏(1−qk)−k(k+1)/2\prod (1 - q^k)^{-k(k+1)/2}.

MacMahon's guess one dimension up fails at six. Solid partitions n=0..12: 1, 1, 4, 10, 26, 59, 140, 307, 684, 1464, 3122, 6500, 13426; MacMahon's guess: 1, 1, 4, 10, 26, 59, 141, 310, 692, 1483, 3162, 6583, 13602.
Fig. 6 Solid partitions of nn, counted as stacks of plane partitions with each layer fitting inside the one beneath, for nn up to 12, written under the axis; each bar is how far MacMahon’s guess overshoots them. The guess is right for nn up to 5 and wrong from 6 on: 141 against 140, then 310 against 307, and 13,602 against 13,426 at 12.

A solid partition is a stack of plane partitions, each layer lying inside the layer beneath it entry by entry. That is how the figure counts them: every plane partition of size up to 12 is listed — 1,124 of them in all — and the number of ways to finish a stack whose top layer is a given plane partition, with a given number of cubes still to place, is computed once and remembered, since it depends only on that layer and that number. The counts for every nn up to 12 are 1, 1, 4, 10, 26, 59, 140, 307, 684, 1,464, 3,122, 6,500 and 13,426. The guess gives 1, 1, 4, 10, 26, 59 — correct for six values in a row — and then 141 where the true count is 140. From there the gap widens: 310 against 307 at 7, and 13,602 against 13,426 at 12, an overshoot of 1.31 per cent. The failure was found in 1967 by Arthur Atkin, Paul Bratley, Ian Macdonald and John McKay, by computing exactly these numbers, half a century after MacMahon proposed the guess.

There is no replacement. No product formula for solid partitions is known, and the evidence suggests none exists; their counts have been computed by heavy enumeration far beyond the range drawn here, and their growth is believed to be about ec n3/4e^{c\, n^{3/4}} — the exponent rising again, from 1/21/2 to 2/32/3 to 3/43/4 — with the constant cc known only from extrapolating those counts. The product that made the first two dimensions tractable is a coincidence of low dimension, and the six correct values were enough to persuade the best combinatorialist of his generation.

Still open: why the products exist

MacMahon’s formulas have been proved many times, by methods that grew more powerful and more general: by symmetric functions, by Ira Gessel and Xavier Viennot’s method of non-intersecting lattice paths, which turns a pile in a box into a family of paths that never cross and its count into a determinant, and by bijections that match piles with coloured partitions. Each proof explains why one formula holds. What none has supplied is a single reason why so many counts of piles factor into products. Richard Stanley listed in 1986 ten classes of plane partitions in a box with symmetries — piles symmetric under swapping two walls, under rotating all three, under complementing, and combinations — and conjectured or collected product formulas for every one. The last of the ten counts was proved by John Stembridge in 1995, and a refinement of one of them by volume, conjectured by George Andrews and David Robbins, held out until 2011, when Christoph Koutschan, Manuel Kauers and Doron Zeilberger proved it with a computer-algebra calculation too large to check by hand. That the products exist is now settled; why they exist, in a way that would predict which other counts should factor and which, like the solid partitions, should not, is an open question about the whole subject. And the parity questions of is the partition count even half the time? can be asked of PL(n)\mathrm{PL}(n) as well, where they are just as open and have been studied far less.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

AsymptoticsBijectionCounterexampleExhaustive searchGenerating functionPartitionProduct formulaSymmetry