2.2.3 How Many Combinations
Estu has four dresses and three caps. For each cap, he can choose any of the four dresses, so four plus four plus four, which is four times three, twelve combinations are possible.
There are ten options for the first digit and, for each of these, ten options for the second digit. Therefore the total number of combinations for a two-digit lock is one hundred.
For each of the one hundred two-digit passwords there are ten choices for the third digit. So, there are one thousand combinations for a three-digit lock.
Each digit has ten choices, so a five-digit lock will have ten raised to the power five, one lakh passwords.
If you can’t solve a problem, try to find a simpler version of the problem that you can solve.