|
|
A211635
|
|
Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2<x^2+y^2.
|
|
3
|
|
|
0, 1, 7, 22, 51, 97, 166, 263, 391, 554, 756, 1004, 1303, 1653, 2061, 2530, 3068, 3677, 4362, 5126, 5973, 6912, 7942, 9071, 10304, 11640, 13087, 14649, 16333, 18142, 20078, 22150, 24357, 26707, 29202, 31845, 34649, 37610, 40739, 44031
(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]] (* A211635 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|