2020 AIME II Problem 12
Problem 12 of 15HarderAlgebraGeometryProblem-Solving Techniques
Let and be odd integers greater than An rectangle is made up of unit squares where the squares in the top row are numbered left to right with the integers through those in the second row are numbered left to right with the integers through and so on. Square is in the top row, and square is in the bottom row. Find the number of ordered pairs of odd integers greater than with the property that, in the rectangle, the line through the centers of squares and intersects the interior of square
Your answer
Integer from 0 to 999
Show solution
Solution
Use column-row coordinates. Square is in the top row, so (hence as is odd) and its center is Square is in the bottom row, so its column is with i.e. and its center is Since and are odd, is even, so the midpoint of the two centers has integer coordinates; its square number is Its column lies between and so the line passes through the center of square and square sits immediately to its left in the same row.
Square lies only in that row, and the line crosses that row’s horizontal strip in a segment centered (by symmetry) at the center of square extending to each side, where is the slope. So the line meets the interior of square exactly when that is i.e. (a vertical line, fails).
Since and we need so For odd values, excluding (the odd cases and ) leaves For odd values, excluding and leaves For odd values, excluding and leaves For odd values, excluding leaves The total is
Tagged: coordinate geometry · slope · midpoint · casework