login
A125925
Sprague-Grundy values for octal game .351.
0
1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2
OFFSET
1,2
COMMENTS
The sequence is eventually periodic with period 8. The only exception is n=0 (not shown).
REFERENCES
E. R. Berlekamp, J. H. Conway and R. K. Guy, Winning Ways, Academic Press, NY, 2 vols., 1982; see Chapter 4, p. 104.
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 1}, {1, 2, 1, 2, 0, 1, 0, 2}, 104] (* Ray Chandler, Aug 25 2015 *)
PadRight[{}, 120, {1, 2, 1, 2, 0, 1, 0, 2}] (* Harvey P. Dale, Sep 03 2017 *)
CROSSREFS
Sequence in context: A229764 A077402 A287418 * A340795 A137853 A213890
KEYWORD
nonn
AUTHOR
Richard Sabey, Jan 24 2007
EXTENSIONS
Extended by Ray Chandler, Aug 25 2015
STATUS
approved