A212057
Number of (w,x,y,z) with all terms in {1,...,n} and w
0, 0, 11, 69, 231, 584, 1230, 2307, 3964, 6385, 9771, 14356, 20377, 28125, 37894, 50008, 64809, 82681, 104005, 129216, 158743, 193063, 232668, 278080, 329812, 388452, 454585, 528822, 611791, 704167, 806610, 919852, 1044607, 1181643
Offset: 0
Keywords
Programs
-
Mathematica
t = Compile[{{n, _Integer}}, Module[{s = 0}, (Do[If[w < x*y*z, s = s + 1], {w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]]; Map[t[#] &, Range[0, 50]] (* A212057 *) (* Peter J. C. Moses, Apr 13 2012 *)
Comments