OFFSET
0,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..403
FORMULA
a(n) = Sum_{k=0..n} (n-k+1)^(k-1) * Stirling2(n,k).
a(n) ~ s * n^(n-1) / (sqrt(r*s - 1/(1 + log(s))) * exp(n) * r^n), where r = 0.4858893246242883887847088396703818017675758048583... and s = 3.016426175038226058288579473351450432292607021364... are roots of the system of equations exp(r*s) = 1 + s*log(s), exp(r*s)*r = 1 + log(s). - Vaclav Kotesovec, Nov 25 2021
MATHEMATICA
a[n_] := Sum[(n - k + 1)^(k - 1)*StirlingS2[n, k], {k, 0, n}]; Array[a, 21, 0] (* Amiram Eldar, Nov 23 2021 *)
PROG
(PARI) a(n) = sum(k=0, n, (n-k+1)^(k-1)*stirling(n, k, 2));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Nov 22 2021
STATUS
approved