OFFSET
0,3
FORMULA
G.f.: 1 / (1 - x * Sum_{k>=0} (k*x)^k).
a(n) ~ exp(-1) * n^(n-1). - Vaclav Kotesovec, Mar 26 2023
MATHEMATICA
nmax = 20; CoefficientList[Series[1/(1 - x - x*Sum[(k*x)^k, {k, 1, nmax}]), {x, 0, nmax}], x] (* Vaclav Kotesovec, Mar 26 2023 *)
PROG
(PARI) my(N=20, x='x+O('x^N)); Vec(1/(1-x*(sum(k=0, N, (k*x)^k))))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Mar 26 2023
STATUS
approved