login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A366520 Largest odd divisor of n which is < sqrt(n), for n >= 2; a(1) = 1. 2
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 3, 1, 1, 3, 1, 1, 3, 1, 1, 3, 1, 1, 3, 1, 1, 5, 1, 1, 3, 1, 5, 3, 1, 1, 3, 5, 1, 3, 1, 1, 5, 1, 1, 3, 1, 5, 3, 1, 1, 3, 5, 7, 3, 1, 1, 5, 1, 1, 7, 1, 5, 3, 1, 1, 3, 7, 1, 3, 1, 1, 5, 1, 7, 3, 1, 5, 3, 1, 1, 7, 5, 1, 3, 1, 1, 9, 7, 1, 3, 1, 5, 3, 1, 7, 9, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,12
LINKS
MATHEMATICA
Join[{1}, Table[Last[Select[Divisors[n], # < Sqrt[n] && OddQ[#] &]], {n, 2, 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
Sequence in context: A111625 A109007 A132951 * A366519 A353517 A353487
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 11 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 29 10:41 EDT 2024. Contains 373837 sequences. (Running on oeis4.)