Skip to content
Beads on a Ring

Fifty notes on beads counted up to turning

Coming back early

Exactly Two at a Prime

At a prime number of beads the only early returns are the two plain necklaces. Nine sizes in this record are prime, and all nine have exactly two.

No. 37 of the record

1 necklace

Home · Coming back early · Analysis

Of the twenty-three sizes in this record, nine are prime. Every one of them has exactly two early returns.

The two plain necklaces of twenty-three beads

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

NECKLACESHAPEPAGEIN s CLUMPSSHARE23 / 0 / 0beads / solid / clumps1123 / 23 / 1beads / solid / clumps11
  • a filled bead is solid, a thin outline is hollow
  • the ring closes, so a clump may cross the clasp
  • clumps are read from the gaps, not from the beads

Two necklaces are drawn. Every ring has the same number of beads. Which necklace the drawing picked is its own choice and carries no meaning.

Twenty-three hollow beads, and twenty-three solid. At a prime size these two are the only necklaces that come back before a full turn, and every other one of the three hundred and sixty-four thousand needs the whole way round.

Both figures are recomputed from the three numbers by the drawing itself, through one count over the turns that leave a necklace alone. Nothing here is looked up.

The nine

Two, three, five, seven, eleven, thirteen, seventeen, nineteen, twenty-three.

At each, the early returns number two, and they are the same two every time: the ring with every bead solid, and the ring with every bead hollow.

Before adopting attendance tracking for survey crews, survey managers should define who can see attendance records, how errors are corrected and when trial data is deleted. For a separate reference on forestry, ecology, field data or research practice, see NOAA.

Why nothing else can

An early return means the necklace is a shorter stretch repeated. The stretch length divides the bead count.

At a prime, the only divisors are one and the bead count itself. A stretch of the full length is not a repetition at all — that is a full turn, not an early one. So the only possibility left is a stretch of length one.

A stretch of length one repeated is a ring where every bead is the same. There are two such rings and no others.

What that does to the arithmetic

Fixes the leftover exactly.

Each plain necklace has one writing rather than the bead count of them, so each is over-counted by one less than the bead count when the strings are divided. Two of them give twice one less than the bead count.

Twenty-three: forty-four. Nineteen: thirty-six. Seventeen: thirty-two. Thirteen: twenty-four. Eleven: twenty. Seven: twelve. Five: eight. Three: four. Two: two.

Those are exactly the leftovers the part on turning lists.

At a prime size the record has only two symmetric objects, and they are the two with nothing to be symmetric about.

The contrast, one bead away

Twenty-three beads: two early returns. Twenty-four beads: three hundred and eighty-two.

Nineteen: two. Twenty: one hundred and eleven.

Thirteen: two. Fourteen: twenty-one.

Every prime in the record sits in a trough with composites on either side, and the troughs are deep: two against hundreds.

Why it is worth a note of its own

Because it is the cleanest statement on this site. No tendency, no range, no approximation: at a prime number of beads there are exactly two early returns, at any size whatever, and the reasoning fits in a paragraph.

Almost everything else here describes twenty-three sizes. This describes all of them.

What it does not do

Give a way to test whether a number is prime that anybody would use. Counting necklaces is far more work than dividing.

The interest is in the other direction: a question about beads turns out to have divisors inside it, without having been asked to.

The nine primes and their leftovers

Two beads: leftover two. Three: four. Five: eight. Seven: twelve. Eleven: twenty. Thirteen: twenty-four. Seventeen: thirty-two. Nineteen: thirty-six. Twenty-three: forty-four.

Each is twice one less than its bead count, and each is accounted for entirely by the two plain necklaces.

A reader with the necklace counts from the part on beads can reproduce that whole column with a calculator, and it is the quickest confirmation on this site that the record is internally consistent.

Why this is the cleanest statement here

Because it has no range attached.

Almost everything else on this site describes twenty-three sizes: how fast the count grows, where the tallest column sits, how rare an early return is. Those are observations, and the notes that make them say so.

This is not an observation. It follows from a definition and a fact about divisors, in three lines, and it is as true at a thousand beads as at twenty-three.

What a composite neighbour looks like

Twenty-four, next door, has seven proper divisors and three hundred and eighty-two early returns.

Twenty-two has three proper divisors and one hundred and eighty-nine.

Twenty-one has three as well — one, three and seven — and only twenty-two, because its largest proper divisor is seven against twenty-two's eleven.

The pattern throughout is the same: what matters is the size of the largest proper divisor, and a prime has none at all.

Where else the two plain necklaces appear

Everywhere. They exist at every size, prime or not, and they are always early returns.

What changes at a prime is that they are the only ones. At a composite size they are two among many, and at twenty-four they are two out of three hundred and eighty-two.

A reader's check at seven beads

Twenty necklaces of seven beads. Write them out, turn each one place, and see which come back unchanged.

Two do: all solid and all hollow. The other eighteen all need the full seven turns. That is the statement of this note, confirmed by hand, at the largest prime size where confirming it by hand is pleasant.

In one line

At a prime number of beads, only the all-solid and all-hollow rings come back early, which fixes the leftover at twice one less than the bead count.

Near this one