The Gauss Circle Problem: find the number of integer lattice points inside a circle.
My question is: why was Gauss studying this problem? Was it just math for math's sake, or was this a part of a larger problem he wanted to solve?
I'm guessing there must be a connection to Gaussian integers, but I tried to find the origin on math history books and couldn't find anything.