A Variant of Wythoff's Game Defined by Hofstadter's G-Sequence
Komak, Miyadera, Murakami
In this paper, we study a variant of the classical Wythoff's game. The classical form is played with two piles of stones, from which two players take turns to remove stones from one or both piles. When removing stones from both piles, an equal number must be removed from each. The player who removes the last stone or stones is the winner. Equivalently, we consider a single chess queen placed somewhere on a large grid of squares. Each player can move the queen toward the upper-left corner of the grid, either vertically, horizontally, or diagonally, in any number of steps. The winner is the player who moves the queen into the upper-left corner, the position (0,0) in our coordinate system. We call (0,0) the terminal position of Wythoff's game. In our variant of Wythoff's game, we have a set of positions {(0,0),(1,0),(0,1),(1,1),(2,0),(0,2)} as the terminal set. If a player moves the queen into this terminal set, that player is the winner of the game. The P-positions of this variant are described by the P-positions of Wythoff's game and
Hofstadter's G-Sequence. This variant has two remarkable properties. For a position (x,y) with x >= 8 or y >= 8, the Grundy number of the position (x,y) is 1 in this variant if and only if (x,y) is a P-position of Wythoff's game. There is another remarkable property.For a position (x,y) with x >= 8 or y >= 8, (x,y) is a P-position of of the misere version of this variant if and only if (x,y) is a P-position of of Wythoff's game.
academic
A Variant of Wythoff's Game Defined by Hofstadter's G-Sequence
This paper investigates a variant of the classical Wythoff's game. The classical Wythoff's game involves two piles of stones, where two players alternately remove stones from one or both piles, and when removing from both piles simultaneously, they must remove equal quantities. The player who removes the last stone(s) wins. Equivalently, this can be viewed as moving a chess queen on a large grid, where each player can move the queen any number of steps vertically, horizontally, or diagonally toward the upper-left corner (0,0).
In the variant presented in this paper, the set of terminal positions is extended to {(0,0), (1,0), (0,1), (1,1), (2,0), (0,2)}. The P-positions of this variant are characterized through the P-positions of Wythoff's game and Hofstadter's G-sequence. The variant exhibits two remarkable properties: for positions (x,y) with x≥8 or y≥8, the Grundy number of position (x,y) in this variant equals 1 if and only if (x,y) is a P-position in Wythoff's game; for positions (x,y) with x≥8 or y≥8, (x,y) is a P-position in the misère version of this variant if and only if (x,y) is a P-position in Wythoff's game.
This research aims to analyze and solve a new variant of the classical Wythoff's game, where the terminal condition is extended from a single position (0,0) to a set containing six positions. This seemingly simple extension significantly alters the game's complexity and strategic structure.
Theoretical Value: Wythoff's game is a classical problem in combinatorial game theory, with its P-positions closely related to the golden ratio φ=(1+√5)/2. Studying its variants contributes to a deeper understanding of the structural properties of combinatorial games.
Mathematical Connection: This research establishes a novel connection between Hofstadter's G-sequence and combinatorial game theory, which has been rarely explored in previous studies.
Methodological Innovation: By introducing the function g(n) and Hofstadter's G-sequence, this work provides new mathematical tools for analyzing combinatorial games with complex terminal conditions.
While the P-positions of classical Wythoff's game have explicit closed-form expressions, when the terminal condition becomes a set of multiple positions, traditional analytical methods cannot be directly applied. Existing combinatorial game theory lacks systematic methods for handling such extended terminal conditions.
Defined a new game variant: Extended the terminal positions of Wythoff's game from a single point (0,0) to the set {(x,y): x+y≤2}
Established complete characterization of P-positions: Through introducing the function g(n) and Hofstadter's G-sequence, provided precise formulas for the P-positions of this variant
Discovered two important properties:
For positions with x≥8 or y≥8, the Grundy number in this variant equals 1 if and only if the position is a P-position in the original Wythoff's game
For positions with x≥8 or y≥8, a position is a P-position in the misère version if and only if it is a P-position in the original Wythoff's game
Established connection with Hofstadter's G-sequence: Proved that the function g(n) can be recursively defined through Hofstadter's G-sequence
Input: Game position (x,y), where x,y∈ℤ≥0
Output: Determine whether the position is a P-position (previous player's winning position) or an N-position (next player's winning position)
Constraints: Movement rules are identical to classical Wythoff's game, but the terminal set is {(x,y): x+y≤2}
Sequence Decomposition Technique: By decomposing natural numbers into the lower Wythoff sequence A₁={⌊nφ⌋} and the upper Wythoff sequence A₂={⌊n(φ+1)⌋}, established a systematic analytical framework.
Recursive Function Design: The design of function g(n) cleverly captures the impact of terminal set extension on the distribution of P-positions.
Grundy Number Analysis: Through computing Grundy numbers, established deep connections between this variant and the original game.
The P-positions of the misère version (where the player entering the terminal set loses) are identical to the P-positions of the original game combined with a single-pile game.
The classical Wythoff's game was proposed by W.A. Wythoff in 1907, and the relationship between its P-positions and the golden ratio is a classical result in combinatorial mathematics. Related research includes:
Rayleigh's Theorem: Established partition properties of lower and upper Wythoff sequences
Theoretical Depth: Established novel connections between combinatorial game theory and recursive sequence theory, possessing significant theoretical value
Methodological Innovation: The design of function g(n) is ingenious, capturing complex game structures through recursive definition
Complete Proofs: Provided rigorous mathematical proofs, including detailed arguments for numerous technical lemmas
Profound Results: The discovered asymptotic equivalence property provides new perspectives for understanding complex combinatorial games
M.H. Albert, R.J. Nowakowski, and D. Wolfe: Lessons In Play, A K Peters/CRC Press, 2007
D. Hofstadter, Gödel, Escher, Bach: an Eternal Golden Braid, Penguin Books, 1980
W.A. Wythoff: A modification of the game of Nim, Nieuw Arch. Wiskd, 7 (1907), 199-202
V. Granville and J.-P. Rasson, A strange recursive relation, J. Number Theory 30 (1988), 238–241
This paper makes important theoretical contributions to the field of combinatorial game theory. By ingeniously combining Hofstadter's G-sequence, it provides a complete mathematical framework for analyzing Wythoff game variants with complex terminal conditions. While possessing certain limitations in practical applicability, its theoretical depth and methodological innovation make it a significant research achievement in this field.