Counting integer solutions to $x^2 + y ^2 < n$

203 Views Asked by At

How can I count the number of integer solutions, $\mu(n)$, of $x^2+y^2 < n$, and then hopefully look at behavior as $n \to +\infty$?

2

There are 2 best solutions below

0
On

The behaviour as $n\to\infty$ is simpler than counting exactly in the finite case: You count exactly the integer points in a circle of radius $\sqrt n$. Since the circle is not too "chaotic", the number of points is essentially the area of the circle: $\mu(n)\sim \pi n$.

0
On

This is the Gauss circle problem; you’ll find considerable information there and at MathWorld. The latter has numerous references, and there are more references at OEIS A000328.