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

A070928
Smallest integer >= 0 of the form x^4 - n^3.
0
0, 8, 54, 17, 131, 40, 282, 113, 567, 296, 1070, 673, 204, 1352, 721, 0, 1648, 729, 3141, 2000, 739, 3993, 2474, 817, 5111, 3160, 1053, 6609, 4172, 1561, 8625, 5648, 2479, 11321, 7750, 3969, 14883, 10664, 6217, 1536, 14600, 9433, 4014, 19792
OFFSET
1,2
COMMENTS
a(n)=0 if n is a power of 4.
FORMULA
a(n) = ceiling(n^(3/4))^4 - n^3.
MATHEMATICA
si[n_]:=Module[{k=Ceiling[Surd[n^3, 4]]}, While[!Integer[k^4-n^3], k++]; k^4-n^3]; Array[si, 50] (* Harvey P. Dale, Jan 03 2021 *)
PROG
(PARI) for(n=1, 100, print1(ceil(n^(3/4))^4-n^3, ", "))
CROSSREFS
Cf. A068527.
Sequence in context: A293115 A337554 A370359 * A180095 A234955 A189393
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 20 2002
STATUS
approved