|
|
A212094
|
|
Number of (w,x,y,z) with all terms in {1,...,n} and w^2>x^2+y^2+z^2.
|
|
3
|
|
|
0, 0, 1, 5, 22, 60, 135, 256, 452, 736, 1146, 1701, 2436, 3388, 4602, 6101, 7949, 10175, 12849, 16009, 19728, 24060, 29058, 34798, 41363, 48793, 57202, 66640, 77231, 88992, 102077, 116512, 132466, 149984, 169206, 190205, 213109, 238015
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
|
|
LINKS
|
|
|
MATHEMATICA
|
t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[w^2 > x^2 + y^2 + z^2, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 50]] (* A212094 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|