OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (-1,0,1,1).
FORMULA
G.f. -x*(1+5*x+7*x^2+6*x^3) / ( (x-1)*(1+x)*(1+x+x^2) ).
a(n+6) = a(n).
a(n) = (24 - ((n mod 6)^5 - 13*(n mod 6)^4 + 61*(n mod 6)^3 - 123*(n mod 6)^2 + 94*(n mod 6)))/4 for n>0. - Luce ETIENNE, Oct 19 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Mar 28 2017
STATUS
approved