Round Numbers

Every now and again one comes across an astounding result that closely relates two foreign objects which seem to have nothing in common. Who would suspect, for example, that on the average, the number of ways of expressing a positive integer n as a sum of two integral squares, x2 + y2 = n, is π?

— Ross Honsberger, Mathematical Gems III, 1977