IMC / 2006 / Problems / Day 1, P2
IMC 2006 · Day 1 · P2
easyFind the number of positive integers satisfying the following two conditions:
1. ;
2. is divisible by .
Solution 1 of 2 (official)
Let and , . Let be the decimal writing of an integer , . Then obviously . Now, let be fixed. Considering as a variable digit, we have . Since for an iteger , it follows that is divisible by if and only if . Since is obviously impossible, the congruence has exactly one solution. Hence we obtain a one-to-one correspondence between the sets and for every . Therefore , because .
Solution 2 of 2 (official)
Since and the numbers and are relatively prime, one of them must be divisible by and one of them (may be the same) must be divisible by . Therefore, must satisfy the following two conditions: Altogether we have 4 cases. The Chinese remainder theorem yields that in each case there is a unique solution among the numbers . These four numbers are different because each two gives different residues modulo or . Moreover, one of the numbers is 0 which is not allowed.
Therefore there exist 3 solutions.
How the field did
Score distribution (field cohort)
Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.