For a positive integer , denotes the sum of its digits and its unit digit. Determine all positive integers with the property that
Solution
Write as , where are the digits of . Then the stated equation is equivalent to
or
The right hand side is at most . Therefore, have to be 0 (otherwise, the left hand side would be strictly greater than the right hand side). Hence we obtain
It follows that must be divisible by 3 (since is), which leaves us with the possibilities (), () and (). So there are three solutions: 13, 46 and 99.
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.