OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
PROG
(PARI) A324388(n) = if(1>=omega(n), n, fordiv(n, d, if((d>1)&&(1==gcd(d, n/d)), return(n/d))));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen and David James Sycamore, Feb 28 2019
STATUS
approved