第 235 题:(2007 AIME II, 5)
The graph of the equation $9x+223y=2007$ is drawn on graph paper with each square representing one unit in each direction. How many of the $1$ by $1$ graph paper squares have interiors lying entirely below the graph and entirely in the first quadrant?
- A square is counted when its upper right corner $(i,j)$, $1\le i\le222$, $1\le j\le8$, lies strictly below the line.
- The line is a diagonal of the $223\times9$ rectangle with no interior lattice points ($\gcd(223,9)=1$), so exactly half of the $222\cdot8$ points lie below it.
- $888$. The answer is $\boxed{888}$.
The graph of the equation $13x+120y=1560$ is drawn on graph paper with each square representing one unit in each direction. How many of the $1$ by $1$ graph paper squares have interiors lying entirely below the graph and entirely in the first quadrant?