OFFSET
1,3
LINKS
FORMULA
MATHEMATICA
f[p_, e_] := ((q = NextPrime[p])^(e + 1) - 1)/(q - 1); a[1] = 1; a[n_] := GCD[DivisorSigma[1, n], Times @@ f @@@ FactorInteger[n]]; Array[a, 100] (* Amiram Eldar, Jul 22 2022 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 22 2022
STATUS
approved