|
|
A211634
|
|
Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2<=x^2+y^2.
|
|
4
|
|
|
0, 1, 7, 22, 51, 99, 168, 265, 393, 556, 760, 1008, 1307, 1659, 2067, 2538, 3076, 3687, 4372, 5136, 5985, 6924, 7954, 9083, 10316, 11656, 13105, 14667, 16351, 18162, 20100, 22172, 24379, 26729, 29226, 31871, 34675, 37638, 40767, 44061
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
For a guide to related sequences, see A211422.
|
|
LINKS
|
|
|
MATHEMATICA
|
t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[w^2 <= x^2 + y^2, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 50]] (* A211634 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|