login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A070923
a(n) is the smallest value >= 0 of the form x^3 - n^2.
11
0, 0, 4, 18, 11, 2, 28, 15, 0, 44, 25, 4, 72, 47, 20, 118, 87, 54, 19, 151, 112, 71, 28, 200, 153, 104, 53, 0, 216, 159, 100, 39, 307, 242, 175, 106, 35, 359, 284, 207, 128, 47, 433, 348, 261, 172, 81, 535, 440, 343, 244, 143, 40, 566, 459, 350, 239, 126, 11, 615, 496
OFFSET
0,3
COMMENTS
a(n) = 0 if n is a cube (i.e., n is in A000578(k)).
a(n) = A181138(n) if n is not a cube. - Zak Seidov, Mar 26 2013
LINKS
FORMULA
a(n) = ceiling(n^(2/3))^3 - n^2 = A077107(n)-n^2.
KEYWORD
easy,look,nonn
AUTHOR
Benoit Cloitre, May 20 2002
EXTENSIONS
a(0)=0 prepended by Alois P. Heinz, Mar 07 2022
STATUS
approved