A212099 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, 192, 367, 645, 1047, 1620, 2395, 3414, 4749, 6435, 8518, 11079, 14171, 17876, 22272, 27409, 33396, 40290, 48249, 57265, 67548, 79146, 92127, 106708, 122880, 140876, 160757, 182694, 206791, 233160, 262032, 293445
Offset: 0
Keywords
Links
- Giovanni Resta, Table of n, a(n) for n = 0..1000
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]] (* A212099 *) (* Peter J. C. Moses, Apr 13 2012 *)
Comments