For natural number let denote sum of its digits. From all pairs of natural numbers , that satisfy equality , find such, for which sum takes the least possible value.
Solution
Numbers and have the following ratios: , or , and the last inequality can not be true for two numbers in a row. As , and there are no other factor decompositions, that satisfy the condition, so the following cases are possible:
* , and ;
* , and ;
* , , and .
If and , so we get contradiction as in the previous case. If and , so or . Then and . As , so these variants are possible, and number has to have in the end 112 digits 9. The least value for is .
Looking for a route rather than an archive? The track puts 2,000
problems in a working order, from AMC 10 level to the IMO shortlist.