Question 1
Find the number of ordered pairs of positive integer solutions $(m,n)$ to the equation \[ 20m + 12n = 2012. \]
Xem đáp án và lời giải
Đáp án: $34$
Note that $20m+12n = 2012$ if and only if $5m+3n = 503$, so it is sufficient to find the number of positive integer solutions to the second equation. One positive integer solution to this equation is $(m,n) = (100, 1)$. If $(x,y)$ is another such solution, then $5(100-x)+3(1-y) = 0$, so for some integer $k$, $100-x = 3k$ and $1-y = -5k$. Thus the solutions to $5m+3n = 503$ have the form $(m,n) = (100-3k, 5k+1)$, and substituting these pairs into the original equation shows that they are all solutions. Both of these values are positive if and only if $0 \leqslant k \leqslant 33$. Thus there are $34$ solutions with positive integer values of the original equation.