Six consecutive integers are written on a blackboard. When one of them is erased, the sum of the remaining five integers is 2012. What is the sum of the digits of the integer that was erased?
Solution
Suppose that the original six integers are , and . Suppose also that the integer that was erased is , where is , or 5. The sum of the integers left is . Therefore, . Since the left side is an integer that is divisible by 5, then the right side is an integer that is divisible by 5. Since is , or 5 and is divisible by 5, then must equal 3. Thus, or and so . Finally, the integer that was erased is . The sum of its digits is .
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.