Prove that for every natural number there exists an infinite set of such natural numbers , that the decimal notation of does not contain zeroes and the sums of the digits of the numbers and are equal.
Problem 1429
Official solution
1. Denote by the sum of the digits of . It is a well-known result that . This means that the sum of the digits of a number is congruent to modulo 9.
2. We need to prove that for every natural number , there exists an infinite set of natural numbers such that the decimal notation of does not contain zeroes and the sums of the digits of the numbers and are equal. In other words, we need .
3. Using the property , we have:
Therefore, we need:
4. This simplifies to:
This means that must be a multiple of .
5. We consider two cases based on the value of :
- Case 1: . In this case, . Therefore, must be a multiple of 9. We can choose to be any number of the form where is a natural number and the decimal notation of does not contain zeroes. For example, .
- Case 2: . The greatest common divisor can be either 3 or 9.
- If , then . Therefore, must be a multiple of 3. We can choose to be any number of the form where is a natural number and the decimal notation of does not contain zeroes. For example, .
- If , then . This is trivial, and every works. We can choose to be any natural number whose decimal notation does not contain zeroes.
6. In all cases, we can find an infinite set of natural numbers such that the decimal notation of does not contain zeroes and .