OFFSET
1,2
COMMENTS
LINKS
FORMULA
MATHEMATICA
f[p_, e_] := ((np = NextPrime[p])^(e + 1) - p^(e + 1))/(np - p); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Aug 24 2021 *)
PROG
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, Aug 24 2021
STATUS
approved