OFFSET
1,6
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..10000
PROG
(PARI) a(n) = {my(m=1); foreach(factor(n)[, 1], d, if(d^2 < n, m=max(m, d))); m} \\ Andrew Howroyd, Oct 11 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 11 2023
STATUS
approved