OFFSET
0,4
COMMENTS
For a guide to related sequences, see A211422.
LINKS
Robert Israel, Table of n, a(n) for n = 0..2000
MAPLE
g:= proc(n) local x;
add(floor((n^3-x^3)^(1/3)), x=1..n-1)
end proc:
ListTools:-PartialSums(map(g, [$0..50])); # Robert Israel, May 03 2019
MATHEMATICA
t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[w^3 >= x^3 + y^3, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)]];
Map[t, Range[0, 50]] (* A211651 *)
(* Peter J. C. Moses, Apr 13 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 19 2012
STATUS
approved