login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A125922
Sprague-Grundy values for octal game .316.
0
1, 2, 0, 2, 1, 2, 3, 0, 1, 0, 3, 0, 1, 2, 3, 2, 1, 2, 3, 0, 1, 0, 3, 0, 1, 2, 3, 2, 1, 2, 3, 0, 1, 0, 3, 0, 1, 2, 3, 2, 1, 2, 3, 0, 1, 0, 3, 0, 1, 2, 3, 2, 1, 2, 3, 0, 1, 0, 3, 0, 1, 2, 3, 2, 1, 2, 3, 0, 1, 0, 3, 0, 1, 2, 3, 2, 1, 2, 3, 0, 1, 0, 3, 0, 1, 2, 3, 2, 1, 2, 3, 0, 1, 0, 3, 0, 1, 2, 3
OFFSET
1,2
COMMENTS
The sequence is eventually periodic with period 12. The last exception is at n=3.
REFERENCES
E. R. Berlekamp, J. H. Conway and R. K. Guy, Winning Ways, Academic Press, NY, 2 vols., 1982; see Chapter 4, p. 104.
FORMULA
a(n) = a(n-2) - a(n-6) + a(n-8). - Wesley Ivan Hurt, Oct 20 2022
MATHEMATICA
Join[{1, 2, 0}, LinearRecurrence[{0, 1, 0, 0, 0, -1, 0, 1}, {2, 1, 2, 3, 0, 1, 0, 3}, 96]] (* Ray Chandler, Aug 27 2015 *)
CROSSREFS
Sequence in context: A029222 A162350 A334305 * A283306 A182893 A206298
KEYWORD
nonn
AUTHOR
Richard Sabey, Jan 24 2007
EXTENSIONS
Corrected formula. - Paolo P. Lava, Oct 23 2008
Extended by Ray Chandler, Aug 27 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 23 18:10 EDT 2024. Contains 376182 sequences. (Running on oeis4.)