

A125924


SpragueGrundy 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

Table of n, a(n) for n=1..102.
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 A082513 A187495
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



