OFFSET
1,9
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
Multiplicative with a(2^e) = 1, a(p^1) = 1 and a(p^e) = (p^e - 1)/(p-1) if e > 1.
Dirichlet g.f.: zeta(s-1) * zeta(s) * (1 - 1/(1-2^s+2^(2*s-1))) * Product_{p prime} (1 - 1/p^(s-1) + 1/p^(2*s-1)). - Amiram Eldar, Dec 18 2023
MATHEMATICA
f[2, e_] := 1; f[p_, e_] := (p^e - 1)/(p-1); a[1] = 1; a[n_] := Times @@ (f @@@ FactorInteger[n]); Array[a, 100] (* Amiram Eldar, Dec 07 2020 *)
PROG
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, Jul 30 2020
STATUS
approved