Problem:
We take a positive integer , we sum its digits, and then we again sum the digits of that sum, obtaining an integer . What is the smallest that allows obtaining ?
Problem:
We take a positive integer , we sum its digits, and then we again sum the digits of that sum, obtaining an integer . What is the smallest that allows obtaining ?
Solution:
The answer is 199. Indeed, if had 1 or 2 digits, , and then the sum of its digits would be and the sum of the digits of the number equal to the sum of its digits would be , so has at least three digits. We observe that for , the sum of the digits of the number is still . Instead if , the sum of its digits is 19 and the sum of the digits of 19 is 10, as required.