Series

Subtraction — the series

4 essays on one idea, from the one that introduces it to the one that assumes the rest.
  1. 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.

    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.

    part 1 · impartial
  2. 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.

    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.

    part 2 · impartial
  3. Blocks of three, and a two past eight. The Grundy values of the subtraction game with takes 3 and 8, for heaps 0 to 32. The sequence has period 11 from the start; within a period the values come in blocks of three alternating 0 and 1, and the even block that reaches past 8 holds 2 instead of 0.

    Two takes, one line

    A subtraction game with two legal takes, a and b, has a Grundy sequence that fits in one sentence: cut the heap's remainder modulo a + b into blocks of a, alternate nought and one, and turn every even block at or past b into a two. The proof is three cases long and holds for every pair. Add a third take and the sentence has no successor — but it does not vanish. The period of a three-take game is a sum of two of its takes six times in seven, which sum is decided by the third take's remainder modulo the first two's period, and the long irregular periods cluster on the one arrangement where the third take is the other two added together.

    part 3 · impartial
  4. A formula for the sum. The subtraction games {a, b, a + b} for every a < b ≤ 80: the period formula agrees with the exact period on all 3,160; 1,195 pairs share a factor, 1,362 coprime pairs are in the short case and 603 in the long; no pair has a preperiod; the longest period is 6,318.

    The third take is the other two

    A subtraction game whose third take is its first two added together was where the long irregular periods of three-take games clustered, and the question was whether that one arrangement has a formula or is where the formulas stop. It has one. Divide out any common factor and look at the heap one short of the middle take: if it would be a loss when only the smallest take is allowed, the period is the smallest take times twice the middle take plus a remainder, otherwise it is short and the whole sequence is two bands of blocks. The formula gives the exact period of every one of the 3,160 games to eighty.

    part 4 · impartial

All series