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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A211648 Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2+x^2+y^2=3n. 2
0, 1, 3, 3, 1, 0, 3, 6, 3, 4, 6, 6, 3, 0, 6, 6, 1, 6, 12, 6, 0, 0, 12, 12, 3, 7, 6, 12, 6, 0, 12, 6, 3, 9, 6, 12, 4, 0, 12, 12, 6, 6, 18, 18, 6, 0, 12, 12, 3, 7, 15, 15, 0, 0, 12, 12, 6, 15, 18, 6, 6, 0, 18, 24, 1, 12, 15, 18, 6, 0, 12, 12, 12, 12, 18, 15, 6, 0, 24, 18, 0, 13, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

For a guide to related sequences, see A211422.

LINKS

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

MATHEMATICA

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

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

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

Map[t[#] &, Range[0, 100]]  (* A211648 *)

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

CROSSREFS

Cf. A211422.

Sequence in context: A343874 A114795 A245669 * A261634 A295848 A226785

Adjacent sequences:  A211645 A211646 A211647 * A211649 A211650 A211651

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 27 12:03 EST 2021. Contains 349394 sequences. (Running on oeis4.)