Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A154333
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A154333 Difference between n^3 and the next smaller square +0
2
1, 4, 2, 15, 4, 20, 19, 28, 53, 39, 35, 47, 81, 40, 11, 127, 13, 56, 135, 79, 45, 39, 67, 135, 249, 152, 83, 48, 53, 104, 207, 7, 216, 100, 26, 431, 28, 116, 270, 496, 277, 104, 546, 503, 524, 615, 139, 368, 685, 391, 155, 732, 652, 648, 726, 55, 293, 631, 170, 704, 405 (list; graph; listen)
OFFSET

1,2

COMMENT

The sequence A077116(n) = n^3-[sqrt(n^3)]^2 satisfies A077116(n)=0 <=> n^3 is a square <=> n is a square. It differs from the present sequence (which is always positive) only in these indices, where a(k^2)=2k^3-1.

FORMULA

a(n) = n^3 - [sqrt(n^3 - 1)]^2 = A000578(n) - A048760(n^3-1). a(k^2) = 2 k^3 - 1.

PROGRAM

(PARI) A154333(n) = n^3-sqrtint(n^3-1)^2

a154333 = vector(90, n, n^3-sqrtint(n^3-1)^2)

CROSSREFS

Cf. A087285 (range of this sequence, excluding the initial term 1).

Sequence in context: A087957 A019012 A019061 this_sequence A121662 A130042 A109922

Adjacent sequences: A154330 A154331 A154332 this_sequence A154334 A154335 A154336

KEYWORD

nonn

AUTHOR

M. F. Hasler (MHasler(AT)univ-ag.fr), Jan 07 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 16 17:18 EST 2009. Contains 170825 sequences.


AT&T Labs Research