OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..449
FORMULA
G.f.: Sum_{k>0} k! * (x/(1 - x^k))^k.
If p is prime, a(p) = 1 + p!.
MATHEMATICA
Table[n*DivisorSum[n, ((# + n/# - 2)!)/(#!) &], {n, 22}] (* Michael De Vlieger, Nov 13 2022 *)
PROG
(PARI) a(n) = n*sumdiv(n, d, (d+n/d-2)!/d!);
(PARI) my(N=30, x='x+O('x^N)); Vec(sum(k=1, N, k!*(x/(1-x^k))^k))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Nov 13 2022
STATUS
approved