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!)
A332012 a(n) is the greatest square of the form floor(n/k) where k > 0. 2
0, 1, 1, 1, 4, 1, 1, 1, 4, 9, 1, 1, 4, 4, 4, 1, 16, 4, 9, 9, 4, 4, 4, 4, 4, 25, 4, 9, 9, 9, 4, 4, 16, 16, 4, 4, 36, 9, 9, 9, 4, 4, 4, 4, 4, 9, 9, 9, 16, 49, 25, 25, 4, 4, 9, 9, 9, 9, 9, 9, 4, 4, 4, 9, 64, 16, 16, 16, 9, 9, 4, 4, 36, 36, 9, 25, 25, 25, 9, 9, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
a(n) = A331958(n)^2.
a(n^2) = n^2.
a(2*n^2) = n^2.
EXAMPLE
For n = 8:
- floor(8/1) = 8 is not a square number,
- floor(8/2) = 4 is a square number,
- hence a(8) = 4.
PROG
(PARI) a(n) = for (k=1, oo, if (issquare(n\k), return (n\k)))
CROSSREFS
Sequence in context: A358272 A008833 A162400 * A365788 A179054 A063928
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Feb 04 2020
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 April 19 03:30 EDT 2024. Contains 371782 sequences. (Running on oeis4.)