OFFSET
1,3
COMMENTS
LINKS
MATHEMATICA
f[p_, e_] := (q = NextPrime[p])^e - p * q^(e-1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Nov 18 2021 *)
PROG
CROSSREFS
KEYWORD
nonn,mult,changed
AUTHOR
Antti Karttunen, Nov 17 2021
STATUS
approved