Take a test Sign in 中文
← Exercise 438 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Counting (147)
Balls in Boxes (6)
Probability (142)

Exercises and their solutions

Exercise 438
A digital display shows a date as an $8$-digit integer $YYYYMMDD$. For how many dates in $2025$ does each digit that appears in the display appear an odd number of times?
← Back to Problem 438
Solution
  1. The year $2025$ contributes two $2$s, one $0$ and one $5$. So the four digits $MMDD$ must contain $2$ an odd number of times, $0$ and $5$ an even number of times, and every other digit an odd number of times or not at all.
  2. Months $01,03,04,06,07,08,09$ (written $0m$): the day needs an odd number of $0$s, an odd number of $2$s and an even number of $m$s, so it is $02$ or $20$. That gives $7\cdot2=14$ dates.
  3. Month $02$: the day needs an odd number of $0$s, an even number of $2$s and no $5$, so it is $0x$ or $x0$ with $x\ne0,2,5$. In February these are $01,03,04,06,07,08,09,10$: $8$ dates.
  4. Month $05$: the day would need an odd number of each of $0$, $5$ and $2$, which is impossible with $2$ digits.
  5. Month $10$: the day is $02$ or $20$. Month $11$: the day needs an odd number of $1$s and of $2$s, so it is $12$ or $21$. Month $12$: the day needs an even number of $1$s and of $2$s, so it is $11$ or $22$. That gives $2+2+2=6$ dates.
  6. Total: $14+8+6=\boxed{28}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year