OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,1,-1,-1,0,1).
FORMULA
O.g.f.: -(x^5+3x^4-x^3-x^2+2x+1)*x/((x-1)(x^2+x+1)(x^4-x^2+1)) . - R. J. Mathar, Jan 15 2008
a(n+1) = sum(A211313(n, k), k=0..n) mod 5 - Johannes W. Meijer, Jul 19 2013
a(n) = a(n-2) + a(n-3) - a(n-4) - a(n-5) + a(n-7) for n > 6. - Chai Wah Wu, Feb 16 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Sep 25 2007
EXTENSIONS
More terms from R. J. Mathar, Jan 15 2008
STATUS
approved