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