login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A318119
Constant term in the expansion of (Sum_{k=0..n} k*(x^k + x^(-k)))^5.
1
0, 0, 560, 14240, 146680, 922680, 4226040, 15492680, 48144680, 131678360, 325322360, 739761880, 1570082800, 3143824320, 5988841040, 10926565040, 19197225520, 32624627920, 53829216160, 86499340720, 135731931720, 208455129960, 313946860040, 464464838200
OFFSET
0,3
LINKS
FORMULA
a(n) = (n-1) * n * (n+1) * (2*n+1) * (967*n^5+3868*n^4+6005*n^3+5444*n^2+2844*n+1008) / 9072.
MATHEMATICA
a[n_] := Coefficient[Expand[Sum[k * (x^k + x^(-k)), {k, 0, n}]^5], x, 0]; Array[a, 30, 0] (* Amiram Eldar, Dec 16 2018 *)
PROG
(PARI) {a(n) = polcoeff((sum(k=0, n, k*(x^k+x^(-k))))^5, 0, x)}
(PARI) {a(n) = (n-1)*n*(n+1)*(2*n+1)*(967*n^5+3868*n^4+6005*n^3+5444*n^2+2844*n+1008)/9072}
(GAP) List([0..25], n->(n-1)*n*(n+1)*(2*n+1)*(967*n^5+3868*n^4+6005*n^3+5444*n^2+2844*n+1008)/9072); # Muniru A Asiru, Dec 16 2018
CROSSREFS
Column 5 of A322549.
Cf. A083669.
Sequence in context: A069243 A169719 A104591 * A364151 A196568 A171347
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Dec 16 2018
STATUS
approved