Question
Mathematics Question on permutations and combinations
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 from {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 α × 56, then α is equal to _______.
Answer
If password is 6 character long, tehn
Total number of ways having atleast one number = 106 – 56
Similarly, if 7 character long = 107 – 57
and if 8-character long = 108 – 58
Number of password = (106+107+108)–(56+57+58)
=56(26+5.27+25.28–1–5–25)
=56(64+640+6400–31)
=7073×56∴α=7073