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!)
A211644 Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2+x^2+y^2>2n. 2

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

%S 0,1,7,23,60,118,205,326,495,706,974,1296,1690,2153,2696,3315,4036,

%T 4844,5754,6772,7913,9159,10540,12047,13703,15492,17437,19526,21789,

%U 24220,26822,29595,32572,35723,39084,42637,46415,50397,54606,59035

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

%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 > 2 n, s = s + 1],

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

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

%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 May 9 00:54 EDT 2024. Contains 372341 sequences. (Running on oeis4.)