ArticleslgStudy

mathematics

Wythoff's game

Wythoff's game is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Wythoff's game rather than just read about it. In short: Wythoff's game is a two-player mathematical subtraction game, played with two piles of counters. Players take turns removing counters from one or both piles; when removing counters from both piles, the numbers of counters removed from each pile must be equal.

Wythoff's game — main illustration
Wythoff's game — illustration

Key takeaways

  • Wythoff's game belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Wythoff's game to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Wythoff's game from memory before moving on to harder problems.

Reference excerpt

Wythoff's game is a two-player mathematical subtraction game, played with two piles of counters. Players take turns removing counters from one or both piles; when removing counters from both piles, the numbers of counters removed from each pile must be equal. The game ends when one player removes the last counter or counters, thus winning. An equivalent description of the game is that a single chess queen is placed somewhere on a large grid of squares, and each player can move the queen towards the lower left corner of the grid: south, west, or southwest, any number of steps. The winner is the player who moves the queen into the corner. The two Cartesian coordinates of the queen correspond to the sizes of two piles in the formulation of the game involving removing counters from piles. Martin Gardner in his March 1977 "Mathematical Games column" in Scientific American claims that the game was played in China under the name 捡石子 jiǎn shízǐ ("picking stones"). The Dutch mathematician W. A. Wythoff published a mathematical analysis of the game in 1907.

Optimal strategy

Any position in the game can be described by a pair of integers (n, m) with n ≤ m, describing the size of both piles in the position or the coordinates of the queen. The strategy of the game revolves around cold positions and hot positions: in a cold position, the player whose turn it is to move will lose with best play, while in a hot position, the player whose turn it is to move will win with best play. The optimal strategy from a hot position is to move to any reachable cold position. The classification of positions into hot and cold can be carried out recursively with the following three rules:

(0,0) is a cold position. Any position from which a cold position can be reached in a single move is a hot position. If every move leads to a hot position, then a position is cold. For instance, all positions of the form (0, m) and (m, m) with m > 0 are hot, by rule 2. However, the position (1,2) is cold, because the only positions that can be reached from it, (0,1), (0,2), (1,0) and (1,1), are all hot. The cold positions (n, m) with the smallest values of n and m are (0, 0), (1, 2), (3, 5), (4, 7), (6, 10) and (8, 13). (sequence A066096 and A090909 in OEIS) (Also see (sequence A072061 in the OEIS)) For misère game of this game, (0, 1) and (2, 2) are cold positions, and a position (n, m) with m, n > 2 is cold if and only if (n, m) in normal game is cold.

Formula for cold positions Wythoff discovered that the cold positions follow a regular pattern determined by the golden ratio. Specifically, if k is any natural number and

nk=⌊kϕ⌋=⌊mkϕ⌋−mk mk=⌊kϕ2⌋=⌈nkϕ⌉=nk+k where φ is the golden ratio and we are using the floor function, then (nk, mk) is the kth cold position. These two sequences of numbers are recorded in the Online Encyclopedia of Integer Sequences as OEIS: A000201 and OEIS: A001950, respectively. The two sequences nk and mk are the Beatty sequences associated with the equation

1ϕ+1ϕ2=1. As is true in general for pairs of Beatty sequences, these two sequences are complementary: each positive integer appears exactly once in either sequence.

See also Nim Grundy's game Subtract a square Wythoff array

References

External links Weisstein, Eric W. "Wythoff's Game". MathWorld. Grime, James. "Wythoff's Game (Get Home)" (video). YouTube. Brady Haran. Archived from the original on 2021-12-15. Retrieved 21 August 2017.

Illustrations

Wythoff's game: Wythoff's game is played with two piles of counters
Wythoff's game is played with two piles of counters
Wythoff's game: A visualization of Wythoff's game of Nim. The bottom leftmost square is position (1,1) and the red 
squares are cold positions. Note that the winning square is not included in the picture.
A visualization of Wythoff's game of Nim. The bottom leftmost square is position (1,1) and the red squares are cold positions. Note that the winning square is not included in the picture.

Worked examples

Example 1 — a first encounter with Wythoff's game

Start with the simplest possible case. Write down what Wythoff's game claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Wythoff's game before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Wythoff's game ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Wythoff's game

In research
Wythoff's game appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Wythoff's game in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Wythoff's game is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical games, so understanding it makes those chapters shorter.
In everyday life
Look for Wythoff's game outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Wythoff's game” →

How to study Wythoff's game in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Wythoff's game means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Wythoff's game out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Wythoff's game in simple terms?

Wythoff's game is a two-player mathematical subtraction game, played with two piles of counters. Players take turns removing counters from one or both piles; when removing counters from both piles, the numbers of counters removed from each pile must be equal.

Why does Wythoff's game matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Wythoff's game?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Wythoff's game.

Tags

  • Mathematical games

Keep exploring