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
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 20 2002
STATUS
approved