OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..350
FORMULA
a(n) = [x^n] Product_{j>=1} 1/(1-x^j)^(n^j).
a(n) = n-th term of the Euler transform of the powers of n.
a(n) ~ n^(n-3/4) * exp(2*sqrt(n) - 1/2) / (2*sqrt(Pi)). - Vaclav Kotesovec, Mar 14 2015
a(n) = [x^n] exp(n*Sum_{k>=1} x^k/(k*(1 - n*x^k))). - Ilya Gutkovskiy, Nov 20 2018
EXAMPLE
a(2) = 7: {aa}, {ab}, {ba}, {bb}, {a,a}, {a,b}, {b,b}.
MAPLE
with(numtheory):
A:= proc(n, k) option remember; `if`(n=0, 1, add(add(
d*k^d, d=divisors(j)) *A(n-j, k), j=1..n)/n)
end:
a:= n-> A(n$2):
seq(a(n), n=0..25);
MATHEMATICA
A[n_, k_] := A[n, k] = If[n == 0, 1, Sum[Sum[d*k^d, {d, Divisors[j]}]*A[n - j, k], {j, 1, n}]/n];
a[n_] := A[n, n];
Table[a[n], {n, 0, 25}] (* Jean-François Alcover, Mar 21 2017, translated from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Dec 19 2014
EXTENSIONS
New name from comment by Alois P. Heinz, Sep 21 2018
STATUS
approved