login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A211643 Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2+x^2+y^2<=2n. 2
0, 0, 1, 4, 4, 7, 11, 17, 17, 23, 26, 35, 38, 44, 48, 60, 60, 69, 78, 87, 87, 102, 108, 120, 121, 133, 139, 157, 163, 169, 178, 196, 196, 214, 220, 238, 241, 256, 266, 284, 284, 299, 314, 329, 332, 359, 365, 383, 386, 401, 410, 434, 440, 458, 471, 495 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

Is A211643 a subsequence of A211639?

For a guide to related sequences, see A211422.

LINKS

Table of n, a(n) for n=0..55.

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]]   (* A211643 *)

(* Peter J. C. Moses, Apr 13 2012 *)

CROSSREFS

Cf. A211422.

Sequence in context: A293678 A063984 A347060 * A284640 A036605 A183541

Adjacent sequences:  A211640 A211641 A211642 * A211644 A211645 A211646

KEYWORD

nonn

AUTHOR

Clark Kimberling, Apr 18 2012

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 29 21:32 EST 2021. Contains 349416 sequences. (Running on oeis4.)