OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Multiplicative with a(p^e) = (p^(e+3)-3*p^(e+2)+4*p^(e+1)-p-1+2*p^(e+3)*e-6*p^(e+2)*e+4*p^(e+1)*e+p^(e+3)*e^2-2*p^(e+2)*e^2+p^(e+1)*e^2)/(p-1)^3.
MATHEMATICA
a[n_] := DivisorSum[n, # * DivisorSigma[0, #]^2 &]; Array[a, 100] (* Amiram Eldar, Sep 15 2019 *)
PROG
(PARI) a(n) = sumdiv(n, d, d*numdiv(d)^2) \\ Michel Marcus, Jun 17 2013
(Magma) [&+[d*#Divisors(d)^2: d in Divisors(n)]:n in [1..51]]; // Marius A. Burtea, Sep 15 2019
CROSSREFS
KEYWORD
mult,nonn
AUTHOR
Vladeta Jovovic, Apr 01 2002
STATUS
approved