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!)
A211639 Number of ordered triples (w,x,y) with all terms in {1,...,n} and w^2+x^2+y^2<=n. 6
0, 0, 0, 1, 1, 1, 4, 4, 4, 7, 7, 10, 11, 11, 17, 17, 17, 20, 23, 26, 26, 32, 35, 35, 38, 38, 44, 48, 48, 54, 60, 60, 60, 66, 69, 75, 78, 78, 87, 87, 87, 96, 102, 105, 108, 114, 120, 120, 121, 127, 133, 139, 139, 145, 157, 157, 163, 169, 169, 178, 178, 184, 196 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
COMMENTS
For a guide to related sequences, see A211422.
LINKS
FORMULA
a(n) = A211638(n)+A063691(n). - R. J. Mathar, Jan 07 2015
G.f.: (theta_3(x) - 1)^3/(8*(1 - x)), where theta_3() is the Jacobi theta function. - Ilya Gutkovskiy, Apr 17 2018
MATHEMATICA
t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[w^2 + x^2 + y^2 <= n, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 80]] (* A211639 *)
(* Peter J. C. Moses, Apr 13 2012 *)
CROSSREFS
Sequence in context: A137751 A244481 A211638 * A010658 A128939 A342484
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 22 15:57 EDT 2024. Contains 373590 sequences. (Running on oeis4.)