OFFSET
4,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-3,1,1,-3,3,-1).
FORMULA
a(n) = - 0.125 - 0.125*( - 1)^n + 0.25*cos(n*Pi/2) + (n + 4)*(n^2 + 20*n + 39)/12. [Richard Choulet, Dec 13 2008]
G.f.: x^4*( 13-14*x+5*x^2+2*x^3-14*x^4+15*x^5-5*x^6 ) / ( (1+x)*(x^2+1)*(x-1)^4 ). - R. J. Mathar, Jun 22 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved