Question:- Let S be the set of all passwords which are six to eight characters long, where each character is either an alphabet from {A, B, C, D, E} or a number {1, 2, 3, 4, 5} with the repetition of characters allowed. If the number of passwords in S whose at least one character is a number from {1, 2, 3, 4, 5} is , then α is equal to
Solution:- Number of password using {1, 2, 3, 4, 5} and {A, B, C, D, E} having 6 character =
Number of password using {1, 2, 3, 4, 5} and {A, B, C, D, E} having 7 character =
Number of password using {1, 2, 3, 4, 5} and {A, B, C, D, E} having 8 character =
Total password =
Number of password using {1, 2, 3, 4, 5} having 6 character =
Number of password using {1, 2, 3, 4, 5} having 7 character =
Number of password using {1, 2, 3, 4, 5} having 8 character =
Number of password with no number = [/latex]
Total number of password with at least one number =
=
=
=
=
=