SOLUTION: A computer is generating passwords. The computer generates eight characters at random, and each is equally likely to be any of the 26 letters or 10 digits. Replications are allowe

Algebra ->  Probability-and-statistics -> SOLUTION: A computer is generating passwords. The computer generates eight characters at random, and each is equally likely to be any of the 26 letters or 10 digits. Replications are allowe      Log On


   



Question 1022631: A computer is generating passwords. The computer generates eight characters at random, and each is equally likely to be any of the 26 letters or 10 digits. Replications are allowed. What is the probability that the password will contain all letters?
Answer by mathmate(429) About Me  (Show Source):
You can put this solution on YOUR website!

Question:
A computer is generating passwords. The computer generates eight characters at random, and each is equally likely to be any of the 26 letters or 10 digits. Replications are allowed. What is the probability that the password will contain all letters?

Solution:
There are 26+10=36 possible choices for each digit.
There are 8 digits.
For letters only, there are only 26 choices (assuming upper and lower cases are interchangeable).

No. of letters-only arrangements = 26^8 = 208827064576
No. of alphanumeric arrangements = 36^8 = 2821109907456
Probability of letters-only arrangements = 208827064576%2F2821109907456
= 0.07402 (approx.)

On the other hand, if upper and lower cases are assumed distinct letters (as in most computer systems), then there are 26+26+10=62 alphameric choices, and 52 alphabetic choices.
The corresponding probability (letters only) is then
= 52%5E8%2F62%5E8
= 53459728531456%2F218340105584896
= 0.24484 (approximately)
which is considerably higher.