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