2016 AIME I Problem 14
Problem 14 of 15HarderGeometryNumber Theory
Centered at each lattice point in the coordinate plane are a circle radius and a square with sides of length whose sides are parallel to the coordinate axes. The line segment from to intersects of the squares and of the circles. Find
Your answer
Integer from 0 to 999
Show solution
Solution
Since the segment passes through the lattice points for and consists of translated copies of the segment from to The line is It meets the square centered at exactly when its height passes within of for some within of that is when or equivalently
For the solutions are and with and and with In the first two the line passes through the center, so it meets the circle as well. In the other two, equality means the line passes exactly through a corner of the square (for the corner ), while its distance to the center is so it misses the circle. Thus each copy of the segment meets squares and circles.
The interior lattice points are each shared by two consecutive copies, so and giving
Tagged: lattice point · greatest common divisor · distance formula