OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
FORMULA
a(n) = a(n-12). - Wesley Ivan Hurt, May 24 2021
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8}, 48] (* Ray Chandler, Aug 08 2015 *)
PadRight[{}, 120, {0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8}] (* Harvey P. Dale, Dec 15 2023 *)
PROG
(PARI) a(n)=[0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8][n%12+1] \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Feb 06 2009
STATUS
approved