OFFSET
1,2
FORMULA
a(n^3) = 0.
a(n) = abs(A077111(n)). - R. J. Mathar, May 01 2008
MATHEMATICA
Table[Min[n^2-Floor[(n^2)^(1/3)]^3, (Floor[(n^2)^(1/3)]+1)^3-n^2], {n, 100}] (* Vladimir Joseph Stephan Orlovsky, Feb 01 2012 *)
PROG
(PARI) a(n)=vecmin(vector(ceil(n^(2/3)), i, abs(n^2-i^3)))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Aug 17 2002
STATUS
approved