A211918 Number of (w,x,y,z) with all terms in {1,...,n} and w*x>3*y*z.
0, 0, 1, 6, 32, 100, 219, 441, 797, 1312, 2061, 3107, 4451, 6248, 8526, 11336, 14823, 19090, 24122, 30164, 37253, 45501, 55091, 66154, 78663, 92979, 109170, 127281, 147629, 170403, 195536, 223509, 254329, 288192, 325385, 366061
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]] (* A211918 *) (* Peter J. C. Moses, Apr 13 2012 *)
Comments