OFFSET
1,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
a(n) = gcd(n, A002322(n)).
MATHEMATICA
Array[GCD[#, CarmichaelLambda[#]] &, 100] (* Amiram Eldar, Oct 04 2019 *)
PROG
(PARI) A327979(n) = gcd(n, lcm(znstar(n)[2]));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 04 2019
STATUS
approved