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”).

A070930
Smallest integer >= 0 of the form x^3 - n^4.
0
0, 11, 44, 87, 104, 35, 343, 0, 298, 648, 984, 1216, 1230, 888, 28, 3385, 1663, 5616, 2330, 6375, 631, 4072, 7655, 11224, 14599, 17576, 0, 21400, 21719, 20584, 17671, 12632, 5095, 31295, 20250, 5543, 32463, 12016, 39196, 11353, 37527, 440, 24150
OFFSET
1,2
COMMENTS
a(n)=0 if n is a cube.
FORMULA
a(n) = ceiling(n^(4/3))^3 - n^4.
MATHEMATICA
Array[Ceiling[#^(4/3)]^3-#^4&, 50] (* Harvey P. Dale, Dec 24 2015 *)
PROG
(PARI) for(n=1, 100, print1(ceil(n^(4/3))^3-n^4, ", "))
CROSSREFS
Cf. A068527.
Sequence in context: A010819 A022703 A061976 * A033584 A248126 A253445
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 20 2002
STATUS
approved