|
|
A212108
|
|
Number of (w,x,y,z) with all terms in {1,...,n} and w*x-y*z<n.
|
|
1
|
|
|
0, 1, 13, 62, 187, 444, 885, 1616, 2677, 4227, 6326, 9163, 12742, 17468, 23167, 30278, 38876, 49268, 61315, 75858, 92363, 111867, 134039, 159426, 187841, 220810, 257093, 297936, 343312, 394178, 449481, 511840, 578961, 653514, 734486
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
MATHEMATICA
|
t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[w*x < y*z + n, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 40]] (* A212108 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|