A211917 Number of (w,x,y,z) with all terms in {1,...,n} and w*x<3*y*z.
0, 1, 15, 67, 210, 507, 1029, 1904, 3225, 5123, 7785, 11368, 16023, 22035, 29572, 38867, 50233, 63931, 80180, 99459, 121947, 148024, 178141, 212635, 251805, 296268, 346348, 402462, 465175, 534990, 612224, 697732, 791813, 895043
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]] (* A211917 *) (* Peter J. C. Moses, Apr 13 2012 *)
Comments