This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 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 (list; graph; refs; listen; history; text; internal format)
 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. LINKS Index entries for linear recurrences with constant coefficients, signature (0, 1, 0, -1, 0, 1). 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: A243978 A106844 A125989 * A283929 A316401 A082513 Adjacent sequences:  A125921 A125922 A125923 * A125925 A125926 A125927 KEYWORD nonn AUTHOR Richard Sabey, Jan 24 2007 EXTENSIONS Extended by Ray Chandler, Aug 25 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 18 18:15 EDT 2019. Contains 327178 sequences. (Running on oeis4.)