A211919 Number of (w,x,y,z) with all terms in {1,...,n} and w*x>=3*y*z.
0, 0, 1, 14, 46, 118, 267, 497, 871, 1438, 2215, 3273, 4713, 6526, 8844, 11758, 15303, 19590, 24796, 30862, 38053, 46457, 56115, 67206, 79971, 94357, 110628, 128979, 149481, 172291, 197776, 225789, 256763, 290878, 328179, 369011
Offset: 0
Keywords
Crossrefs
Cf. A211795.
Programs
-
Mathematica
t = Compile[{{n, _Integer}}, Module[{s = 0}, (Do[If[w*x >= 3 y*z, s = s + 1], {w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]]; Map[t[#] &, Range[0, 40]] (* A211919 *) (* Peter J. C. Moses, Apr 13 2012 *)
Comments