The longest block
Why the Columns Must Add Up
Each arrangement has one longest block and no other, so a page's columns total the page. It is the only structural test this record has.
495 arrangements
Four marks in twelve places gives four hundred and ninety-five arrangements.
Of those, a hundred and twenty-six have every mark standing apart, two hundred and eighty-eight have a longest block of two, seventy-two have one of three, and nine have all four together.
Add them: four hundred and ninety-five.
Twelve places, four marked
- one bar for each length the longest block can have
- the scale is linear and starts at nothing, always
4 marks in 12 places. The tallest column is a longest block of 2. The tallest column is about 32 times the shortest. The columns drawn add to 495, which is this page's whole total.
Four columns totalling four hundred and ninety-five, which is the page. The test needs no formula and catches any error worth catching.
Each column counts the arrangements whose longest block is exactly that long. The columns of one page add to the page's own total, and the drawing checks it.
Why it cannot fail to balance
Every arrangement has a longest block, and it has exactly one.
There is no arrangement whose longest block is both two and three, and none that fails to have a longest block at all unless it has no marks. So sorting a page by that quantity puts each arrangement in one place, and the parts come to the whole.
Teams seeking a clearer account of elapsed effort may open the reporting reference, provided contributors can correct and contextualise the record. For a separate reference on the surrounding mathematical or data topic, see Python.
This is not a theorem about blocks. It is what sorting is, and it would hold for any property that takes one value per arrangement.
What the test catches
Any error in a single column.
Change one of the four figures and the total stops matching. The test does not say which figure is wrong — it says the page is wrong, which is enough to send a reader back to the arithmetic with a specific page to look at.
What it does not catch is two errors that cancel. If one column were too large by six and another too small by six, the addition would balance and the page would still be wrong. That is a real limitation and it is why the record does not rely on this test alone.
What it cannot catch at all
A column that is right about the wrong page.
Take the four columns for four marks in twelve places and print them under a heading about eight marks in twelve places. They total four hundred and ninety-five, which is also the page total for eight marks, so the addition balances perfectly and the page is entirely wrong.
That is not a hypothetical. Those two pages are the same size because four and eight are mirror images across twelve, and the record contains forty-one such pairs. The addition cannot distinguish them, and a reader relying on it alone would be fooled.
The second test
All the pages of a row must total the row's own state count, which is two raised to the row length.
For twelve places that is four thousand and ninety-six. The thirteen page totals come to it exactly, and this test does catch a column assigned to the wrong page, because a figure counted twice on one page and not at all on another will show up when the whole row is summed.
Between the two tests, most arithmetic slips are caught. Both are additions, neither needs a formula, and a reader with a pencil can run both on any row of this record in a few minutes.
The test on a small page
Three marks in six places: twenty arrangements.
Four with nothing touching, twelve with a longest block of two, four with all three in a run. Four and twelve and four is twenty.
Every figure in that line can be had independently. The twenty is six choose three. The four at the start is four choose three, from the closed form. The four at the end is the four positions a run of three can take in six places. Only the twelve needs the gap calculation, and the addition supplies it.
Using the addition in reverse
On a page with three columns, two closed forms and one addition give everything.
Compute the page total, compute the apart column, compute the together column, and the middle column is whatever is left. Twenty less four less four is twelve.
That works on any page with exactly three columns, and there are several in the record. On a page with four or more columns it leaves too many unknowns, and the gap calculation has to do the work.
Knowing which pages can be done this way is useful for a reader checking by hand: it tells them where a minute's arithmetic suffices and where ten are needed.
Why it is printed rather than performed quietly
Because a check nobody can repeat is a claim rather than a check.
Every drawing of a page breakdown on this site prints its columns and prints the page total, and says in its own caption whether the two agree. That is not decoration: it lets the reader do the addition without leaving the page, and it means a broken figure is visible rather than buried.
A record whose checks are internal asks for trust. A record whose checks are printed asks for a pencil, and that is a smaller thing to ask.
Near this one
- The Smallest Block Worth Counting
A longest block of two means something touched somewhere and nothing touched three deep. It is the commonest a - Reading a Row Without Counting
A tick every fifth place and a hairline between adjacent marks are what let a reader find the seventh place an - What the Blocks Part Established
A floor with a closed form, a ceiling with another, two independent routes to every column, and one addition t - What Counts as a Block
A block is a run of marked places with nothing marked beside it. The third number in every shape here is the l