2017 AMC 10A Problem 20
Problem 20 of 25HarderNumber Theory
Let equal the sum of the digits of positive integer For example, For a particular positive integer
Which of the following could be the value of
Answer choices
Show solution
Solution
Recall that a number is divisible by if and only if the sum of its digits is also divisible by
This means that looking at mod would also give us mod
Let us prove this. If we add to without carrying, it is clear that the sum of the digits increases by and that itself increases by
This would increase both their values mod by
Now, if it does carry, we would be subtracting from some digit and adding on to the next digit.
This would keep the value mod constant. We did, however, add in there, so the value mod still increased by
These are the only two cases, and in both we have shown that the value mod for both and increased by
Therefore, we have that
From this, we can see that
The only answer choice that leaves a remainder of when divided by is
This value is attainable. Take to consist of digits followed by a digit followed by four more digits Then Adding changes the final four s to s and changes the to so
Thus, D is the correct answer.