A212097
Number of (w,x,y,z) with all terms in {1,...,n} and w^3
0, 1, 15, 72, 221, 536, 1098, 2028, 3445, 5502, 8368, 12234, 17304, 23794, 31963, 42089, 54439, 69332, 87070, 108013, 132549, 161043, 193924, 231550, 274463, 323023, 377776, 439254, 507882, 584329, 669046, 762686, 865804, 979052
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]] (* A212097 *) (* Peter J. C. Moses, Apr 13 2012 *)
Comments