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