OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..5000
FORMULA
a(n) = [x^n] Sum_{k>0} k * (n * x / k)^k / (1 - k * x^k).
If p is prime, a(p) = 2 * p.
MATHEMATICA
a[n_] := DivisorSum[n, #^(n/#) * (n/#)^# &]; Array[a, 40] (* Amiram Eldar, Aug 09 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, d^(n/d)*(n/d)^d);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jan 16 2023
STATUS
approved