OFFSET
0,4
COMMENTS
A transform of A001045 under the mapping g(x)->(1/(1+x^3))g(x/(1+x^3)).
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,2,-2,1,0,-1)
FORMULA
G.f.: x/(1-x-2x^2+2x^3-x^4+x^6); a(n)=a(n-1)+2a(n-2)-2a(n-3)+a(n-4)-a(n-6); a(n)=sum{k=0..floor(n/3), binomial(n-2k, k)(-1)^k*J(n-3k)}.
MATHEMATICA
LinearRecurrence[{1, 2, -2, 1, 0, -1}, {0, 1, 1, 3, 3, 8}, 40] (* Harvey P. Dale, Sep 25 2021 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 20 2004
STATUS
approved