Skip to main content Accessibility help
×
Hostname: page-component-5b777bbd6c-kmmxp Total loading time: 0 Render date: 2025-06-22T05:34:00.492Z Has data issue: false hasContentIssue false

A Simple FSM-Based Proof of the Additive Periodicity of the Sprague-Grundy Function of Wythoff's Game

Published online by Cambridge University Press:  29 May 2025

Richard Nowakowski
Affiliation:
Dalhousie University, Nova Scotia
Get access

Summary

ABSTRACT. Dress et al. recently proved the additive periodicity of rows of the Sprague—Grundy function of a class of Nim-like games including Wythoff's Game. This implies that the function for each row minus its salt us is periodic and can be computed by a finite state machine.

The proof presented here, which was developed independently and in ignorance of the above result, proceeds in exactly the opposite direction by explicitly constructing a finite state machine with o(n2) bits of state to compute, for all m and fixed n. From this, the periodicity of H and the additive periodicity of G follow trivially.

1. Introduction

Note: The original lecture on this material is available on streaming video at http://www.msri.Org/publications/ln/msri/2000/gametheory/landman/l/.

Wythoff's Game (also called Wythoff's Nim or simply Wyt) is an impartial 2-player game played with 2 piles of counters. Each player may, on their turn, remove any number of counters from either pile, or remove the same number of counters from both piles. The player removing the last counter wins. The set of winning positions (those for which the Sprague-Grundy value equals is well-known. However, no direct formula is known for computing the Sprague-Grundy value G(m,n) of an arbitrary position with m counters in one pile and n in the other; it appears necessary to compute all the G(i, j)-values for smaller games first.

It is clearly impossible to compute the n-th row of (that is, the sequence directly with a finite state machine. One reason is that the values grow without bound, and thus the number of bits needed to represent the value will eventually exceed the capacity of any FSM. It also appears at first that the FSM would have to remember an ever-growing number of values which have already been used. The following lemmas provide bounds on and allow us to overcome these obstacles.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2002

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Book purchase

Temporarily unavailable

Save book to Kindle

To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×