OFFSET
6,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-3,1,0,1,-3,3,-1)
FORMULA
a(n)=(n + 6)*(n^2 + 6*n + 38)/15 - 1/5*( 1 - 2/5*5^(1/2)*cos(2*n*Pi/5) + 2/5*2^(1/2)*(5 - 5^(1/2))^(1/2)*sin(2*n*Pi/5) + 2/5*5^(1/2)*cos(4*n*Pi/5) - 2/5*2^(1/2)*(5 + 5^(1/2))^(1/2)*sin(4*n*Pi/5)) [From Richard Choulet, Dec 14 2008]
G.f. x^6*( 15-24*x+10*x^2+3*x^3-2*x^4-14*x^5+25*x^6-11*x^7 ) / ( (x^4+x^3+x^2+x+1)*(x-1)^4 ). - R. J. Mathar, Jun 22 2013
MATHEMATICA
LinearRecurrence[{3, -3, 1, 0, 1, -3, 3, -1}, {15, 21, 28, 39, 52, 68, 88, 111}, 60] (* Harvey P. Dale, Apr 01 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved