Maths Olympiad Prep

Library / /175 of 196

Algebra Difficulty 6.2 National Olympiad Prove it Soviet Union

Problem:

a. The digits of a natural number are rearranged and the resultant number is added to the original number. Prove that the answer cannot be 99999\ldots9 (1999 nines).

b. The digits of a natural number are rearranged and the resultant number is added to the original number to give 101010^{10}. Prove that the original number was divisible by 1010.

Solution

Solution:

a. Let the digits of the original number be a1a_1, a2a_2, ... and the rearranged digits be b1b_1, b2b_2, ... Suppose that in the addition there is a carry, in other words a1+b1>9a_1 + b_1 > 9 for some ii. Take the largest such ii. Then the resulting digit in that position cannot be a 99. Contradiction. So there cannot be any carries. Hence each pair a1+b1=9a_1 + b_1 = 9. Let nn be the total number of digits 0,1,2,3,0, 1, 2, 3, and 44 in the number. Then each of these must be paired with a digit 5,6,7,85, 6, 7, 8 or 99. So the total number of digits 5,6,7,85, 6, 7, 8 and 99 must also be nn, and hence the number must have an even number of digits. But we are told that the answer and hence the original number has an odd number of digits.

b. In the addition the carry can never be 22, because that would require the previous carry to be at least 22, and the first carry cannot be 22. So all carries are 00 or 11. If a carry is 11, then all subsequent carries must also be 11. If the first carry is 00, then the corresponding digits must be 00 and hence the original number is divisible by 1010. If it is not, then all carries are 11 and hence after the first carry all the digit pairs sum to 99. But arguing as in (a), this means that there must be an even number of digits, excluding the last (where we have a digit sum 1010), and hence an odd number of digits in the original number. But 101010^{10} has an odd number of digits and hence the original number had an even number of digits. Contradiction.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.