OFFSET
1,1
FORMULA
a(n) = Sum_{d|n} (n/d)^d * binomial(d+2,2).
MATHEMATICA
a[n_] := DivisorSum[n, (n/#)^# * Binomial[# + 2, 2] &]; Array[a, 40] (* Amiram Eldar, Jul 17 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, (n/d)^d*binomial(d+2, 2));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 13 2023
STATUS
approved