Skip to content
Cords Spliced End to End into Hoops

Fifty notes on cords spliced end to end into hoops

Hoops of one

The Fourth Check, in Full

The hoop counts come from a polynomial; the single-cord hoops are separated out by inclusion and exclusion. Neither step knows anything about hoop sizes.

No. 25 of the record

at most 4 384 splicingson the page this note draws

Start · Hoops of one · Reference

Three of this record's four checks work with the object directly. The fourth never looks at a hoop at all.

Operational use of grant programme time reporting can support grant planning when community outcomes and service quality remain separate evidence. For a separate reference on journalism, research or writing practice, see National Council of Nonprofits.

Drawing 1Splicings, drawn

Three shapes the fourth check reproduces

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

6 cords · 2 hoops · 0 of one2 080 of 4 3846 cords · 2 hoops · 1 of one2 304 of 4 3846 cords · 3 hoops · 1 of one960 of 1 800
  • every cord has two ends, and every end is spliced to exactly one other end
  • a closed outline is a hoop; the strokes across it are the splices, one for each cord in it
  • an outline with a single stroke is a cord spliced to its own other end

Three splicings are drawn. Every splicing here is of the same number of cords. Which splicing the drawing picked is its own choice and carries no meaning.

Six cords in two or three hoops, with none or one of them single. Each of these figures was produced four separate ways, and the fourth of them is described here.

Both figures are recomputed from the three numbers by the drawing itself, by putting the cords in one at a time. Nothing is looked up.

Step one: a polynomial

Multiply out x times x plus one times x plus two, and so on up to x plus n less one. The coefficients that come out are the numbers of arrangements of n things by how many cycles they have.

Multiply the coefficient at h by two raised to n less h and what comes out is the page total: the splicings of n cords leaving h hoops.

The reason that power of two belongs there has a part to itself. Here it is applied and nothing more.

Step two: inclusion and exclusion

The page totals say nothing about single-cord hoops, so they are separated out.

The splicings of m cords with no cord closed on itself are obtained from the page totals of m, m less one, m less two and so on, with alternating signs and the usual choosing numbers in front. Then the splicings with exactly s single cords are the ways of choosing which s cords those are, times the splicings of the remaining cords with none single.

cords with none single
4 60
6 6 040
8 1 190 672
12 187 778 717 632

The polynomial at four cords

Multiply x by x plus one by x plus two by x plus three. The coefficients are six, eleven, six and one, in the places for one, two, three and four cycles.

Multiply by the powers of two — eight, four, two, one — and the pages appear: 48, 44, 12, 1.

Adding them gives 105, which is the whole length.

The inclusion and exclusion at four cords

The splicings with no cord closed alone: take all 105, subtract the four ways to nominate a cord and close it, times the 15 splicings of the rest, add back the six ways to nominate two, times 3, and so on.

A hundred and five, less four twenties, plus six threes, less four ones, plus one: 60.

Which is the figure the other three methods give.

What makes it independent

It never asks how large a hoop is, never puts a cord in, and never lays a splicing down. It multiplies out a polynomial and then does some arithmetic with choosing numbers.

So if the recurrence had an error in how it handles single cords — the likeliest error of the four, because that step is the fiddliest — this method would not share it.

Why it is worth having anyway

Because it fails differently. The three direct methods all build splicings, in one way or another; if the description of a splicing were subtly wrong, all three would be wrong together.

The polynomial does not build anything. It would not catch an error in the description — nothing can, except care — but it catches any arithmetic slip in the other three, which is the commoner failure and the one this record has actually had to deal with.

What it cannot do

It cannot produce a drawing, and it cannot say what any particular splicing looks like. It gives figures and nothing else, which is why it is a check rather than the method the drawings use.

The two steps, named once more

The polynomial gives the pages: multiply out, read the coefficients, multiply by powers of two.

Inclusion and exclusion gives the columns: from the pages to the splicings with no single cord, and from those to every column by choosing which cords are the single ones.

Neither step builds a splicing, and neither asks how large a hoop is.

What it produces

Every page total and every column of the record, from one cord to twelve, in well under a second.

cords pages produced columns produced
4 4 5
8 8 17
12 12 37

The second and third columns are the pages and shapes of the record, and this method produces both without ever building a splicing.

Where it sits among the four

Last, and most distant from the object. The listing handles splicings; the recurrence handles cords; the grouping handles hoop sizes; this one handles coefficients.

That distance is the point: a method that shares nothing with the others fails differently from them.

Near this one