OFFSET
0,3
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 0..380
FORMULA
a(n) ~ n^n * (1 + exp(-1)/n + ((1/2)*exp(-1) + 4*exp(-2))/n^2).
G.f.: exp(Sum_{k>=1} ( Sum_{d|k} (-1)^(k/d + 1)*d^(k+1) ) * x^k/k). - Ilya Gutkovskiy, Nov 08 2018
MAPLE
seq(coeff(series(mul((1+k^k*x^k), k=1..n), x, n+1), x, n), n = 0 .. 20); # Muniru A Asiru, Oct 31 2018
MATHEMATICA
nmax=20; CoefficientList[Series[Product[(1+k^k*x^k), {k, 1, nmax}], {x, 0, nmax}], x]
PROG
(PARI) m=30; x='x+O('x^m); Vec(prod(k=1, m, (1+k^k*x^k))) \\ G. C. Greubel, Oct 31 2018
(Magma) m:=30; R<x>:=PowerSeriesRing(Rationals(), m); Coefficients(R! ( (&*[(1+k^k*x^k): k in [1..m]]) )); // G. C. Greubel, Oct 31 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Vaclav Kotesovec, Dec 19 2015
STATUS
approved