2010 cards are enumerated . All cards whose number has odd digit sum are chosen. Find the sum of the numbers on the chosen cards.
Solution
Denote the digit sum of by . Add a card with and assume . Among there are numbers with odd and with even. Indeed can be divided into pairs with sum of every pair. There is no carryover in the addition , so which is an odd number. Hence and have different parity for every pair , as needed. Let () be the sum of the numbers with odd (even) digit sum among .
For we have , hence and have different parity. So contains numbers with odd. They are obtained from the numbers with even by adding .
It follows that the numbers with odd digit sum in have sum . Since , the numbers in contribute to the sum we are looking for. There remain . Of them the ones with odd digit sum are ; they add up to . So the final answer 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.