The number 2011 has the property that one of its digits is the sum of its other digits, i.e., 0+1+1=2. Compute the sum of the two largest integers less than 2011 with this property.
closed as not constructive by Nate Eldredge, Hans Lundmark, t.b., Asaf Karagila, Ｊ. Ｍ. Oct 30 '11 at 13:56
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.
Simply searching by hand down from 2011 turns up 2002, but there are no others close by (greater than 2000). So just below 2000, we have numbers of the form 19XX. For three of the digits to add up to the last one, they must add up to the 9 in the hundreds spot (because otherwise the sum would be more than one digit long). We already have a 1, so the other digits must add up to 8; this leaves us with (8, 0), (7, 1), (6, 2), (5, 3), and (4, 4) as candidate pairs. We want to find the largest, so we put the largest possible number in the tens spot and end up with 1980. So the two largest integers less than 2011 with that property are 2002 and 1980, and their sum is 3982.