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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A092282 Difference between largest square number and largest cube number less than n. 0
0, 0, 0, 3, 3, 3, 3, -4, 1, 1, 1, 1, 1, 1, 1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 17, 17, -2, -2, -2, -2, -2, -2, -2, -2, -2, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 37, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 36 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

FORMULA

a(n) = floor(i^(1/2))^2 - floor(i^(1/3))^3

EXAMPLE

n = 10; largest square = 3^2 = 9; largest cube = 2^3 = 8; a(10) = 9 - 8 = 1;

CROSSREFS

Sequence in context: A163469 A105121 A177013 * A048181 A091799 A179847

Adjacent sequences:  A092279 A092280 A092281 * A092283 A092284 A092285

KEYWORD

easy,sign

AUTHOR

Felix Tubiana (fat2(AT)columbia.edu), Jan 27 2004

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 15 09:13 EST 2012. Contains 205750 sequences.