Hello, can you please tell me why the repeating alphabet in 2nd case cannot be "R". Thank You.
XimeSol
How many 3-letter codes can be formed by choosing, without replacement, 3 letters from the word PEPPER?
A) 6
B) 18
C) 19
D) 27
E) 30
P E R
P E
P
We see that the letters repeat. Hence, we have to take various cases to solve this question. In each case, we will perform two steps
Step 1: Selecting the letters
Step 2: Arranging the letters
Case 1: No Alphabet Repeats
Step 1: Selecting the lettersWe have three distinct letters, and we need to select all of them. They can be selected in \(^3C_3\) = 1 way.
Step 2: Arranging the lettersAs the letters are distinct, the number of ways they can be arranged = 3! = 6 ways
Sub Total : 6 * 1 = 6 ways
Case 2: One Alphabet repeats twice
Step 1: Selecting the lettersThe repeating alphabet can be either 'P' or 'E'. We need to choose one of them. The selection can be made in \(^2C_1\) ways.
Once the selection has been made, out of the remaining two alphabets, we have to choose one.
The third alphabet can be chosen in again \(^2C_1\) ways.
Step 2: Arranging the lettersThe letter is in the form of XXY. Hence the number of ways we can arrange = \(\frac{3!}{2!} = 3\) ways
Sub-Total = 2 * 2 * 3 = 12 ways
Case 3: One Alphabet repeats thrice
Step 1: Selecting the lettersThe repeating alphabet can be only 'P'. The selection can be made in \(^1C_1\) way.
Step 2: Arranging the lettersThe only possible arrangement is PPP. Hence, the letters can be arranged only in 1 way.
Sub-Total = 1
Total = Case 1 + Case 2 + Case 3 = 6 + 12 + 1 = 19
Option C