OFFSET
1,2
COMMENTS
a(n) is the smallest divisor d of n such that d >= sqrt(n) and that gcd(d,n/d) = 1. For the proof see A052128. - Jianing Song, Sep 28 2022
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
MATHEMATICA
a[n_] := SelectFirst[Divisors[n], # >= n/# && CoprimeQ[#, n/#] &]; Array[a, 100] (* Amiram Eldar, Jun 16 2022 *)
PROG
(PARI) A354933(n) = fordiv(n, d, if((d>=(n/d)) && 1==gcd(d, n/d), return(d)));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 16 2022
EXTENSIONS
Definition rewritten by Jianing Song, Sep 28 2022
STATUS
approved