The longest chain
Counting the Deepest Arrangements
At the ceiling every level below the first holds exactly one item, so the arrangement is an ordering, and orderings are counted by factorials.
117 649 arrangements
The deepest column of a page is the one place where a column has a closed form, and the reason is that at the ceiling there is almost nothing left to choose.
Seven items under one top, split by depth
- one bar for each depth the longest chain can have
- the scale is linear and starts at nothing, always
- a bar drawn the full width would be 43 680 arrangements
Seven items with one top. The tallest column is a depth of five. The tallest column is about 6240 times the shortest. The columns drawn add to 117 649, which is this page's whole total.
Six columns, the whole page. The last of them, five thousand and forty, is seven factorial, because at the ceiling the arrangement is nothing but an ordering of the seven items.
Each column counts the arrangements whose longest chain is exactly that many items. The columns of one page add to the page's own total, and the drawing checks it.
Why the ceiling is rigid
The ceiling is items less tops, plus one. Reaching it means every level below the first holds exactly one item — if any level held two, there would not be enough items left to fill the remaining levels.
A useful trial of project activity reporting tools starts with a narrow question, the minimum necessary data and a scheduled review of false signals. For a separate reference connected with mathematics, research practice or conference work, see Isaac Newton Institute.
So an arrangement at the ceiling consists of the tops on the first level and then a single chain hanging below, one item per level.
That is a far more constrained object than a general arrangement, and constrained objects are easy to count.
The count
Choose which items form the chain and in what order; choose which top the chain hangs from.
Taking the one-top case first, since it is cleanest: at seven items one of them is the top and six hang below. Choose which item is the top, seven ways, then order the remaining six beneath it, six factorial, which is seven hundred and twenty. Seven times seven hundred and twenty is five thousand and forty, which is seven factorial.
So on the one-top page, the deepest column is simply the factorial of the item count. Eight items: forty thousand three hundred and twenty.
At the ceiling an arrangement is just an ordering, and orderings are the thing factorials count. Everywhere else on the page, the counting is harder.
The general form
With more tops, start from the item count's factorial again and divide out the orderings of the tops not carrying the chain — there is one fewer of those than the top count, so it is their factorial that comes off.
Eight items with three tops: eight factorial over two factorial, twenty thousand one hundred and sixty. Eight items with five tops: eight factorial over four factorial, one thousand six hundred and eighty. Eight items with seven tops: eight factorial over six factorial, fifty-six.
The division by a factorial is the familiar correction for things that are not ordered among themselves — here, the tops that are not the one the chain hangs from. They stand side by side on the first level in no order, and dividing removes the orderings that were counted but do not exist.
Where the formula stops
On the page where every item is a top it gives the item count, and the right answer is one.
The reason is that the derivation assumes a chain exists. With no items below the first level there is no chain to order and no top to hang it from, and the correction being divided out is not the right correction.
Eight items with eight tops: the formula says eight, the record says one. The record is right and the formula is stated with its condition attached: it holds whenever at least one item is not a top, which is every page but seven.
That a clean formula should fail at exactly one boundary case is ordinary. What matters is that the boundary is known and declared rather than discovered later by somebody relying on it.
Why the general form has a division in it
With one top the count was a straightforward ordering. With several tops a correction appears, and it is worth seeing where.
Take eight items with three tops at a ceiling of six. The arrangement is three tops on the first level and a chain of five items below, hanging off one of them.
Lay all eight items in a row: eight factorial. Read the first three as the tops and the last five as the chain, deepest last, with the chain hanging from the first of the three.
Every arrangement arises this way, but each arises more than once, because the two tops that are not carrying the chain could have been written in either order. Two orderings, one arrangement.
So divide by two factorial. Eight factorial over two is twenty thousand one hundred and sixty, which is the record's figure.
In general the tops not carrying the chain number one less than the top count, and dividing by their factorial removes exactly the duplicates. That is the whole of the correction, and it is also exactly the step that has nothing to correct when there is no chain.
The size of the deepest column
Smaller than you might think, given how much attention the deepest case attracts.
On the seven-item, one-top page it is five thousand and forty out of one hundred and seventeen thousand six hundred and forty-nine, about four per cent. On the eight-item, one-top page it is forty thousand three hundred and twenty out of two million and ninety-seven thousand, one hundred and fifty-two, under two per cent.
So the deepest arrangements are rare — just not nearly as rare as the shallowest, which on the same page number eight.
Near this one
- A Formula for the Deepest Column
The factorial of the item count over the factorial of one less than the top count, with one page in the record - Two Pages That Share a Deepest Column
Eight items with one top and eight items with two tops have deepest columns of exactly forty thousand three hu - Fourteen Pages with Only One Column
On two fifths of the record's pages the first two numbers determine the third, so the third tells you nothing - How Depth Behaves Across the Record
Ninety-one columns across thirty-five pages, and the pattern holds everywhere: thin at the shallow end, a hump