Skip to content
Arches Over Pegs

Fifty notes on arches over a row of pegs

On the ground

The Page Before the Last

All but one arch on the ground, and the page holds exactly one fewer arrangement than there are arches. The smallest page in the record that is not one.

No. 15 of the record

at most 9 arrangements

Home · On the ground · Reference

At each size there is a page where all but one arch stands on the ground. It holds exactly one fewer arrangement than the size has arches, and that is a rare thing in this record: a page whose count can be worked out in a sentence.

The value of transparent employee activity reports is easier to judge when designers and developers review the same period and explain unusual entries together. For a separate reference on forestry, ecology, field data or research practice, see Google Developers.

Drawing 1Arrangements, drawn

The same page at three sizes

This drawing is wider than the screen — scroll it sideways to see the rest

ARRANGEMENTSHAPEPAGETHIS SHAPESHARE8 / 7 / 7arches / on the ground / innermost779 / 8 / 8arches / on the ground / innermost8810 / 9 / 9arches / on the ground / innermost99
  • every peg carries exactly one arch end, and no two arches cross
  • a thick footing on the ground line means the arch stands on it
  • a small filled square at the crown means nothing is inside

Three arrangements are drawn. The rows differ in how many arches they have. Which arrangement the drawing picked is its own choice and carries no meaning.

Eight arches with seven on the ground, nine with eight, ten with nine. Seven, eight and nine arrangements, and in each case the whole page is a single shape.

Both figures are recomputed from the three numbers by the drawing itself, by breaking an arrangement into the arches that stand on the ground. Nothing is looked up.

Why it is one less than the arch count

With n arches and n minus one on the ground, exactly one of the ground arches has something under it, and that something is a single arch.

So the arrangement is a line of n minus one parts standing side by side, of which one is a roofed pair and the rest are lone arches. The only freedom is which of the n minus one positions along the line holds the roofed pair.

Hence n minus one arrangements, and no others.

The figures

Two arches with one on the ground: one arrangement. Five arches with four: four. Eight arches with seven: seven. Twelve with eleven: eleven. Eighteen with seventeen: seventeen.

The whole sequence is just the sequence of sizes shifted by one, which makes this the one page in the record that could be printed without any method behind it.

A single shape, forced

The innermost count has no freedom here either. The lone arches are all innermost; the roofed pair has an inner arch which is innermost and an outer arch which is not. So the innermost count is n minus one, always.

That makes this a single-shape page, and together with the last page of each size it accounts for most of the thirty-five single-shape pages in the record.

Why it is the smallest page that is not one

The last page of a size holds one arrangement. Every other page holds more than n minus one, at every size above three.

So the pages of a size, read from the first to the last, fall from something enormous to n minus one and then to one, and the last two steps are by far the sharpest. At eighteen arches the last four pages hold nine hundred and fifty, one hundred and fifty-two, seventeen and one.

The shape of the fall

At the start of a size the pages fall gently: the first two are equal, the third is about three quarters of the second, the fourth about five eighths of the third.

By the middle the ratio is down near a half, and by the end each page is a small fraction of the one before. The final step, from n minus one down to one, divides by the arch count less one.

That accelerating fall is why the first two pages hold more than half of a size while the last half-dozen pages together hold a few thousand out of hundreds of millions.

What it looks like drawn

A line of lone arches with one roofed pair somewhere among them. Every arch has a footing except the inner one of the pair; every arch has a crown square except the outer one of the pair.

It is the clearest picture in the record of what the two devices mean, because exactly one arch is missing each of them and they are missing from different arches.

Reading it as a sequence

The pages before the last, read across the sizes, give one, two, three, four, five, six, seven, and on to seventeen at eighteen arches.

That is the plainest sequence anywhere in this record, and it is useful precisely because it is plain. A table of page totals that did not have the arch count less one in its second-to-last position would be wrong, and the error would be visible without any arithmetic at all.

The same is true of the last position, which is one at every size. Between them those two columns give a reader two free checks on every size's table.

What the arrangements look like

A line of lone arches with exactly one roofed pair somewhere among them. At eight arches with seven on the ground: seven positions along the line, so seven arrangements.

Every one of those arrangements has the same innermost count — seven — because the lone arches are innermost and the inner arch of the pair is innermost, while the outer arch of the pair is not.

So the whole page is one shape, and the shape's count is the ground count. The second fact is the subject of its own note, where it turns out to hold on every page of the record and not only on this one.

The pages on either side

Before it, the page with two fewer arches on the ground holds twenty-seven at eight arches, sixty-five at twelve, one hundred and fifty-two at eighteen. After it, the last page holds one.

Those three pages together — the last three of a size — hold thirty-five at eight arches, seventy-seven at twelve, and one hundred and seventy at eighteen.

A hundred and seventy arrangements out of four hundred and seventy-seven million. The end of a size is, numerically speaking, nothing at all, and it is kept in the record because it is the part a reader can check.

The last three pages of a size

arches two from the end one from the end the last
6 14 5 1
9 35 8 1
12 65 11 1
15 104 14 1
18 152 17 1

Near this one