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