login
A212095
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, 8, 25, 63, 141, 268, 464, 760, 1170, 1734, 2472, 3430, 4650, 6164, 8012, 10247, 12933, 16108, 19827, 24192, 29199, 34957, 41525, 48967, 57382, 66859, 77456, 89235, 102335, 116794, 132748, 150314, 169545, 190574, 213490, 238420
OFFSET
0,4
COMMENTS
a(n)+A212092(n)=n^4. For a guide to related sequences, see A211795.
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]] (* A212095 *)
(* Peter J. C. Moses, Apr 13 2012 *)
CROSSREFS
Cf. A211795.
Partial sums of A253663.
Sequence in context: A346522 A244834 A169831 * A287120 A127813 A295911
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 02 2012
STATUS
approved