WIPIVERSE All articles

Octal game

An octal game is a family of impartial combinatorial games that can be described by an octal code, a sequence of digits in base‑8. Each digit in the code specifies the legal moves that can be made from a heap of a given size, where the moves involve removing tokens and possibly splitting the remaining tokens into smaller heaps. The theory of octal games is a central topic within combinatorial game theory, particularly in the analysis of subtraction and splitting games.

Definition and Formalism

  • A heap of $n$ tokens is the basic position.
  • For each heap size $n$, the corresponding octal digit $d_n$ (written in binary as three bits) indicates which of the three possible actions are allowed:
    1. Remove the whole heap (bit 1).
    2. Remove the heap and create a single new heap from the remaining tokens (bit 2).
    3. Remove the heap and create two new heaps from the remaining tokens (bit 3).

The octal digit is formed by setting the bits for the allowed actions; the digit is then interpreted in base 8. For example, the octal code 0.77 (written as “0.77”) specifies that for every heap size the player may remove any positive number of tokens and optionally split the remainder into one or two heaps, according to the binary representation of the digit 7 (111₂).

Historical Context
Octal games were first systematically studied in the 1960s by John H. Conway, who introduced the notation in his work on impartial games. The approach provides a compact way to encode an infinite family of game rules and to compute their Sprague–Grundy values (nimbers), which determine optimal play under the normal‑play convention.

Key Examples

Octal code Common name Description
0.07 Dawson’s Kayles Players remove a single pin from a row of pins; the removal may split the row into two separate rows.
0.6 Euclid’s Game (binary variant) Players may remove any positive number of tokens, but cannot split the heap.
0.77 Grundy’s Game (general) Allows removal of any number of tokens with optional splitting into one or two heaps.

Mathematical Significance

  • The Sprague–Grundy theorem applies to octal games, enabling each position to be assigned a nimber.
  • Many octal games exhibit periodic or eventually periodic nim‑sequence behavior, a subject of ongoing research.
  • Specific octal codes have been solved completely (e.g., 0.07 yields a known periodic sequence with period 34), while others remain open problems in combinatorial game theory.

References

  • Conway, J. H. On Numbers and Games (1976).
  • Berlekamp, E. R., Conway, J. H., & Guy, R. K. Winning Ways for Your Mathematical Plays (vol. 1, 1982).
  • Fraenkel, A. S., & Simonson, J. D. “Octal Games and Their Sprague–Grundy Sequences,” Theoretical Computer Science (1990).

Octal games continue to be a focal point for research into impartial game classifications, algorithmic analysis of game positions, and the exploration of combinatorial structures underlying recreational mathematics.

Browse

More topics to explore

    Browse all articles