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
KEYWORD
nonn
AUTHOR
Jaume Oliver Lafont, Feb 15 2009
EXTENSIONS
a(19) corrected by Sophia Keith, Sep 15 2024
STATUS
approved