login
A211640
Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2+x^2+y^2>n.
2
0, 1, 8, 26, 63, 124, 212, 339, 508, 722, 993, 1321, 1717, 2186, 2727, 3358, 4079, 4893, 5809, 6833, 7974, 9229, 10613, 12132, 13786, 15587, 17532, 19635, 21904, 24335, 26940, 29731, 32708, 35871, 39235, 42800, 46578, 50575, 54785, 59232
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 > n, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 80]] (* A211640 *)
(* Peter J. C. Moses, Apr 13 2012 *)
CROSSREFS
Cf. A211422.
Sequence in context: A163121 A250352 A213039 * A002901 A350163 A213769
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 18 2012
STATUS
approved