OFFSET
1,4
COMMENTS
The sequence is eventually periodic with period 14. The last exception is at n=15.
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, 0, 0, 0, 0, 0, 0, 1).
MATHEMATICA
Join[{1, 1, 1, 2, 2, 2, 1, 1, 0, 2, 2, 2, 4, 4, 0}, LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 4, 4, 1}, 84]] (* Ray Chandler, Aug 27 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Richard Sabey, Jan 24 2007
EXTENSIONS
Extended by Ray Chandler, Aug 27 2015
STATUS
approved