OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..385
FORMULA
a(n) ~ n^n * (1 + exp(-1)/n + (exp(-1)/2 + 4*exp(-2))/n^2).
G.f.: exp(Sum_{k>=1} ( Sum_{d|k} (-1)^(k/d+1)*d^(d+1) ) * x^k/k). - Ilya Gutkovskiy, Nov 08 2018
MAPLE
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
add(binomial(i^i, j)*b(n-i*j, i-1), j=0..n/i)))
end:
a:= n-> b(n$2):
seq(a(n), n=0..25); # Alois P. Heinz, Aug 08 2015
MATHEMATICA
nmax=20; CoefficientList[Series[Product[(1+x^k)^(k^k), {k, 1, nmax}], {x, 0, nmax}], x]
PROG
(PARI) m=20; x='x+O('x^m); Vec(prod(k=1, m, (1+x^k)^(k^k))) \\ G. C. Greubel, Nov 08 2018
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!( (&*[(1+x^k)^(k^k): k in [1..(m+2)]]))); // G. C. Greubel, Nov 08 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Vaclav Kotesovec, Aug 08 2015
STATUS
approved