OFFSET
1,6
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
PROG
(PARI) A330749(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); gcd(n, factorback(f)); };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 29 2019
STATUS
approved