OFFSET
0,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = n - A048762(n) = n - floor(n^(1/3))^3.
a(n) < 3*n^(2/3) for n > 0. - Charles R Greathouse IV, Sep 02 2015
EXAMPLE
a(12) = 4 because 2^3 <= 12 < 3^3 and 12 - 2^3 = 4.
MAPLE
MATHEMATICA
Array[#-Floor[Power[#, (3)^-1]]^3&, 90, 0] (* Harvey P. Dale, Jan 18 2012 *)
PROG
(PARI) a(n)=n-sqrtnint(n, 3)^3 \\ Charles R Greathouse IV, Sep 02 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Henry Bottomley, May 16 2000
STATUS
approved