OFFSET
1,1
COMMENTS
Here m=(11*(2*n-1)-9*(-1)^n)/4 for n>0.
LINKS
B. Berselli, Table of n, a(n) for n = 1..10000.
Index entries for linear recurrences with constant coefficients, signature (1,2,-2,-1,1).
FORMULA
a(n) = (154*n*(n-1)-63*(2*n-1)*(-1)^n+65)/8.
G.f.: x*(16+7*x+108*x^2+7*x^3+16*x^4)/((1+x)^2*(1-x)^3).
a(n) = a(-n+1) = a(n-1)+2*a(n-2)-2*a(n-3)-a(n-4)+a(n-5).
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Bruno Berselli, Jul 12 2010
STATUS
approved