166k views
1 vote
A 5-digit combination lock with digits 0-9 can be opened only if a correct combination of digits is chosen. Find the probability of guessing the correct combination if:

A. no digit is repeated

B. digits can repeat and zero is not one of the digits in the combination

(Can this be done in fraction form? Thanks!)

2 Answers

3 votes

A.

image

B.

image

User Kouton
by
6.0k points
4 votes

A. 5 digit code with digits from 0-9 with no repetition.

Choices for 1st digit=10, and choices for successive digits are 9,8,7,6.

Probability of guessing it correctly on first try is

1/(10*9*8*7*6) = 1/30240

B. If zero is not in the combinations, then the domain of digits is 1-9, or 9 choices. Digits can repeat means every digit in the code has 9 choices.

Number of arrangements = 9^5 = 59049

Probability of guessing at first try = 1/59049

User Hoblin
by
5.9k points