2017 AIME II Problem 14
Problem 14 of 15HarderGeometryProblem-Solving Techniques
A grid of points consists of all points in space of the form where and are integers between and inclusive. Find the number of different lines that contain exactly of these points.
Your answer
Integer from 0 to 999
Show solution
Solution
Take a primitive direction vector for the line. Any nonzero component of absolute value or more limits the line to at most grid points, so every component is or Lines parallel to a coordinate axis contain points, never If exactly one component is the line lies in one of the planes parallel to a face of the cube ( orientations, positions), and within that grid it is a diagonal of slope shifted off center; the shift by in either direction from each of the two main diagonals gives exactly points. That is lines per plane, and each lies in only one of the planes: lines.
Otherwise the direction is one of the four space-diagonal directions up to sign; by symmetry, count lines parallel to and multiply by Such a line meets the grid in points, so exactly points means Normalizing the base point so that we need with entries in using both and there are of them, hence lines per direction and in all.
The total is
Tagged: lattice point · 3D geometry · casework · symmetry