OFFSET
0,4
COMMENTS
This sequence repeats after every 8 terms, hence this is periodic with period 8.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 1).
MATHEMATICA
Table[NestWhile[Total[IntegerDigits[#]] &, Fibonacci[n]^3, # > 9 &], {n, 0, 86}] (* T. D. Noe, Oct 15 2012 *)
Join[{0}, LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 1}, {1, 1, 8, 9, 8, 8, 1, 9}, 86]] (* Ray Chandler, Aug 25 2015 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Ravi Bhandari, Sep 15 2012
STATUS
approved