OFFSET
5,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-7,8,-7,4,-1).
FORMULA
a(n)=(n + 5)*(2*n^2 + 11*n + 54)/12 - 1/4 - (1/4)*cos(Pi*n/2) - (1/4)*sin(Pi*n/2) [From Richard Choulet, Dec 13 2008]
G.f. x^5*( 22-55*x+71*x^2-71*x^3+50*x^4-15*x^5 ) / ( (x^2+1)*(x-1)^4 ). - R. J. Mathar, Jun 22 2013
MATHEMATICA
LinearRecurrence[{4, -7, 8, -7, 4, -1}, {22, 33, 49, 70, 97, 132}, 60] (* Harvey P. Dale, Apr 27 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved