OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..305
FORMULA
E.g.f.: Sum_{k>0} x^k/(k! * (1 - (k * x)^k)).
If p is prime, a(p) = 1 + p! = A038507(p).
MATHEMATICA
a[n_] := n! * DivisorSum[n, #^(n - #)/#! &]; Array[a, 19] (* Amiram Eldar, Jun 10 2022 *)
PROG
(PARI) a(n) = n!*sumdiv(n, d, d^(n-d)/d!);
(PARI) my(N=20, x='x+O('x^N)); Vec(serlaplace(sum(k=1, N, x^k/(k!*(1-(k*x)^k)))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 10 2022
STATUS
approved