The arches
Arches Over a Row of Pegs
Pegs in a line, joined in pairs by arches, none of them crossing. The object this whole record counts, described before anything is counted.
42 arrangements
Home · The arches ·
Set an even number of pegs into the ground in a straight line. Join them in pairs with arches, so that every peg carries exactly one arch end and none is left over. Allow one arch to sit wholly under another or wholly beside it. Forbid the case where two arches cross.
Technical teams considering software team productivity insights should include one blocked task, a corrected entry and a shared review of the resulting report. For a separate reference on forestry, ecology, field data or research practice, see Figma.
That is the object. Everything on this site counts arrangements of it, and the whole of the rest of this part is about how many there are.
Drawing 1One arrangement, in full
Six arches, two on the ground
This drawing is wider than the screen — scroll it sideways to see the rest
- 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
- a letter stands over the crown of each arch on the ground, A onwards
One of 15 arrangements with these three numbers. Its page holds 42, so about 1 in 3. The drawing picked one of them and the choice carries no meaning.
Six arches over twelve pegs, two of them standing on the ground and four with nothing inside. Fifteen arrangements answer to those three numbers; this is one of them.
One of the arrangements this shape allows, drawn in full. Which of them the drawing picked is its own choice; every arrangement of this shape counts the same.
Why crossing is forbidden
It is a choice, and the record would still be a record without it — a much larger and much less interesting one.
With crossing allowed, two arches can be laid down in three ways: apart, nested, or interleaved. Forbidding the third leaves a structure where every arch has a clear inside and a clear outside, and where the question what is under this arch always has an answer that is itself an arrangement.
That property is what makes the whole count tractable. It is also what makes the drawings legible: a picture of nested and adjacent arches can be read at a glance, and a picture of arches crossing one another cannot.
The smallest cases, by hand
Two pegs. One arch, joining them. One arrangement.
Four pegs. Two: either two small arches side by side, or one wide arch over an inner one.
Six pegs. Five. Three small arches in a line; a wide arch over two small ones; a wide arch over one arch over another; a small arch followed by an arch over an arch; and that last one reversed.
Eight pegs. Fourteen. This is already more than most people care to draw, and the listing from here on was done by machine.
Ten pegs. Forty-two.
One, two, five, fourteen, forty-two — a sequence that has been known for a very long time, under several descriptions, and which this record arrives at from its own definition rather than borrowing.
The ratio creeps towards four
Divide each count by the one before it: two, two and a half, two and four fifths, three, three and a seventh. The ratios climb, slowly, and they never reach four.
At eighteen arches the ratio is about three and sixty-eight hundredths. At a hundred arches it would be about three point nine-four. It approaches four from below and arrives nowhere, which means the counts climb a little slower than quadrupling at every step, and that small shortfall is what makes eighteen arches reachable at all.
Two more questions asked of every arrangement
An arrangement is not only a count of arches. This record asks two further things of each one.
How many arches stand on the ground? An arch stands on the ground when nothing covers it. There is always at least one and there can be as many as there are arches.
How many arches are innermost? An arch is innermost when nothing sits inside it. Again there is always at least one, and the two counts turn out to be tied to one another in a way that rules out most of the pairs you might write down.
What the record does not ask
It does not ask how far down an arch sits. An arch covered by four others and an arch covered by one are, to this record, two arches with nothing distinguishing them.
That omission is kept deliberately and it is kept visually as well as arithmetically: on every drawing here, an arch is drawn higher only because it spans more pegs. Two arches of the same span are the same height whether one is buried under three others or none at all.
The whole of the record in one paragraph
Arches from one to eighteen; nine hundred and eighty-seven triples of numbers that actually occur; one hundred and seventy-one pages, where a page is a size together with a ground count; six hundred and fifty-six million forty-three thousand eight hundred and fifty-six arrangements, every one of them written out separately at least once to be sure of the totals.
The largest page anywhere here holds one hundred and twenty-nine million six hundred and forty-four thousand seven hundred and ninety arrangements, which is both the page of eighteen arches with one on the ground and the page of eighteen arches with two on the ground. Those being the same number is not a coincidence, and the part on the ground count says why.
Where the three numbers sit in the record
The arch count settles which size an arrangement belongs to, and the record covers eighteen sizes holding one, two, five, fourteen, forty-two, one hundred and thirty-two, four hundred and twenty-nine, one thousand four hundred and thirty, four thousand eight hundred and sixty-two, sixteen thousand seven hundred and ninety-six, and on up to four hundred and seventy-seven million six hundred and thirty-eight thousand seven hundred.
The ground count settles which page within that size. A size with n arches has exactly n pages, so the eighteen sizes between them hold one hundred and seventy-one pages.
The innermost count settles which shape on that page. Here the possibilities are fewer than they look: the innermost count is at least the ground count and at most one less than the arch count, unless every arch stands alone, and that single constraint removes more than half of the triples a reader might write down.
What survives is nine hundred and eighty-seven shapes, which is one plus n times n minus one over two summed over the eighteen sizes.
What a reader can check without machinery
The first four sizes, entirely. One arrangement, then two, then five, then fourteen, and all of them can be drawn on the back of something in a few minutes.
The last two pages of every size, at any size at all. The page where every arch stands alone holds one arrangement; the page before it holds one fewer than the arch count. Both figures can be derived in a sentence and checked against any table here.
Everything else needs a method, and the part called Where it stops sets out the four used and says which of them decided the ceiling.
The first ten sizes
| arches | pegs | arrangements |
|---|---|---|
| 1 | 2 | 1 |
| 2 | 4 | 2 |
| 3 | 6 | 5 |
| 4 | 8 | 14 |
| 5 | 10 | 42 |
| 6 | 12 | 132 |
| 7 | 14 | 429 |
| 8 | 16 | 1 430 |
| 9 | 18 | 4 862 |
| 10 | 20 | 16 796 |
Near this one
- The Sizes You Can Count by Hand
One, two, five, fourteen, forty-two. The first five sizes small enough to be written out on paper, and what ea - How Many Over Thirty-Six Pegs
Four hundred and seventy-seven million six hundred and thirty-eight thousand seven hundred arrangements of eig - Growth That Never Reaches Four
Each size is a little under four times the one before it, and the ratio climbs towards four without arriving. - Why No Two Arches Cross
Forbidding crossings is a choice, not a fact about arches. What the choice buys, what it costs, and what the r