OFFSET
1,3
COMMENTS
LINKS
FORMULA
a(n) = Sum_{d|n} A347237(d).
Multiplicative with a(p^e) = (A151800(p)^(e+1)-(-p)^(e+1))/(A151800(p)+p). - Sebastian Karlsson, Sep 02 2021
MATHEMATICA
f[p_, e_] := ((np = NextPrime[p])^(e + 1) - (-p)^(e + 1))/(np + p); a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Sep 02 2021 *)
PROG
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, Aug 24 2021
STATUS
approved