OFFSET
0,3
FORMULA
a(n) = n^n * [x^n] Sum_{k>=0} (k * x)^k/(1 - k * x) = n^n * A031971(n).
a(n) ~ c * n^(2*n), where c = 1/(1 - 1/exp(1)) = A185393. - Vaclav Kotesovec, Dec 07 2021
MATHEMATICA
a[n_] := Sum[If[k == n == 0, 1, (k*n)^n], {k, 0, n}]; Array[a, 14, 0] (* Amiram Eldar, Dec 07 2021 *)
PROG
(PARI) a(n) = sum(k=0, n, (k*n)^n);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Dec 07 2021
STATUS
approved