Skip to content
Chords Drawn Inside a Rim of Corners

Fifty notes on chords drawn inside a rim of corners

How the figures were made

Where the figures come from

Four counts, run against one another at every length from three corners to twenty.

The listing. A program in C that produces every cut-up separately and reads its three numbers off the finished object. It is the only part of this record not written in Python, and the only one slow enough to matter: twenty corners took an hour and three quarters of processor time, split across eighteen passes run two at a time.

The chamber recursion. Every cut-up has exactly one chamber standing on a marked side of the rim. That chamber's corners divide the rim into gaps, and summing over the ways the gaps can be sized gives every triple of this record. It finishes instantly at every length.

The page formula. Two binomial coefficients over the chord count plus one. It gives any page outright and knows nothing of quiet corners.

The three-term rule. Each length from the two before it. It gives the eighteen totals and knows nothing of chambers.

A fifth expression — a sum of products of two binomials and a power of two — is used only to check that the three-term rule has not been mistyped. It never produced a figure printed here.

How the drawings are made

From three numbers, each time the site is built. The procedure lays out an actual cut-up with those numbers, then reads the finished picture back: it counts the chambers by walking round them, counts the corners no chord reaches, and adds the side figures printed inside the chambers to see whether they come to the corner count plus twice the chords.

If any of those readings disagrees with what was asked for, no drawing is printed. A short line under the key names the row and the reason instead. That has not happened to any row of this record, and it happens at once to a row invented to test it.

What is checked before anything is published

The canon is rebuilt from the listing, the recursion, both formulas and the fifth sum, and all of them have to agree. Separately, the prose is run through sieves: one for figures of four digits or more, which must be figures of the record; one for vocabulary; one for repetition inside the record; and one against 128 unrelated bodies of text.

A disagreement anywhere stops the build. Nothing here was published with a check switched off.

What was wrong before it was right

The first listing restored its state incorrectly on backing out of a branch and gave the wrong figures at the smallest lengths, where they could be counted by hand. It was caught there.

The obvious sieve for the third number assumed that holding any two corners quiet admits the same number of cut-ups. It does not: on a five-cornered rim two neighbouring corners admit two and two separated corners admit four. The sieve produced a negative figure, which is how an error of that kind announces itself, and the correction took an afternoon. The fifth part of this record is about it.

The conventions

Figures of four digits or more are spaced in threes by a thin space. Nothing is rounded. Nothing is abbreviated. No figure is broken across a line. Numbers up to twelve are spelled out and larger ones set in digits, except at the head of a sentence.

Every figure here is a count of whole things. The only exceptions are the rates in the first part, which are ratios, and each is given with about in front of it and both of its parents printed nearby.