I need help with the following question:
"Given that a computer can only type letters A,B,C,D and E, how many ways can I type in 6 letters such that they must contain at least all of the different letters?
ie. AABCDE ABCDEA ABCDEB"
My professor said that the number of ways is: 6C4 * 5! because, 5! - There are 5! ways to arrange the letters 6C4 - Since 4 letters are going to be unique, out of the 6 letter positions, choose 4 positions to have these unique letters.
However, I had a different answer(which was wrong). Mine is: 6C5 * 5! * 5 I chose 5 out of 6 positions to include all ABCDE, and there are 5! ways of arranging them. As for the last position, it can include any of the 5 letters.
Could anyone explain to me why is my answer wrong?
Major thanks to all :3