OFFSET
0,3
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..25
FORMULA
a(n) = [x^n] Sum_{k>=0} k^(n*k) * exp(-k^n*x) * x^k / k!.
a(n) = [x^(n^2-n)] 1 / Product_{k=1..n} (1-k*x).
a(n) ~ n^(n^2)/n!. - Vaclav Kotesovec, May 11 2014
EXAMPLE
O.g.f.: A(x) = 1 + x + 7*x^2 + 3025*x^3 + 171798901*x^4 + 2436684974110751*x^5 +...
MATHEMATICA
Table[StirlingS2[n^2, n], {n, 0, 10}] (* Vaclav Kotesovec, May 11 2014 *)
PROG
(PARI) {a(n)=polcoeff(sum(k=0, n, (k^n)^k*exp(-k^n*x +x*O(x^n))*x^k/k!), n)}
(PARI) {a(n)=polcoeff(1/prod(k=1, n, 1-k*x +x*O(x^(n^2+1))), n^2-n)}
(PARI) {Stirling2(n, k)=n!*polcoeff(((exp(x+x*O(x^n))-1)^k)/k!, n)}
{a(n) = Stirling2(n^2, n)}
for(n=0, 10, print1(a(n), ", "))
(Maxima) makelist(stirling2(n^2, n), n, 0, 30 ); /* Martin Ettl, Oct 21 2012 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 21 2012
STATUS
approved