Problem 435: (2009 AIME II, 9)
Let $m$ be the number of solutions in positive integers to the equation $4x+3y+2z=2009$, and let $n$ be the number of solutions in positive integers to the equation $4x+3y+2z=2000$. Find the remainder when $m-n$ is divided by $1000$.
- $2009-2000=9=3\cdot3$, so $(x,y,z)\mapsto(x,y+3,z)$ maps the solutions for $2000$ onto the solutions for $2009$ with $y\ge4$.
- So $m-n$ counts solutions for $2009$ with $y\le3$. For $y=1$, $2x+z=1003$, $x=1,\dots,501$. For $y=2$, $4x+2z=2003$, none. For $y=3$, $2x+z=1000$, $x=1,\dots,499$.
- $m-n=1000$, remainder $0$. The answer is $\boxed{000}$.
Let $m$ be the number of solutions in positive integers to the equation $5x+3y+2z=2025$, and let $n$ be the number of solutions in positive integers to the equation $5x+3y+2z=2015$. Find the remainder when $m-n$ is divided by $1000$.