OFFSET
7,1
FORMULA
a(n)=(n + 7)*(2*n^2 + 13*n + 102)/30 - 1/5*(2 + ( - 1/5*5^(1/2) + 1)*cos(2*n*Pi/5) + (2/5*2^(1/2)*(5 - 5^(1/2))^(1/2))*sin(2*n*Pi/5) + (1/5*5^(1/2) + 1)*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]
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved