OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..386
FORMULA
a(n) ~ n^n.
MAPLE
B:= proc(n) option remember; n^n end:
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i=1,
B(n), add(b(j, 1)*b(n-i*j, i-1), j=0..n/i)))
end:
a:= n-> b(n$2):
seq(a(n), n=0..20); # Alois P. Heinz, Aug 23 2019
MATHEMATICA
nmax = 20; CoefficientList[Series[Product[1+Sum[k^k*x^(j*k), {k, 1, nmax/j}], {j, 1, nmax}], {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vaclav Kotesovec, Aug 10 2019
STATUS
approved