Problem:
Centered at each lattice point in the coordinate plane are a circle radius 101β and a square with sides of length 51β whose sides are parallel to the coordinate axes. The line segment from (0,0) to (1001,429) intersects m of the squares and n of the circles. Find m+n.
Solution:
Let A=(0,0) and B=(1001,429)=(143β
7,143β
3). Between the points (0,0) and (7,3),AB can intersect the square at lattice point (m,n) only if it passes between the upper-left and lower-right corners of the square. That is,
n+101ββ₯73β(mβ101β) and nβ101ββ€73β(m+101β)
This implies 3mβ1β€7nβ€3m+1. The only lattice points (m,n) with 0β€mβ€7 which satisfy this requirement are (0,0),(2,1),(5,2), and (7,3). In the cases of (0,0) and (7,3),AB passes through the center of the square centered at that point, so it also intersects the circle centered at that point. In the cases of (2,1) and (5,2),AB passes through the lower-right and upper-left corners of the square centered at that point, respectively, so it does not interest the circle centered at that point. Altogether the segment joining (0,0) to (7,3) intersects 4 squares and 2 circles. The same conclusion applies to the segment joining (7kβ7,3kβ3) to (7k,3k) for each k with 1β€kβ€143. Because the points (7k,3k ) belong to two of these segments for 1β€kβ€142,AB intersects 4β
143β142=430 of the squares and 2β
143β142=144 of the circles. The requested sum is 430+144=574β.
The problems on this page are the property of the MAA's American Mathematics Competitions