If all the letters were different there would be 7! (=7*6*5*4*3*2*1) = 5040 passwords.

But 4 of the letters are A and the reduces the number of passwords by 24, because there are 24 ways of arranging 4 *different* objects. 5040/24=210. Also there are 2 Bs and there are 2 ways of arranging 2 *different* objects, so we need to divide 210 by 2 = 105. So there are 105 different 7-letter passwords.

Another way to do this is to look at the As and Bs only. With these you can make only 15 different 6-letter passwords:

AAAABB, AAABAB, AAABBA, AABAAB, AABABA, AABBAA, ABAAAB, ABAABA, ABABAA, ABBAAA, BAAAAB, BAAABA, BAABAA, BABAAA, BBAAAA.

There is only one C, and it can go in any one of 7 positions, so the total number of passwords=7*15=105.

- All categories
- Pre-Algebra Answers 12,307
- Algebra 1 Answers 25,236
- Algebra 2 Answers 10,430
- Geometry Answers 5,157
- Trigonometry Answers 2,637
- Calculus Answers 5,998
- Statistics Answers 3,016
- Word Problem Answers 10,085
- Other Math Topics 6,622

81,488 questions

85,667 answers

2,175 comments

69,149 users