# Difference between revisions of "2020 AMC 10A Problems/Problem 6"

How many $4$-digit positive integers (that is, integers between $1000$ and $9999$, inclusive) having only even digits are divisible by $5?$

$\textbf{(A) } 80 \qquad \textbf{(B) } 100 \qquad \textbf{(C) } 125 \qquad \textbf{(D) } 200 \qquad \textbf{(E) } 500$

## Solution

The ones digit, for all numbers divisible by 5, must be either $0$ or $5$. However, from the restriction in the problem, it must be even, giving us exactly one choice ($0$) for this digit. For the middle two digits, we may choose any even integer from $[0, 8]$, meaning that we have $5$ total options. For the first digit, we follow similar intuition but realize that it cannot be $0$, hence giving us 4 possibilities. Therefore, using the multiplication rule, we get $4\times 5 \times 5 \times 1 = \boxed{\textbf{(B) } 100}$. ~ciceronii

~IceMatrix