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!)
A078183 Number of solutions to x^2 + y^2 + z^2 < n^2; number of lattice points inside a sphere of radius n. 1

%I #4 Mar 30 2012 17:22:26

%S 0,1,27,93,251,485,895,1365,2103,2969,4139,5497,7123,9093,11459,13997,

%T 17071,20377,24303,28545,33371,38641,44395,50733,57747,65117,73447,

%U 82201,91911,101769,112931,124289,137059,150165,164415,179309,195167

%N Number of solutions to x^2 + y^2 + z^2 < n^2; number of lattice points inside a sphere of radius n.

%F a(n) = A000605(n) - A016725(n)

%t s = 0; Table[s = s + Sum[SquaresR[3, k], {k, (n - 1)^2, n^2 - 1}], {n, 0, 50}]

%Y Cf. A000605, A016725.

%K nonn

%O 0,3

%A _T. D. Noe_, Nov 21 2002

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 8 08:13 EDT 2024. Contains 372319 sequences. (Running on oeis4.)