OFFSET
1,2
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 1..10000
FORMULA
Multiplicative with a(p^e) = p^e * (p^(2*e)-1) * (p-1) / (p+1) for e > 0 and prime p.
Equals n * A340850(n) for n > 0.
Dirichlet inverse b(n) for n > 0 is multiplicative with b(1) = 1 and
b(p^e) = -(p-1)^2 * e * p^(2*e-1) for prime p and e > 0.
Sum_{k=1..n} a(k) ~ c * n^4, where c = 9*zeta(3)/Pi^4 = 0.111062... . - Amiram Eldar, Oct 16 2022
MATHEMATICA
f[p_, e_] := (p - 1)*p^e*(p^(2*e) - 1)/(p + 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 50] (* Amiram Eldar, Nov 18 2021 *)
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Werner Schulte, Nov 18 2021
STATUS
approved