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!)
A366521 Largest squarefree divisor of n which is <= sqrt(n). 2
1, 1, 1, 2, 1, 2, 1, 2, 3, 2, 1, 3, 1, 2, 3, 2, 1, 3, 1, 2, 3, 2, 1, 3, 5, 2, 3, 2, 1, 5, 1, 2, 3, 2, 5, 6, 1, 2, 3, 5, 1, 6, 1, 2, 5, 2, 1, 6, 7, 5, 3, 2, 1, 6, 5, 7, 3, 2, 1, 6, 1, 2, 7, 2, 5, 6, 1, 2, 3, 7, 1, 6, 1, 2, 5, 2, 7, 6, 1, 5, 3, 2, 1, 7, 5, 2, 3, 2, 1, 6, 7, 2, 3, 2, 5, 6, 1, 7, 3, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
MATHEMATICA
Table[Last[Select[Divisors[n], # <= Sqrt[n] && SquareFreeQ[#] &]], {n, 100}]
PROG
(PARI) a(n) = {my(m=1); fordiv(n, d, if(d^2 <= n && issquarefree(d), m=max(m, d))); m} \\ Andrew Howroyd, Oct 11 2023
CROSSREFS
Sequence in context: A072203 A345266 A217581 * A348581 A124044 A059981
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 May 7 02:37 EDT 2024. Contains 372300 sequences. (Running on oeis4.)