OFFSET
1,2
LINKS
FORMULA
Multiplicative with a(p^e) = q^e * (p^(e+1)-1)/(p-1), where q = 1 for p = 2, and for odd primes p, q = A151799(p), i.e., the previous prime.
Sum_{k=1..n} a(k) ~ c * n^3, where c = (16/63) * Product_{p prime > 2} p^4*(p-1)/((p^3-prevprime(p))*(p^2-prevprime(p))) = 0.1935405..., where prevprime is A151799. - Amiram Eldar, Dec 24 2022
MATHEMATICA
f[p_, e_] := If[p == 2, 1, NextPrime[p, -1]^e]*(p^(e + 1) - 1)/(p - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Dec 24 2022 *)
PROG
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, Mar 23 2021
STATUS
approved