OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,7,0,0,8).
FORMULA
a(n)=sum{k=0..n, if (mod(k(n-k), 3)=0, comb(n, k), 0) }; a(n)=if (mod(n, 3)=0, A001045(n+1)-A001045(n), A001045(n+1)-(-1)^n).
G.f.: ( -1-2*x-2*x^2+5*x^3+4*x^4-8*x^5 ) / ( (2*x-1)*(1+x)*(4*x^2+2*x+1)*(x^2-x+1) ). - R. J. Mathar, Dec 10 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Sep 14 2003
STATUS
approved