Let be the digit sum of , . Find the minimum value of .
, 2016
Solution
The minimum of is , attained already for .
Since we have , and so for . Thus is among the numbers Clearly never holds, so to prove it suffices to show that is also impossible.
Suppose on the contrary that holds for some . Consider the number . Because ends in or , the digit sum of is . Now observe that (), hence ; thus is divisible by . Let its digits at odd (respectively even) positions have sum (respectively ). Then . On the other hand equals the digit sum of . Hence , implying that is possible only if . However then , which is a contradiction. The solution is complete.
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.