login
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
OFFSET
0,3
COMMENTS
For a guide to related sequences, see A211422.
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 *)
(* Peter J. C. Moses, Apr 13 2012 *)
CROSSREFS
Cf. A211422.
Sequence in context: A211650 A211792 A211635 * A184629 A041215 A060822
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 18 2012
STATUS
approved