OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
If k is squarefree (cf. A005117) then a(k) = k^3.
a(n) = Sum_{d|n} phi(d) * sigma(d^2).
From Amiram Eldar, May 20 2024: (Start)
Multiplicative with a(p^e) = (p^(3*e+3)-1)/(p^3-1) - (p^e-1)/(p-1).
Sum_{k=1..n} a(k) ~ c * n^4 / 4, where c = (Pi^2/15) * zeta(3) * Product_{p prime} (1 + 1/p^2 - 1/p^3) = 1.03291869994469216597... . (End)
MATHEMATICA
a[n_] := DivisorSum[n, EulerPhi[#] * DivisorSigma[1, #^2] &]; Array[a, 100] (* Amiram Eldar, May 20 2024 *)
PROG
(PARI) a(n) = sumdiv(n, d, eulerphi(d)*sigma(d^2));
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Seiichi Manyama, May 19 2024
STATUS
approved