The longest block
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 length of the longest one.
792 arrangements
A block is a run of marked places with nothing marked on either side of it.
A row can hold several. The record keeps the length of the longest and discards the rest.
If a project repeatedly exceeds its estimate, managers can read the official documentation and inspect the task history before changing capacity. For a separate reference on the surrounding mathematical or data topic, see SageMath.
Twelve places, five marked
- a solid body on the line: that place is marked
- a thin rule: that place is empty
- the bracket below: the longest unbroken block, which is the third of the three numbers
224 of this page's 792 arrangements have a longest block of 3. The shortest any arrangement here could manage is a block of 1.
The bracket marks the longest unbroken block. Two shorter blocks sit elsewhere in the same row and do not enter the shape at all.
One of the arrangements this page allows, drawn in full. Which places are marked is the drawing's own choice; every arrangement with this longest block counts the same.
Reading one off
Take a row where the first two places are marked, the third empty, the fourth marked, the fifth and sixth empty, and the last six marked in a run.
Three blocks: one of two, one of one, one of six. The longest is six, so the third number of this shape is six.
That the row also contained a block of two and a block of one is not recorded anywhere. It is visible in the drawing and absent from the figures.
What gets thrown away
A great deal, and deliberately.
How many blocks there were. Where the longest one sat. Whether the others were nearly as long or much shorter. Whether the marks clustered at one end or spread evenly.
Two rows with the same three numbers can look entirely unalike. One arrangement of five marks in twelve places with a longest block of three might put the other two marks together at the far end; another might scatter them. Same shape, same column, same figures.
Why keep only the longest
Because it is the one quantity that answers the question the record was built around: how long a run can appear without anything unusual having happened.
Keeping the whole multiset of block lengths would be a richer record and a very different one. The number of shapes would grow from two hundred and sixty-one into the thousands, no column would be large enough to be interesting, and the arithmetic would stop being checkable by hand.
Keeping only the count of marks would be poorer: it would say nothing about runs at all, and the record would have nothing to record.
The longest block is the smallest piece of information that makes the question answerable, and smallest is the right target.
The boundary cases
A single mark with empty places either side is a block of one. Marks at the very start or very end of a row are blocks like any other; the edge of the row counts as a boundary, the same as an empty place.
A row with no marks has no blocks, and its longest is written as nothing. A row with every place marked has one block as long as the row.
Blocks of empty places
The record does not count them.
A reader could ask the mirror question — how long is the longest run of empty places — and it would be a perfectly good question with perfectly good answers. It is not this record's question, and the two are not related by any symmetry, which a later part takes up at length.
Mentioning it here is a precaution. A figure from this record answers a question about marks. Applying it to gaps would be wrong, and nothing in the figure itself would say so.
Two rows, same shape
Twelve places with five marked. Marks at the first, second, third, fifth and ninth places: blocks of three, one and one, longest three.
Marks at the fourth, fifth, sixth, eleventh and twelfth: blocks of three and two, longest three.
The same three numbers describe both. One has three blocks and the other two. One puts its long run at the start, the other in the middle. Neither difference reaches any figure in this record.
Where the longest is tied
A row can have two blocks of equal maximum length.
Twelve places with six marked, in two runs of three with empty places between them: the longest block is three, and there are two of them.
Nothing in the record distinguishes that from a row with one run of three and three scattered single marks. Both are counted in the three hundred and seventy-one arrangements of that page whose longest block is three.
The word longest is doing less work than it appears to. It names a length, not a particular run, and when several runs share that length the record has no way to say so.
What the third number ranges over
From a floor the page fixes up to the number of marks.
The ceiling is easy: the longest block cannot be longer than the number of marks, and it reaches that length when every mark is in one run. The floor is less obvious and gets a note of its own, because for crowded rows it is not one.
Between those two, every length is achievable, with no gaps. That last fact is quiet and useful: a page's columns run continuously from its floor to its ceiling, so a missing column means an error rather than a curiosity.
Near this one
- The Shortest Block a Page Allows
Seven marks in twelve places must put two of them together. The shortest possible longest block has a closed f - When Every Mark Is in One Block
A single unbroken run of all the marks can sit in as many positions as the row has spare places, plus one. The - Counting by the Gaps Instead
Thirty of the fifty-six ways to put three marks in eight places have a longest block of two, and the figure co - Two Routes to the Same Column
Every column here was produced twice, by methods that share no step. Agreement on all two hundred and sixty-on