OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,1).
FORMULA
a(n) = (1-4n) mod 10. - Wesley Ivan Hurt, Dec 03 2022
MATHEMATICA
PadRight[{}, 100, {1, 7, 3, 9, 5}] (* Harvey P. Dale, Aug 14 2023 *)
PROG
(PARI) a(n)=[1, 7, 3, 9, 5][n%5+1] \\ Charles R Greathouse IV, Jun 02 2011
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Paul Curtz, May 21 2008
STATUS
approved