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

The following problem is from both the 2020 AMC 12A #4 and 2020 AMC 10A #6, so both problems redirect to this page.

## Problem

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 units digit, for all numbers divisible by 5, must be either $0$ or $5$. However, since all digits are even, the units digit must be $0$. The middle two digits can be 0, 2, 4, 6, or 8, but the thousands digit can only be 2, 4, 6, or 8 since it cannot be zero. There is one choice for the units digit, 5 choices for each of the middle 2 digits, and 4 choices for the thousands digit, so there is a total of $4\cdot5\cdot5\cdot1 = \boxed{\textbf{(B) } 100} \qquad$ numbers.

## Video Solution 1

Education, the Study of Everything

~IceMatrix

## Video Solution 3

~savannahsolver

 2020 AMC 10A (Problems • Answer Key • Resources) Preceded byProblem 5 Followed byProblem 7 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 All AMC 10 Problems and Solutions
 2020 AMC 12A (Problems • Answer Key • Resources) Preceded byProblem 3 Followed byProblem 5 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 All AMC 12 Problems and Solutions