2011 AIME I Problem 7
Problem 7 of 15IntermediateNumber Theory
Find the number of positive integers for which there exist nonnegative integers such that
Your answer
Integer from 0 to 999
Show solution
Solution
The value fails, since the right side would be while the left side is For reduce mod every power of is so the equation forces that is, divides
Conversely, suppose Take let of the equal and for each let of the equal This uses terms, and the sum telescopes:
So the equation is solvable exactly when divides which has divisors. There are such
Tagged: modular arithmetic · factor counting