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!)
A156790 Number of first quadrant lattice squares inside the circle x^2+y^2=(2^n)^2 1
0, 1, 8, 41, 183, 770, 3149, 12730, 51209, 205356, 822500, 3292134, 13172634, 52698912, 210812207, 843281848, 3373193506, 13492906143, 53971888157, 15888078393, 863553363881, 3454215553470, 13816866413106, 55267474046659 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
a(n)/4^n converges to Pi/4 from below.
LINKS
Wikipedia, Gauss circle problem [From Jaume Oliver Lafont, Apr 20 2010]
EXAMPLE
Let + represent a square inside the circle and x a square traversed by the circle.
xx
+x a(1)=1
xxx
++xx
+++x
+++x a(2)=8
PROG
(PARI) a(n)=sum(m=1, 2^n-1, floor(sqrt(4^n-m^2)))
CROSSREFS
Cf. A057655.
Cf. A177144. [From Jaume Oliver Lafont, May 03 2010]
Sequence in context: A273112 A272925 A272944 * A272996 A273070 A273145
KEYWORD
nonn
AUTHOR
Jaume Oliver Lafont, Feb 15 2009
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)