Maths Olympiad Prep

Library / HMMT November /6 of 672

HMMT November, 2014

Algebra Difficulty 4.0 AIME Find the answer United States

Problem:
How many integers nn in the set {4,9,14,19,…,2014}\{4,9,14,19, \ldots, 2014\} have the property that the sum of the decimal digits of nn is even?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:
Answer: 201
We know that 2014 does not qualify the property. So, we'll consider {4,9,14,…,2009}\{4,9,14, \ldots, 2009\} instead. Now, we partition this set into 2 sets: {4,14,24,…,2004}\{4,14,24, \ldots, 2004\} and {9,19,29,…,2009}\{9,19,29, \ldots, 2009\}.

For each, the first and second set are basically x4x4 and x9x9, where x=0,1,2,…,200x = 0, 1, 2, \ldots, 200, respectively. And we know that for each value of xx, xx must be either even or odd, which makes exactly one of {x4,x9}\{x4, x9\} have even sum of decimal digits. Therefore, there are in total 201 such numbers.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.