Browse · MathNet
PrintJapan Junior Mathematical Olympiad
Japan algebra
Problem
For each positive integer , denote by the sum of the digits of . How many positive integers less than or equal to are there for which is an integer?
Solution
A positive integer less than or equal to can be represented as where are integers satisfying and . Then we have and
Now, it is clear that is not an integer in case (i), and is the integer in case (iv) above. In case (iii), we have , which is an integer only when , corresponding to the case . Finally, in case (ii), , with , . If we let , then we see that is an integer only when , from which we conclude that only possibilities for under the case (ii) are and these choices of correspond to respectively. These, together with the numbers and found above, give integers satisfying the condition of the problem.
Now, it is clear that is not an integer in case (i), and is the integer in case (iv) above. In case (iii), we have , which is an integer only when , corresponding to the case . Finally, in case (ii), , with , . If we let , then we see that is an integer only when , from which we conclude that only possibilities for under the case (ii) are and these choices of correspond to respectively. These, together with the numbers and found above, give integers satisfying the condition of the problem.
Final answer
17
Techniques
IntegersOther