Question
Students are required to create 6-character long passwords to access the library. The letters must be from lowercase letters or digits. Each password must contain at least 2 lowercase letters. How many valid passwords are there?
I would like to know if my steps to solving this question, and the final answer, are correct.
Steps:
All passwords = 36^6
No letters = 10^6
1 letter = 10^5 + 26^1
Subtract 2,3 from 1
--END--
$$26\times 26\times 26\times 26 \times 26\times 26 = 26^6$$
Second case: $5$ letters, $1$ number:
$${6\choose 1}\times 10\times 26^5$$
Third case: $4$ letters, $2$ numbers, etc. Can you try to extrapolate the next one?
– scoopfaze Jun 03 '20 at 01:18