The main result is an
estimate for the number P(r) of relatively prime pairs (a,b) of integers within a
contour. When specialized to the contour x2+ y2= r this estimate gives
A
similar estimate, with the same sort of error, is obtained for the number of relatively
prime pairs (a,b) of positive integers so that ab ≤ r. The error term for a general
contour depends on the maximal value of the radius of curvature of the bounding
contour.