login
A125914
Sprague-Grundy values for octal game .145.
0
1, 0, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1
OFFSET
1,5
COMMENTS
The sequence is eventually periodic with period 9. The last exception is at n=2.
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}, LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 1, 2, 2, 2, 2, 4, 1, 1}, 99]] (* Ray Chandler, Aug 26 2015 *)
CROSSREFS
Sequence in context: A153667 A216322 A335383 * A086668 A092904 A231883
KEYWORD
nonn
AUTHOR
Richard Sabey, Jan 24 2007
EXTENSIONS
Extended by Ray Chandler, Aug 26 2015
STATUS
approved