SOLUTION: There is a box with a padlock You can open the box if you will be able to know the 4-digit code in the padlock. If the first digit of the 4-digit code is 5, how many possible codes

Algebra.Com
Question 1193059: There is a box with a padlock You can open the box if you will be able to know the 4-digit code in the padlock. If the first digit of the 4-digit code is 5, how many possible codes are there if the repetition of the digit code is allowed?

Found 2 solutions by Theo, ikleyn:
Answer by Theo(13342)   (Show Source): You can put this solution on YOUR website!
there is one possible digit for the first position and 9 possible digits each for the next 3 digits.
the number of possible combinations is 1 * 9 * 9 * 9 = 9^3 = 729.
to understand how this works, assume there are only 2 possible digits for the next 3 positions.
the number of possible combinations would then be 1 * 2 * 2 * 2 = 2^3 = 8.
assuming the 2 possible numbers for each position were 2 and 3, then you would get:
5222
5223
5232
5233
5322
5323
5332
5333
the same concept applies when there are 9 possible numbers for each digit, except the number of combinations are too numerous to individually display.

Answer by ikleyn(52781)   (Show Source): You can put this solution on YOUR website!
.

Of 4 possible digit positions, the first position is just occupied by the digit of 5.


Three other positions are free, and we can put any of 10 possible digits from 0 to 9 in any of these 3 positions.


It gives   = 1000 possible digit codes.    ANSWER

Solved (correctly).

---------------

Ignore answer by @Theo, since it is INCORRECT.

I don't know why @Theo decided about 9 digits.

Working base 10, we always have 10 possible digits.



RELATED QUESTIONS

The padlock for your gym locker uses a 3 number sequence to open the lock. If the numbers (answered by addingup)
I apologize in advance as I am no longer a student and don't mean to waste anyone's time... (answered by Alan3354)
a. The letters T, C and A are placed in a bag. If a student randomly draws the three... (answered by ewatrrr)
my padlock has a combination and it has 4 digts and it is the smallest possible number... (answered by macston)
my padlock has a combination and it has 4 digts and it is the smallest possible number... (answered by macston)
To cancel an electronic alarm, a 4-digit number must be entered into a code box. What is... (answered by Edwin McCravy)
A rectangular box measures 4 ft. by 4 ft. by 3 ft. Will you be able to fit a 6 ft... (answered by unlockmath)
There are two boxes labeled “A” and “B.” Note on the box “A” reads: The note on the box... (answered by solver91311)
If you make a cardboard box that is twice as wide, twice as tall, and twice as long as a... (answered by Theo)