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”).

A341197
a(n) = Sum_{k=0..n} k^n * (n-k)! * binomial(n,k)^2.
2
1, 1, 8, 117, 2800, 97125, 4551876, 274975897, 20690260928, 1889451727497, 205192914235300, 26068434774065541, 3822244304373085680, 639508508456359098349, 120922358829574588363364, 25626415609908102483018225
OFFSET
0,3
MATHEMATICA
a[0] = 1; a[n_] := Sum[k^n * (n-k)! * Binomial[n, k]^2, {k, 0, n}]; Array[a, 16, 0] (* Amiram Eldar, Feb 06 2021 *)
PROG
(PARI) a(n) = sum(k=0, n, k^n*(n-k)!*binomial(n, k)^2);
CROSSREFS
Main diagonal of A341200.
Sequence in context: A046914 A376124 A364984 * A342182 A194494 A230911
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Feb 06 2021
STATUS
approved