OFFSET
0,2
LINKS
A. Adem, Recent developments in the cohomology of finite groups, Notices Amer. Math. Soc., 44 (1997), 806-812.
Index entries for linear recurrences with constant coefficients, signature (2,3,-8,-2,12,-2,-8,3,2,-1).
FORMULA
G.f.: (1+x+5x^2+x^3+x^4)/((1-x)^2*(1-x^2)^4). a(n)=-a(-6-n).
MAPLE
(x^4+x^3+5*x^2+x+1)/(x-1)^2/(-1+x^2)^4;
MATHEMATICA
LinearRecurrence[{2, 3, -8, -2, 12, -2, -8, 3, 2, -1}, {1, 3, 14, 30, 77, 138, 273, 438, 748, 1113}, 40] (* Harvey P. Dale, Sep 24 2017 *)
PROG
(PARI) a(n)=n+=3; n*((18*n^4-70*n^2+97)-(50*n^2-95)*(-1)^n)/3840
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alejandro Adem (adem(AT)math.wisc.edu)
STATUS
approved