OFFSET
0,2
COMMENTS
A Chebyshev transform of A005408: if A(x) is the g.f. of a sequence, map it to ((1-x^2)/(1+x^2))A(x/(1+x^2)).
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-3,2,-1).
FORMULA
G.f.: (1-x^2)(1+x+x^2)/(1-x+x^2)^2; a(n)=2a(n-1)-3a(n-2)+2a(n-3)-a(n-4); a(n)=n*sum{k=0..floor(n/2), (-1)^k*binomial(n-k, k)*(2(n-2k)+1)/(n-k)}.
MATHEMATICA
LinearRecurrence[{2, -3, 2, -1}, {1, 3, 3, -2, -9}, 80] (* Harvey P. Dale, Aug 18 2016 *)
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Paul Barry, Oct 31 2004
STATUS
approved
