- #1
laura_a
- 66
- 0
Homework Statement
I am a helping out a friend who is studying Maths at uni, not much help really because I did my degree 10 years ago. I am stuck on a question I was hoping for someone help with the working out:
A password consist of 8 characters from Uppercase letters, U, lowercase letters L and Digits 0-9, D.
How many passwords consist of at least one character from U,L & D
I interpreted this question that it would have to inlcude ULD in the password.
Anyway I know there are more cases but I think this is wrong anyway - any suggestions will be appreciated.
Homework Equations
The Attempt at a Solution
7 D + 1 U/L = 10^7 x 52 x 8c1
7 U + 1 D/L = 26^7 x 36 x 8c1
7 L + + 1 D/U = 26^7 x 36 x 8c2
6 D + 2U = 10^6 X 26^2 x 8c2
6 D + 2L = 10^6 X 26^2 x 8c2
6 U + 2D = 26^6 x 10^2 x 8c2 x 2(for L)
6 U + 2L = 26^6 x 26^2 x 8c2
Then 1 - (the answer above) is 1.9983 x 10^14