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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A072689 Difference between (least square >= n) and (largest square <= n). 1
0, 3, 3, 0, 5, 5, 5, 5, 0, 7, 7, 7, 7, 7, 7, 0, 9, 9, 9, 9, 9, 9, 9, 9, 0, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

a(n)=0 iff n is a square.

FORMULA

a(n) = A057427(n - A048760(n)) * (A000196(A048760(n))*2 + 1).

CROSSREFS

a(n) = A048761(n) - A048760(n).

Cf. A000290, A072690.

Sequence in context: A096439 A128046 A102899 * A021972 A193451 A117234

Adjacent sequences:  A072686 A072687 A072688 * A072690 A072691 A072692

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jul 02 2002

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 14 16:24 EST 2012. Contains 205635 sequences.