OFFSET
1,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
MATHEMATICA
f[p_, e_] := p*(p + 1)^(e - 1); a[n_] := n / GCD[n, Times @@ f @@@ FactorInteger[n]]; Array[a, 100] (* Amiram Eldar, Oct 20 2021 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 19 2021
STATUS
approved