OFFSET
1,2
COMMENTS
Inverse Moebius transform of A062952.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = Sum_{k=1..n} tau(gcd(n,k)) * sigma(n/gcd(n,k)).
a(n) = Sum_{d|n} A062952(d).
a(n) = Sum_{k=1..n} tau(n/gcd(n,k))*sigma(gcd(n,k))*phi(gcd(n,k))/phi(n/gcd(n,k)). - Richard L. Ollerton, May 09 2021
From Amiram Eldar, Jan 26 2023: (Start)
Multiplicative with a(p^e) = (p^(2*e+4) - p^(e+3) - 2*p^(e+2) - p^(e+1) + (e+1)*p^3 - (e-1)*p + 1)/(p^2-1)^2.
MATHEMATICA
Table[Sum[EulerPhi[d] DivisorSigma[1, d] DivisorSigma[0, n/d], {d, Divisors[n]}], {n, 54}]
Table[Sum[DivisorSigma[0, GCD[n, k]] DivisorSigma[1, n/GCD[n, k]], {k, n}], {n, 54}]
f[p_, e_] := (p^(2*e + 4) - p^(e + 3) - 2*p^(e + 2) - p^(e + 1) + (e + 1)*p^3 - (e - 1)*p + 1)/(p^2 - 1)^2; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Jan 26 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, eulerphi(d)*sigma(d)*numdiv(n/d)); \\ Michel Marcus, Feb 17 2021
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Ilya Gutkovskiy, Feb 16 2021
STATUS
approved