SEARCH HOME
Math CentralQuandaries & Queries

search

Question from john, a parent:

i have a machine at home that has a four digit passcode and the numbers range from 1 to 4 how can i get all the ways those numbers can be used

John,

Since there are only 4 digits to choose from and 4 places to put them there are 4 × 4 × 4 × 4 = 256 possibilities. You can list them, or just scroll through them on the passcode panel in an orderly fashion.

1111
1112
1113
1114
1121
1122
1123
1124
1131
.
.
.
1211
1212
.
.
.
4444

It's like watching the numbers scroll by on an old style automobile odometer.

I hope this helps,
Harley

About Math Central
 

 


Math Central is supported by the University of Regina and The Pacific Institute for the Mathematical Sciences.
Quandaries & Queries page Home page University of Regina PIMS