login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A211647 Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2+x^2+y^2<=3n. 2

%I #5 Dec 04 2016 19:46:28

%S 0,1,4,7,11,17,23,32,38,48,60,66,78,87,102,114,121,139,157,169,178,

%T 196,214,232,241,263,284,296,314,329,359,371,386,410,434,452,471,495,

%U 516,540,555,582,612,630,651,678,702,729,738,772,805,829,853,871

%N Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2+x^2+y^2<=3n.

%C For a guide to related sequences, see A211422.

%t t = Compile[{{n, _Integer}}, Module[{s = 0},

%t (Do[If[w^2 + x^2 + y^2 <= 3 n, s = s + 1],

%t {w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)]];

%t Map[t[#] &, Range[0, 80]] (* A211647 *)

%t (* _Peter J. C. Moses_, Apr 13 2012 *)

%Y Cf. A211422.

%K nonn

%O 0,3

%A _Clark Kimberling_, Apr 18 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 04:38 EDT 2024. Contains 371696 sequences. (Running on oeis4.)