|
|
A212136
|
|
Number of (w,x,y,z) with all terms in {1,...,n} and w*x+y*z>n^2.
|
|
2
|
|
|
0, 1, 7, 25, 60, 126, 222, 387, 599, 903, 1295, 1830, 2458, 3322, 4317, 5539, 6993, 8773, 10766, 13198, 15906, 19095, 22707, 26879, 31376, 36684, 42500, 49024, 56131, 64205, 72833, 82742, 93314, 104934, 117500, 131277, 146003, 162489
(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^2, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 40]] (* A212136 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|