login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A053187 Nearest square. 6
0, 1, 1, 4, 4, 4, 4, 9, 9, 9, 9, 9, 9, 16, 16, 16, 16, 16, 16, 16, 16, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

COMMENTS

Apart from 0, k^2 appears 2k times from a(k^2-k+1) through to a(k^2+k) inclusive

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 0..10000

EXAMPLE

a(7)=9 since 7 is closer to 9 than to 4

PROG

(Haskell)

a053187 n = a053187_list !! n

a053187_list = 0 : concatMap (\x -> replicate (2*x) (x ^ 2)) [1..]

-- Reinhard Zumkeller, Nov 28 2011

CROSSREFS

Cf. A048760, A053188.

Cf. A061023, A201053 (nearest cube), A000290.

Sequence in context: A081676 A114555 A124570 * A013189 A190718 A035621

Adjacent sequences:  A053184 A053185 A053186 * A053188 A053189 A053190

KEYWORD

easy,nonn

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Mar 01 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 11:30 EST 2012. Contains 205907 sequences.