Grundy's game

Grundy's game

Grundy's game is a two-player mathematical game of strategy. The starting configuration is a single heap of objects, and the two players take turn splitting a single heap into two heaps of different sizes. The game ends when only heaps of size two and smaller remain, none of which can be split unequally. The game is usually played as a "normal play" game, which means that the last person who can make an allowed move wins.

Illustration

A normal play game starting with a single heap of 8 is a win for the first player provided she does start by splitting the heap into heaps of 7 and 1: player 1: 8 → 7+1Player 2 now has three choices: splitting the 7-heap into 6 + 1, 5 + 2, or 4 + 3. In each of these cases, player 1 can ensure that on the next move she hands back to her opponent a heap of size 4 plus heaps of size 2 and smaller: player 2: 7+1 → 6+1+1 player 2: 7+1 → 5+2+1 player 2: 7+1 → 4+3+1 player 1: 6+1+1 → 4+2+1+1 player 1: 5+2+1 → 4+1+2+1 player 1: 4+3+1 → 4+2+1+1Now player 2 has to split the 4-heap into 3 + 1, and player 1 subsequently splits the 3-heap into 2 + 1: player 2: 4+2+1+1 → 3+1+2+1+1 player 1: 3+1+2+1+1 → 2+1+1+2+1+1 player 2 has no moves left and loses

Mathematical theory

The game can be analysed using the Sprague–Grundy theory. This requires the heap sizes in the game to be mapped onto equivalent nim heap sizes. This mapping is captured in the On-Line Encyclopedia of Integer Sequences as OEIS2C|id=A002188:

Heap size : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... Equivalent Nim he

Using this mapping, the strategy for playing the game Nim can also be used for Grundy's game. Whether the sequence of nim-values of Grundy's game ever becomes periodic is an unsolved problem. Elwyn Berlekamp, John Horton Conway, and Richard Guy have conjectured [E. Berlekamp, J. H. Conway, R. Guy. "Winning Ways for your Mathematical Plays." Academic Press, 1982.] that the sequence does become periodic eventually, but despite the calculation of the first 235 values by Achim Flammenkamp, the question has not been resolved.

See also

* Nim
* Sprague–Grundy theorem
* Wythoff's game
* Subtract a square

External links

* [http://mathworld.wolfram.com/GrundysGame.html Grundy's game on MathWorld]
* [http://wwwhomes.uni-bielefeld.de/achim/grundy.html Sprague-Grundy values for Grundy's Game by A. Flammenkamp]

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Grundy — may refer to:Places: *Grundy, Virginia, a town in Buchanan County, Virginia, USA *Grundy County, Missouri, a county in northern Missouri, USAPeople: *Bill Grundy (1923 ndash;1993), British television presenter in the 1970s *Felix Grundy (1777… …   Wikipedia

  • Game Show Moments Gone Bananas — was a television series on VH1. The first of five hour long episodes aired on May 21, 2005, with the last first run episode airing on June 18. Each episode aired for the first time on Saturday mornings at 11:30 ET, but officially premiered at 10… …   Wikipedia

  • Game show — A game show is a type of television program in which members of the public or celebrities, sometimes as part of a team, play a game which involves answering questions or solving problems for money and/or prizes. On some shows contestants compete… …   Wikipedia

  • Sprague–Grundy theorem — In combinatorial game theory, the Sprague–Grundy theorem states that every impartial game under the normal play convention is equivalent to a nimber. The Grundy value or nim value of an impartial game is then defined as the unique nimber that the …   Wikipedia

  • Reg Grundy Productions — was the American wing of the worldwide television production company Grundy Worldwide, which was founded by Australian television producer Reg Grundy. Reg Grundy Productions was responsible for the production of two highly successful daytime game …   Wikipedia

  • Combinatorial game theory — This article is about the theory of combinatorial games. For the theory that includes games of chance and games of imperfect knowledge, see Game theory. Mathematicians playing Konane at a Combinatorial game theory workshop (for technical content …   Wikipedia

  • Octal game — The octal games form a significant subclass of impartial games studied in combinatorial game theory.[1][2] They are organized by a numeric coding system that enables a compact specification of a variety of game rules. Contents 1 Octal games… …   Wikipedia

  • Wythoff's game — is a two player mathematical game of strategy, played with two piles of counters. Players take turns removing counters from one or both piles; in the latter case, the numbers of counters removed from each pile must be equal. The game ends when… …   Wikipedia

  • Man O Man (Australian game show) — Man O Man Genre Game show Presented by Rob Guest Country of origin  Australia …   Wikipedia

  • Cram (game) — This article is about the impartial game of Cram . For the partizan version of the game, see Domineering. Example of a Cram game. In the normal version, the blue player wins. Cram is a mathematical game played on a sheet of graph paper. It is the …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”