OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (-1,-1,-1,-1,-1,-1,-1,-1,-1).
MATHEMATICA
PadRight[{}, 120, {3, 3, 3, -7, 3, 3, -7, 3, 3, -7}] (* Harvey P. Dale, Aug 07 2018 *)
PROG
(PARI) a(n)=[3, 3, 3, -7, 3, 3, -7, 3, 3, -7][n%10+1] \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Oct 04 2007
STATUS
approved