# 2016 AMC 8 Problems/Problem 17

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

## Problem

An ATM password at Fred's Bank is composed of four digits from $0$ to $9$, with repeated digits allowable. If no password may begin with the sequence $9,1,1,$ then how many passwords are possible?

$\textbf{(A)}\mbox{ }30\qquad\textbf{(B)}\mbox{ }7290\qquad\textbf{(C)}\mbox{ }9000\qquad\textbf{(D)}\mbox{ }9990\qquad\textbf{(E)}\mbox{ }9999$

## Solutions

### Solution 1

For the first three digits, there are $10^3-1=999$ combinations since $911$ is not allowed. For the final digit, any of the $10$ numbers are allowed. $999 \cdot 10 = 9990 \rightarrow \boxed{\textbf{(D)}\ 9990}$.

### Solution 2

Counting the prohibited cases, we find that there are 10 of them. This is because, when we start with 9,1, and 1, we can have any of the 10 digits for the last digit. So, our answer is $10^4-10=\boxed{\textbf{(D)}\ 9990}.$

## Video Solution 1 (HOW TO THINK CREATIVELY!!!)

~Education, the Study of Everything

~savannahsolver