OFFSET
1,60
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..100000
MATHEMATICA
a[n_] := SelectFirst[Divisors[n], # >= n/# && CoprimeQ[#, n/#] &] - Max[Power @@@ FactorInteger[n]]; Array[a, 100] (* Amiram Eldar, Jun 18 2022 *)
PROG
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Antti Karttunen, Jun 18 2022
STATUS
approved