SEARCH HOME
Math CentralQuandaries & Queries

search

Question from Ralph:

How many combinations are possible if a "safe" has four buttons and you can use a six digit code? (these are just single press buttons..)For example, this could be one possible combination: Button 4 Button 1 Button 1 Button 3 Button 2 Button 4. Thanks!

Hi Ralph,

You have a six digit code where the digits can be 1, 2, 3 or 4.

The first digit can be 1, 2, 3 or 4 and regardless of your choice for the first digit the second digit can also be either 1, 2, 3 or 4. Thus there are $4 \times 4$ possible choices for the first two digits. The choices are 11, 12, 13, 14, 21, 22, 23, 24, 31, 32, 33, 34, 41, 42, 43 and 44.

Now the third digit. Regardless of your choice for the first two digits the third digit can also be either 1, 2, 3 or 4. Hence there are $4 \times 4 \times 4$ choices for the first three digits. They are 111, 112, 113 and so on.

I hope this helps,
Penny

About Math Central
 

 


Math Central is supported by the University of Regina and the Imperial Oil Foundation.
Quandaries & Queries page Home page University of Regina