|
|
A211644
|
|
Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2+x^2+y^2>2n.
|
|
2
|
|
|
0, 1, 7, 23, 60, 118, 205, 326, 495, 706, 974, 1296, 1690, 2153, 2696, 3315, 4036, 4844, 5754, 6772, 7913, 9159, 10540, 12047, 13703, 15492, 17437, 19526, 21789, 24220, 26822, 29595, 32572, 35723, 39084, 42637, 46415, 50397, 54606, 59035
(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 > 2 n, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 80]] (* A211644 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|