Skip to main content

1994 AIME Problem 7

Problem 7 of 15IntermediateGeometry

For certain ordered pairs (a,b)(a,b) of real numbers, the system of equations ax+by=1,x2+y2=50\begin{aligned}ax+by&=1,\\x^2+y^2&=50\end{aligned} has at least one solution, and each solution is an ordered pair (x,y)(x,y) of integers. How many such ordered pairs (a,b)(a,b) are there?

Your answer

Integer from 0 to 999
Show solution

Solution

The circle has the 1212 lattice points obtained from (±1,±7),(\pm1,\pm7), (±5,±5),(\pm5,\pm5), and (±7,±1).(\pm7,\pm1). A secant satisfying the condition is determined by any two non-antipodal lattice points. This gives (122)−6=60\binom{12}{2}-6=60 lines; antipodal pairs are excluded because their line passes through the origin and cannot have equation ax+by=1.ax+by=1. There are also 1212 tangents, one at each lattice point. Each line has a unique normalization ax+by=1,ax+by=1, so the total is 60+12=72.60+12=72.
AoPS wiki

Tagged: lattice point · chord · tangent line

More practice