Skip to content
Twelve Places

Fifty notes on marks, runs and counted arrangements

The longest block

The Smallest Block Worth Counting

A longest block of two means something touched somewhere and nothing touched three deep. It is the commonest answer on more pages than any other.

at most 924 arrangements

Home · The longest block · Analysis

Two marked places side by side, and nothing anywhere in the row three deep.

It is the least dramatic thing that can happen to a row and it is the commonest answer on a great many pages.

Where aggregate totals hide handoffs, transparent team activity insights can add project-time context while the quality of the result remains a separate assessment. For a separate reference on the surrounding mathematical or data topic, see NumPy.

A longest block of two, three pages

ROWSHAPEPAGEWITH LSHARE8 / 4 / 2places / marks / block704057 per cent10 / 5 / 2places / marks / block25212048 per cent12 / 6 / 2places / marks / block92435038 per cent
  • a solid body on the line: that place is marked
  • a thin rule: that place is empty
  • a hairline notch: where one place ends and the next begins
  • a tick below the line: every fifth place

Three arrangements are drawn. Rows differ in length. Which places are marked is the drawing's own choice and carries no meaning.

The same length of block on three pages of different sizes. The column is the largest on the first two and the second largest on the third.

Both figures are recomputed from the three numbers by the drawing itself: the page by a binomial coefficient, the column by inclusion and exclusion over the gaps. Nothing here is looked up.

The figures

Four marks in eight places: forty of seventy arrangements have a longest block of exactly two. More than half.

Five marks in ten places: a hundred and twenty of two hundred and fifty-two, which is a little under half, and the largest column on that page.

Six marks in twelve places: three hundred and fifty of nine hundred and twenty-four, the second largest column, behind the three hundred and seventy-one with a longest block of three.

Why it dominates

Two forces push in opposite directions and this column sits where they balance.

Keeping every mark apart is hard once the row fills: it needs an empty place between each neighbouring pair, and the room for that runs out quickly. Getting a run of three or more is also hard: it needs three specific places to line up, and most arrangements never manage it.

So the arrangements pile up in the middle, and for roughly half-full rows the middle is two.

Where it stops dominating

As the row fills further.

Eight marks in twelve places: the column for a longest block of two holds fifteen arrangements of four hundred and ninety-five, and the tallest column has moved to four. Nine marks in twelve places has no column for two at all, because the floor has climbed to three.

The migration is steady and it has no sharp edge. A reader who learns that two is the usual answer from a half-full row and carries it to a three-quarters-full row will be wrong by two columns.

The step from one to two

It is the step that cannot be undone.

An arrangement with every mark apart is one adjacency away from a longest block of two, and there is no arrangement between them. The third number is a whole number and it jumps.

That matters when reading the drawings. A row drawn with a block of two and a row drawn with no block of two look very similar — one pair of marks has shifted by one place — and they sit in different columns with different counts. The difference is one place and it is categorical.

Why the record does not count pairs

A row might contain four separate blocks of two. The record calls its longest block two, exactly as it would for a row containing one.

Counting how many blocks of each length a row holds would be a different record, with far more shapes and far smaller columns. The decision to keep only the longest is taken once, at the start, and this is the page where it costs the most: on the half-full pages, the column for a longest block of two is holding arrangements that differ a great deal from one another.

A reader wanting those differences will not find them here, and nothing in the figures hints that they were dropped. This note is the hint.

The column across the crowded pages

Twelve places. The column for a longest block of exactly two runs eleven, ninety, two hundred and eighty-eight, four hundred and forty-eight, three hundred and fifty, a hundred and twenty-six, fifteen, and then nothing.

It peaks at five marks with four hundred and forty-eight, which is the largest single column anywhere in this record, and it is gone by nine marks, where the floor has climbed past two.

So the commonest-looking answer in the record has a life of seven pages out of thirteen, with a sharp peak in the middle and nothing at either end.

Why its peak is where the page peak is not

The page peaks at six marks; this column peaks at five.

One page earlier, because the column is squeezed from both sides: it needs enough marks that something touches, and few enough that nothing reaches three. The second condition bites first as the row fills, so the column turns over before the page does.

One page is not much of a gap and it is a real one. A reader assuming the biggest column sits on the biggest page would be wrong, and the two figures — four hundred and forty-eight on a page of seven hundred and ninety-two, against three hundred and seventy-one on a page of nine hundred and twenty-four — make the point without any argument.

The one-place difference, in full

Four marks in eight places with every mark apart: five arrangements. Marks at places one, three, five and seven; or one, three, five and eight; or one, three, six and eight; or one, four, six and eight; or two, four, six and eight.

That is the whole column, and writing it out shows how tight the room is. Eight places and four marks leaves four empty, five stretches, and four marks in five stretches with one each: five ways, which is the binomial coefficient of five things taken four at a time.

Every other arrangement on that page — all sixty-five of them — has something touching. Forty of them stop at two.

Near this one