OFFSET
0,7
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,0,0,1,0,-1).
FORMULA
G.f.: x^2*(1 + x + x^4)/((1-x^2)*(1-x^5)).
a(n) = a(n-2) + a(n-5) - a(n-7) for n>6. - Colin Barker, May 18 2017
PROG
(PARI) concat(vector(2), Vec(x^2*(1 + x + x^4) / ((1 - x)^2*(1 + x)*(1 + x + x^2 + x^3 + x^4)) + O(x^100))) \\ Colin Barker, May 18 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, May 13 2017
STATUS
approved