login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A125923
Sprague-Grundy values for octal game .3337.
0
1, 2, 3, 4, 0, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 0, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4
OFFSET
1,2
COMMENTS
Octal games .226, .227, .236 and .237 have values a(n-1).
The sequence is eventually periodic with period 5. The last exception is at n=19.
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, 2, 3, 4, 0, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 0}, LinearRecurrence[{0, 0, 0, 0, 1}, {5, 1, 2, 3, 4}, 85]] (* Ray Chandler, Aug 25 2015 *)
CROSSREFS
Sequence in context: A278182 A309956 A125926 * A071513 A060511 A082853
KEYWORD
nonn
AUTHOR
Richard Sabey, Jan 24 2007
EXTENSIONS
Extended by Ray Chandler, Aug 25 2015
STATUS
approved