Question
Quantitative Aptitude Question on Permutation and Combination
A four-digit number is formed by using only the digits 1, 2 and 3 such that both 2 and 3 appear at least once. The number of all such four-digit numbers is
Answer
Case I: The four digits are 2,2,2,3.
Total number of arrangements =3!4!=4
Case II: The four digits are 2,2,3,3.
Total number of arrangement =2!.2!4!=6
Case III: The four digits are 2,3,3,3.
Total number of arrangements =3!4!=4
Case IV: The four digits are 2,3,3,1.
Total number of arrangements =2!4!=12
Case V: The four digits are 2,2,3,1.
Total number of arrangements =2!4!=12
Case VI: The four digits are 2,3,1,1.
Total number of arrangements =2!4!=12
So, total possible ways =12+12+12+4+6+4=50 ways.