OFFSET
1,2
COMMENTS
The sequence is eventually periodic with period 8. The only exception is n=0 (not shown).
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, 0, 0, 0, 0, 0, 0, 1).
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 1}, {1, 2, 1, 2, 0, 1, 0, 2}, 104] (* Ray Chandler, Aug 25 2015 *)
PadRight[{}, 120, {1, 2, 1, 2, 0, 1, 0, 2}] (* Harvey P. Dale, Sep 03 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Richard Sabey, Jan 24 2007
EXTENSIONS
Extended by Ray Chandler, Aug 25 2015
STATUS
approved