(* _Peter J. C. Moses, _, Apr 13 2012 *)
(* _Peter J. C. Moses, _, Apr 13 2012 *)
editing
approved
proposed
approved
editing
proposed
allocated for Clark KimberlingNumber of (w,x,y,z) with all terms in {1,...,n} and w*x<=y*z+1.
0, 1, 13, 56, 158, 365, 725, 1312, 2198, 3477, 5245, 7624, 10742, 14725, 19725, 25920, 33470, 42557, 53397, 66176, 81150, 98525, 118533, 141456, 167606, 197189, 230509, 267920, 309726, 356205, 407805, 464744, 527494, 596389, 671789
0,3
See A211795 for a guide to related sequences.
t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[w*x <= y*z + 1, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 50]] (* A212053 *)
(* Peter Moses, Apr 13 2012 *)
Cf. A211795.
allocated
nonn
Clark Kimberling, Apr 29 2012
approved
editing
allocated for Clark Kimberling
allocated
approved