OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = 1 + 5*n*(n+1)*(23*n^2 + 23*n + 14)/12.
a(n) = (1/Pi)*Integral_{x=0..Pi} (sin((n+1/2)*x)/sin(x/2))^5. - Yalcin Aktar, Dec 03 2011
G.f.: ( -1 - 46*x - 136*x^2 - 46*x^3 - x^4 ) / (x-1)^5. - R. J. Mathar, Dec 17 2011
a(n) = [x^(5*n)] (Sum_{k=0..2*n} x^k)^5. - Seiichi Manyama, Dec 14 2018
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 1}, {1, 51, 381, 1451, 3951}, 30] (* Vincenzo Librandi, Dec 15 2018 *)
PROG
(PARI) a(n)=115/12*n^4+115/6*n^3+185/12*n^2+35/6*n+1
(PARI) {a(n) = polcoeff((sum(k=0, 2*n, x^k))^5, 5*n, x)} \\ Seiichi Manyama, Dec 14 2018
(Magma) [1+5*n*(n+1)*(23*n^2+23*n+14)/12: n in [0..30]]; // Vincenzo Librandi, Dec 15 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Jun 14 2003
STATUS
approved