OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1).
MATHEMATICA
PadRight[{}, 120, {0, 1, 2, 5, 3, 2, 7, 7, 3, 4, 2, 8, 0, 8, 7, 4, 6, 7, 2, 2, 6, 5, 7, 1}] (* Harvey P. Dale, Apr 09 2018 *)
PROG
(PARI) a(n)=imag((1+quadgen(8))^n)%9 \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Feb 12 2009
EXTENSIONS
Edited by N. J. A. Sloane, Feb 14 2009
STATUS
approved