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

 Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A125938 Sprague-Grundy values for octal game 4.102. 0
 1, 1, 1, 2, 2, 2, 0, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1, 4, 4, 2, 1, 1, 1, 2, 2, 2, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,4 COMMENTS Octal games 4.103, 4.112 and 4.113 also have values a(n). The sequence is eventually periodic with period 10. The last exception is at n=7. REFERENCES E. R. Berlekamp, J. H. Conway and R. K. Guy, Winning Ways, Academic Press, NY, 2 vols., 1982; see Chapter 4, p. 104. LINKS Table of n, a(n) for n=1..107. Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 1). MATHEMATICA Join[{1, 1, 1, 2, 2, 2, 0}, LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {4, 4, 2, 1, 1, 1, 2, 2, 2, 1}, 100]] (* Ray Chandler, Aug 26 2015 *) PadRight[{1, 1, 1, 2, 2, 2, 0}, 120, {1, 1, 1, 2, 2, 2, 1, 4, 4, 2}] (* Harvey P. Dale, Apr 26 2018 *) CROSSREFS Sequence in context: A261444 A000091 A155123 * A215461 A158851 A151930 Adjacent sequences: A125935 A125936 A125937 * A125939 A125940 A125941 KEYWORD nonn AUTHOR Richard Sabey, Jan 24 2007 EXTENSIONS Extended by Ray Chandler, Aug 26 2015 STATUS approved

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

Last modified December 11 02:45 EST 2023. Contains 367717 sequences. (Running on oeis4.)