Problem 438: (2023 AMC 10a, 9; 2023 AMC 12a, 7)
A digital display shows the current date as an $8$-digit integer consisting of a $4$-digit year, followed by a $2$-digit month, followed by a $2$-digit date within the month. For example, Arbor Day this year is displayed as $20230428.$ For how many dates in $2023$ does each digit appear an even number of times in the $8$-digit display for that date?
$\textbf{(A)}~5\qquad\textbf{(B)}~6\qquad\textbf{(C)}~7\qquad\textbf{(D)}~8\qquad\textbf{(E)}~9$
- The year $2023$ contributes $2,0,2,3$, so the four digits $MMDD$ must contain $0$ and $3$ an odd number of times each and every other digit an even number of times.
- With only $4$ digits, $MMDD$ is a rearrangement of $\{0,3,d,d\}$ with $d\ne0,3$, or of $\{0,0,0,3\}$ or $\{0,3,3,3\}$; the last two give no valid dates.
- Going through the months: $01$: $0113,0131$; $02$: $0223$; $03$: $0311,0322$; $10$: $1013,1031$; $11$: $1103,1130$. The other months give no valid day.
- Total: $9$.
- The answer is (E).
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?