This problem was on a course exam on mine:
A case sensitive password must contain exactly 4 letters of the English alphabet (26 letters) and exactly 2 numeric digits (0-9) in any order of letters and numbers. How many passwords are there?
Here are some of the things I did understand:
- We need to consider a possible pool of 52 letters (uppercase and lowercase)
- We have 10 digits to choose 2 from
However, the problem is that repetition is allowed (per my teacher's feedback). In other words, the letters we select could all be the same letter (e.g., A).
Here is the answer key:
There are 6 choose 2 ways to arrange 4 letters and 2 numbers, and for each of the four letters there are 52 choices and for each of the numbers there are 10 choices
So essentially, they want you to do:
$6 \choose 2$$52^410^2$
This seems wrong to me, especially the following part:
There are 6 choose 2 ways to arrange 4 letters and 2 numbers
Doesn't this neglect the repetition of letters and/or digits?