Generator

Subtraction of 1, 3, 4 — and the window that proves the period

Subtraction of 1, 3, 4 — and the window that proves the period
Subtraction of 1, 3, 4 — and the window that proves the period. The Grundy values of a subtraction game, with the window that certifies the period marked. Everything after the window follows from it by induction, because a value is a mex over values at most one move back — so a finite check settles the whole infinite sequence, and the thousands of further values computed here agree with a claim that was already proved.

The Grundy values of a subtraction game, with the window that certifies the period marked. Everything after the window follows from it by induction, because a value is a mex over values at most one move back — so a finite check settles the whole infinite sequence, and the thousands of further values computed here agree with a claim that was already proved.

6 essays call period-window. The drawing above is what it returns with no arguments at all; every call below passes it something, because a placement that passes nothing draws whichever member of the family the generator happens to default to rather than the one its essay argues about.

The positions it draws

35 distinct positions, harvested by running this generator again at the options each essay passed it.

PositionWorth OutcomeDrawn in
heap 52 ∗3 N A chess problem that turned out to be an octal game · What the arithmetic cost in 1956
heap 53 ∗3 N A chess problem that turned out to be an octal game · What the arithmetic cost in 1956
heap 54 0 P A chess problem that turned out to be an octal game · What the arithmetic cost in 1956
heap 55 ∗1 N A chess problem that turned out to be an octal game · What the arithmetic cost in 1956
heap 56 ∗1 N A chess problem that turned out to be an octal game · What the arithmetic cost in 1956
heap 71 ∗7 N Four values, and the sequence is settled for ever
heap 72 ∗4 N Four values, and the sequence is settled for ever
heap 73 ∗1 N Four values, and the sequence is settled for ever
heap 74 ∗2 N Four values, and the sequence is settled for ever
heap 75 ∗8 N Four values, and the sequence is settled for ever
heap 1 ∗1 N Four values, and the sequence is settled for ever
heap 2 ∗2 N Four values, and the sequence is settled for ever
heap 3 0 P Four values, and the sequence is settled for ever
heap 4 ∗1 N Four values, and the sequence is settled for ever
heap 5 ∗2 N Four values, and the sequence is settled for ever
heap 1 ∗1 N Four values, and the sequence is settled for ever
heap 2 ∗2 N Four values, and the sequence is settled for ever
heap 3 ∗3 N Four values, and the sequence is settled for ever
heap 4 0 P Four values, and the sequence is settled for ever
heap 5 ∗1 N Four values, and the sequence is settled for ever
heap 1 ∗1 N Four values, and the sequence is settled for ever · Two players, two lists
heap 2 0 P Four values, and the sequence is settled for ever · Two players, two lists
heap 3 ∗1 N Four values, and the sequence is settled for ever · Two players, two lists
heap 4 ∗2 N Four values, and the sequence is settled for ever · Two players, two lists
heap 5 ∗3 N Four values, and the sequence is settled for ever · Two players, two lists
heap 1 0 P Four values, and the sequence is settled for ever · Take one, three or four
heap 2 ∗1 N Four values, and the sequence is settled for ever · Take one, three or four
heap 3 ∗1 N Four values, and the sequence is settled for ever · Take one, three or four
heap 4 0 P Four values, and the sequence is settled for ever · Take one, three or four
heap 5 ∗2 N Four values, and the sequence is settled for ever · Take one, three or four
heap 1 0 P The period is small and the proof does not say so
heap 2 ∗1 N The period is small and the proof does not say so
heap 3 ∗1 N The period is small and the proof does not say so
heap 4 0 P The period is small and the proof does not say so
heap 5 ∗2 N The period is small and the proof does not say so

Where it is called

Changing this generator changes every one of these figures.

The Grundy values of ·137, and the exceptions to its period. An octal game's Grundy sequence, with the periodic part in gold and the exceptions in magenta. The exceptions are the point: a sequence described as eventually periodic contains values that disagree with the value one period later and always will, so the period is a statement about a tail and not about the sequence. The rule used to identify an exception is printed, because published lists of them differ by which convention was used. How it was found

A chess problem that turned out to be an octal game

Dawson posed it in 1934 as a puzzle about pawns. It is the octal game ·137, its Grundy sequence is eventually periodic with period 34 from heap 52 — and the word doing the work in that sentence is eventually, because five values below the start disagree with their repeats and always will.

Grundy values for subtraction of 1, 3, 4. The Grundy value of every heap size for a take-away game, computed by the mex rule. A period, if the figure marks one, was found by searching the computed sequence rather than assumed — and where no period is marked, none was found in the range drawn, which is not the same as there being none. Impartial games

Take one, three or four

A heap and a list of legal takes. It is the smallest interesting impartial game there is, and the only family in the subject where eventual periodicity is not observed, not conjectured, but guaranteed — with a bound on when it must appear.

Subtraction of 1, 3, 4 — and the window that proves the period. The Grundy values of a subtraction game, with the window that certifies the period marked. Everything after the window follows from it by induction, because a value is a mex over values at most one move back — so a finite check settles the whole infinite sequence, and the thousands of further values computed here agree with a claim that was already proved. What it costs

Four values, and the sequence is settled for ever

The Grundy values of a subtraction game repeat with period 7, and proving it needs a window of exactly four of them — one for each size of move the game allows. Everything past the window follows by induction. A finite computation has settled a claim about every heap there will ever be.

Grundy values for subtraction of 2, 5, 7. The Grundy value of every heap size for a take-away game, computed by the mex rule. A period, if the figure marks one, was found by searching the computed sequence rather than assumed — and where no period is marked, none was found in the range drawn, which is not the same as there being none. Impartial games

The period is small and the proof does not say so

Every subtraction game repeats eventually — that is a theorem, and its proof gives a bound of sixteen thousand for a three-move set. Over 112 sets the longest period measured is twenty-two. The proof and the fact are four orders of magnitude apart, and the rule of thumb that closes the gap is broken by one set in the sweep.

What each heap is worth. The value of a single heap of each size. Nothing here repeats: the forms grow deeper as the heap grows, which is what stops the impartial theory's periodic table from having an analogue. Particular games

Two players, two lists

Give each player their own list of how many counters they may take and the impartial theory stops applying. What survives is the outcome: it settles into a repeat, for every pair of lists, and that is a theorem. What does not survive is the value — on four of six pairs swept it has no repeat inside sixty heaps, and the birthdays are still climbing at the edge of the window.

What a certificate costs, in units of the one Guy and Smith wrote. Octal codes with the period of their Grundy sequence, the window a proof of that period needs, and the arithmetic each costs — counted as mex operations and exclusive-ors, which are the two things a person computing by hand actually performs. Everything is priced in units of the certificate for Dawson's chess, so the column reads as multiples of one hand computation rather than as a number of operations. Some codes cost tens of times as much, and some have no certificate at all. How it was found

What the arithmetic cost in 1956

The rung below ends by respecting a hand computation without pricing it. Priced in the operations a person actually performs, ·137's certificate is 7,919 of them — and the same sweep says ·47's is sixty-three times that, that a splitting move is what makes the cost quadratic, and that seventeen of sixty-four codes have no certificate at any price.

The whole library · The position index · The figures that play back