|
|
A212111
|
|
Number of (w,x,y,z) with all terms in {1,...,n} and w*x+y*z<n^2.
|
|
2
|
|
|
0, 0, 5, 48, 180, 481, 1034, 1986, 3441, 5602, 8623, 12755, 18126, 25165, 33951, 44936, 58367, 74638, 93934, 116987, 143760, 175126, 211253, 252782, 299884, 353673, 414098, 482057, 557997, 642810, 736317, 840479, 954638, 1080451
(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, 60]] (* A212111 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|