A212100 Number of (w,x,y,z) with all terms in {1,...,n} and w^3>=x^3+y^3+z^3.
0, 0, 1, 9, 35, 89, 198, 373, 651, 1059, 1632, 2407, 3432, 4767, 6453, 8536, 11097, 14189, 17906, 22308, 27451, 33438, 40332, 48291, 57313, 67602, 79200, 92187, 106774, 122952, 140954, 160835, 182772, 206869, 233238, 262110, 293535
Offset: 0
Keywords
Crossrefs
Cf. A211795.
Programs
-
Mathematica
t = Compile[{{n, _Integer}}, Module[{s = 0}, (Do[If[w^3 >= x^3 + y^3 + z^3, s = s + 1], {w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]]; Map[t[#] &, Range[0, 40]] (* A212100 *) (* Peter J. C. Moses, Apr 13 2012 *)
Comments