[Math] Number of 8 character passwords including numbers and letters without repetition

combinatoricspermutations

A password must be created with 8 characters. It can use number or letters, but they cannot be repeated (and letters are not case sensitive so we have only 36 characters). How many passwords are possible if they must include numbers and letters?

I was thinking $26\cdot 10\cdot34\cdot33\cdot32\cdot31\cdot30\cdot29$, which would be $26P1 + 10P1 + 34P6$ but does this account for the different orders that these characters can be in?
Also if it must start with a letter and end with a letter would the same equation work?

Best Answer

$36$ options for first character, $35$ for second and so on...

So we get $36\times 35 \times 34 \times 33 \times 32 \times 31\times 30 \times 29$

Unfortunately some of these passwords have only letters or only numbers.

Using the same method there are

$10\times 9 \times 8 \times 7 \times 6 \times 5\times 4 \times 3$ that use only numbers and

$26\times 25 \times 24 \times 23 \times 22 \times 21\times 20 \times 19$ that use only letters.

Thus there are $(36\times 35 \times 34 \times 33 \times 32 \times 31 \times 30 \times 29)-(10\times 9 \times 8 \times 7 \times 6 \times 5 \times 4 \times 3)-(26\times 25 \times 24 \times 23 \times 22 \times 21 \times 20 \times 19)$

acceptable passwords

Related Question