How this calculation works
Plane partitions are rectangular arrays of nonnegative heights that weakly decrease across rows and down columns. This calculator counts bounded arrays, optionally at one total volume, and checks the complete volume distribution against the MacMahon box product. Exact integer counts are kept separate from geometric drawings of stacked cubes.
Box count=product_(i=1)^a product_(j=1)^b product_(k=1)^c (i+j+k−1)/(i+j+k−2).A worked example
A 2×2 array with entries zero or one and monotone rows and columns has six possible plane partitions. Their volumes range from zero to four, with counts 1,1,2,1,1. The all-volume sum is six, agreeing with the product formula for a 2×2×1 box.
Good to know
Rows and columns one through five, at most 16 cells, maximum height zero through eight and 500,000 enumeration states. Target volume −1 includes all volumes. Larger boxes are rejected rather than estimated; no unbounded plane-partition formula.
Reference: Sage plane partitions (opens in a new tab) ↗
A plane partition is a monotone height array
Rows and columns index a rectangle of cells whose entries are nonnegative integer heights. Entries weakly decrease to the right and downward. This is a two-dimensional monotonicity constraint, not an ordinary one-dimensional integer partition with a different display, and transposing the box preserves the family count under the corresponding coordinate change.
A zero height is allowed, so the empty stack is a valid plane partition at volume zero. Maximum height zero produces exactly that one array for any supported row and column dimensions. These boundary cases are retained in enumeration rather than excluded by a positive-height assumption copied from an unrelated partition formula.
The Integer partition calculator with allowed parts covers the nearby task. Plane partitions are two-dimensional monotone height arrays, not one-dimensional allowed-part decompositions.
Volume selects a slice of the boxed family
Volume is the sum of all cell heights and can be fixed to a selected nonnegative integer. The all-volume option counts every allowed height array regardless of that sum. The volume table makes the distinction inspectable, preventing the product-formula box total from being mistaken for the count at one requested volume.
The recursive enumeration fills cells in row order and bounds each new value by the cell above, the cell to its left and the maximum height. These bounds enforce every monotonicity constraint as the array is formed. A state cap stops difficult boxes explicitly instead of returning the number reached in a partial traversal.
The product formula verifies the full count
MacMahon’s boxed product gives the total across all volumes. The calculator evaluates that product with exact integers and compares it with the sum of its enumerated volume coefficients. This second count uses a different construction and can catch missed arrays, duplicate arrays or an incorrect direction of monotonicity.
The 2×2×1 default has volume distribution one,one,two,one,one, making the array constraints easy to draw. Independent tests include transposed boxes, zero height and small exhaustive cases. No asymptotic approximation, unlimited boxed dimension or general unbounded plane-partition generating function is advertised by the finite enumeration page.
Interpret the box as a monotone height array
A plane partition inside an a×b×c box is an a-by-b array of integers from zero through c, weakly decreasing across every row and down every column. The sum of entries is its volume, corresponding to the number of stacked unit cubes. Entries need not be distinct, and zeros are allowed.
The box limits the array shape and each height, not just the volume. Two arrays with the same volume can be different plane partitions. Swapping equal numerical heights does not create another arrangement unless the resulting array itself changes, and arbitrary row or column permutations generally destroy the required monotonicity.
Enumerate the 2×2×1 box by volume
Heights are zero or one, and the ones must form a top-left-justified shape. The six possibilities have volumes 0,1,2,2,3,4, giving counts 1,1,2,1,1. At volume two the two shapes are a full first row or a full first column; both satisfy the monotonicity rule.
Selecting target volume two returns count two, while target −1 includes all volumes and returns six. Height zero permits only the all-zero array, regardless of the allowed row and column dimensions. These examples separate a count at one requested volume from the total number of plane partitions fitting inside the box.
Use MacMahon’s product as a total-count check
The all-volume box count is Πi=1..a Πj=1..b Πk=1..c (i+j+k−1)/(i+j+k−2). Although individual factors are rational, their complete product is an integer. The calculator checks its enumerated volume-count sum against this product, giving an independent check on the recursive traversal.
The product alone does not supply the individual volume distribution displayed by the form. It also makes symmetry among the three box dimensions visible, even though a height-array representation distinguishes rows, columns and heights. Equivalent permutations of box dimensions have the same total, but may not all fit this interface’s separate cell-count and height resource limits.
Recognize volume symmetry and search limits
Complementing heights and reversing both row and column order maps volume v to abc−v while preserving monotonicity. Therefore the volume distribution is symmetric around abc/2. In the 2×2×1 example, counts at volumes zero and four agree, as do counts at one and three. This is a check on exact combinatorial counts, not a probability distribution unless a sampling rule is added.
Enumeration can grow quickly despite a modest-looking box. The form limits height, cells and recursive states and returns an error if the complete search cannot finish within those bounds. It does not estimate missing counts. Ordinary integer partitions and unrestricted plane partitions are different families; applying their generating functions without the box constraints would answer another question.
A few questions, answered
What does volume minus one mean?
It selects all volumes; nonnegative values select one exact total height.
Why compare with MacMahon?
Its exact box product independently checks the sum of the enumerated volume counts.
Does target volume −1 mean negative cubes?
No. It is the interface selector for all volumes. Actual plane-partition entries and volumes are nonnegative.
Why are volume counts symmetric?
Complement heights relative to the box height and reverse both axes. This gives a bijection between volumes v and abc−v.