Browse · MathNet
PrintMathematical Olympiad Rioplatense
Argentina counting and probability
Problem
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 .
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 .
Final answer
1011535
Techniques
Recursion, bijectionSums and productsIntegers