OFFSET
1,9
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[Last[Select[Divisors[n], # <= Sqrt[n] && OddQ[#] &]], {n, 100}]
PROG
(PARI) a(n) = {my(m=1); fordiv(n/2^valuation(n, 2), 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