login
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