2009 AIME II Problem 9
Problem 9 of 15IntermediateNumber TheoryCombinatorics
Let be the number of solutions in positive integers to the equation and let be the number of solutions in positive integers to the equation Find the remainder when is divided by
Your answer
Integer from 0 to 999
Show solution
Solution
If is a positive solution of then is a nonnegative solution of and conversely, since So equals the number of nonnegative solutions of and counts the nonnegative solutions of that equation in which at least one variable is
If forces even, giving solutions. If with gives If forces giving The solutions and are each counted twice, so
The remainder upon division by is
Tagged: Diophantine Equation · bijection · inclusion-exclusion