login
A125924
Sprague-Grundy values for octal game .34.
0
1, 0, 1, 2, 0, 1, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, 1, 2, 0, 3
OFFSET
1,4
COMMENTS
Octal game .341 also has values a(n).
The sequence is eventually periodic with period 8. The last exception is at n=6.
This game is called Flanigan's game in Winning Ways.
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
Join[{1, 0, 1, 2, 0, 1}, LinearRecurrence[{0, 1, 0, -1, 0, 1}, {0, 3, 1, 2, 1, 2}, 96]] (* Ray Chandler, Aug 25 2015 *)
CROSSREFS
Sequence in context: A128618 A363904 A125989 * A283929 A316401 A082513
KEYWORD
nonn
AUTHOR
Richard Sabey, Jan 24 2007
EXTENSIONS
Extended by Ray Chandler, Aug 25 2015
STATUS
approved