Buy BOOKS at Discounted Price

Permutations And Combinations

Class 11th Mathematics Bihar Board Solution
Exercise 7.1
  1. How many 3-digit numbers can be formed from the digits 1, 2, 3, 4 and 5 assuming…
  2. How many 3-digits even numbers can be formed from the digits 1, 2, 3, 4, 5, 6 if…
  3. How many 4-letter code can be formed using the first 10 letters of the English…
  4. How many 5-digit telephone numbers can be constructed using the digits 0 to 9 if…
  5. A coin is tossed 3 times and the outcomes are recorded. How many possible…
  6. Given 5 flags of different colours, how many different signals can be generated…
Exercise 7.2
  1. Evaluate (i) 8 ! (ii) 4 ! - 3 !
  2. Is 3 ! + 4 ! = 7 ! ?
  3. Compute 8!/6! x 2!
  4. If 1/6! + 1/7! = x/8!
  5. Evaluate n!/(n-1) ! ,when (i) n = 6, r = 2 (ii) n = 9, r = 5
Exercise 7.3
  1. How many 3-digit numbers can be formed by using the digits 1 to 9 if no digit is…
  2. How many 4-digit numbers are there with no digit repeated?
  3. How many 3-digit even numbers can be made using the digits 1, 2, 3, 4, 6, 7, if…
  4. Find the number of 4-digit numbers that can be formed using the digits 1, 2, 3,…
  5. From a committee of 8 persons, in how many ways can we choose a chairman and a…
  6. Find n if n-1P3 : nP3 = 1 : 9.
  7. Find r if (i)^5 Pr : 2^6 Pr-1 (ii)^5 Pr :^6 Pr-1
  8. How many words, with or without meaning, can be formed using all the letters of…
  9. How many words, with or without meaning can be made from the letters of the word…
  10. In how many of the distinct permutations of the letters in MISSISSIPPI do the…
  11. In how many ways can the letters of the word PERMUTATIONS be arranged if the…
Exercise 7.4
  1. If nC8 = nC2, find nC2.
  2. Determine n if (i) =12 : 1 (ii) = 11 : 1
  3. How many chords can be drawn through 21 points on a circle?
  4. In how many ways can a team of 3 boys and 3 girls be selected from 5 boys and 4…
  5. Find the number of ways of selecting 9 balls from 6 red balls, 5 white balls and…
  6. Determine the number of 5 card combinations out of a deck of 52 cards if there…
  7. In how many ways can one select a cricket team of eleven from 17 players in…
  8. A bag contains 5 black and 6 red balls. Determine the number of ways in which 2…
  9. In how many ways can a student choose a programme of 5 courses if 9 courses are…
Miscellaneous Exercise
  1. How many words, with or without meaning, each of 2 vowels and 3 consonants can…
  2. How many words, with or without meaning, can be formed using all the letters of…
  3. A committee of 7 has to be formed from 9 boys and 4 girls. In how many ways can…
  4. If the different permutations of all the letter of the word EXAMINATION are…
  5. How many 6-digit numbers can be formed from the digits 0, 1, 3, 5, 7 and 9 which…
  6. The English alphabet has 5 vowels and 21 consonants. How many words with two…
  7. In an examination, a question paper consists of 12 questions divided into two…
  8. Determine the number of 5-card combinations out of a deck of 52 cards if each…
  9. It is required to seat 5 men and 4 women in a row so that the women occupy the…
  10. From a class of 25 students, 10 are to be chosen for an excursion party. There…
  11. In how many ways can the letters of the word ASSASSINATION be arranged so that…

Exercise 7.1
Question 1.

How many 3-digit numbers can be formed from the digits 1, 2, 3, 4 and 5 assuming that

(i) repetition of the digits is allowed?

(ii) repetition of the digits is not allowed?


Answer:

Let the 3-digit number be ABC, where C is at the units place, B at the tens place and A at the hundreds place.


(i) When repetition is allowed:


The number of digits possible at C is 5. As repetition is allowed, the number of digits possible at B and A is also 5 at each.


Therefore, The total number possible 3-digit numbers =5 × 5 × 5 =125


(ii) When repetition is not allowed:


The number of digits possible at C is 5. Let’s suppose one of 5 digits occupies place C, now as the repletion is not allowed, the possible digits for place B are 4 and similarly there are only 3 possible digits for place A.


Therefore, The total number of possible 3-digit numbers=5 × 4 × 3=60


Question 2.

How many 3-digits even numbers can be formed from the digits 1, 2, 3, 4, 5, 6 if the digits can be repeated?


Answer:

Let the 3-digit number be ABC, where C is at the unit’s place, B at the tens place and A at the hundreds place.


As the number has to even, the digits possible at C are 2 or 4 or 6. That is number of possible digits at C is 3. Now, as the repetition is allowed, the digits possible at B is 6 (any of the 6 is okay). Similarly, at A, also, the number of digits possible is 6.


Therefore, The total number possible 3 digit numbers =6 × 6 × 3 = 108.



Question 3.

How many 4-letter code can be formed using the first 10 letters of the English alphabet, if no letter can be repeated?


Answer:

Let the 4 digit code be 1234.


At the first place, the number of letters possible is 10. Let’s suppose any 1 of the ten occupies place 1. Now, as the repetition is not allowed, the number of letters possible at place 2 is 9. Now at 1 and 2, any 2 of the 10 alphabets have been taken. The number of alphabets left for place 3 is 8 and similarly the number of alphabets possible at 4 is 7.


The total number of 4 letter codes=10 × 9 × 8 × 7=5040.



Question 4.

How many 5-digit telephone numbers can be constructed using the digits 0 to 9 if each number starts with 67 and no digit appears more than once?


Answer:


Let the five-digit number be ABCDE. Given that first 2 digits of each number is 67. Therefore, the number is 67CDE.

As the repetition is not allowed and 6 and 7 are already taken, the digits available for place C are 0,1,2,3,4,5,8,9. The number of possible digits at place C is 8. Suppose one of them is taken at C, now the digits possible at place D is 7. And similarly, at E the possible digits are 6.


∴The total five-digit numbers with given conditions=8 × 7 × 6=336.



Question 5.

A coin is tossed 3 times and the outcomes are recorded. How many possible outcomes are there?


Answer:


The possible outcomes after a coin toss are head and tail.

The number of possible outcomes at each coin toss is 2.


∴The total number of possible outcomes after 3 times=2 × 2 × 2=8.



Question 6.

Given 5 flags of different colours, how many different signals can be generated if each signal requires the use of 2 flags, one below the other?


Answer:

The signal requires 2 flags.


The number of flags possible for upper flag is 5.


Now as one of the flag is taken, the number of flags remaining for lower flag in the signal is 4.


The number of ways in which signal can be given= 5 × 4 =20.




Exercise 7.2
Question 1.

Evaluate

(i) 8 ! (ii) 4 ! – 3 !


Answer:

(i) 8! = 8 × 7 × 6 × 5 × 4 × 3 × 2 × 1 = 40320


(ii) 4!-3! = (4 × 3!)-3! = 3!(4-1) = 3 × 2 × 1 × 3 = 18



Question 2.

Is 3 ! + 4 ! = 7 ! ?


Answer:

Computing left hand side:


3!+4! = (3 × 2 × 1) + (4 × 3 × 2 × 1) = 6+24 = 30


Computing the right-hand side:


7! = 7 × 6 × 5 × 4 × 3 × 2 × 1 = 5040


We observe that the left-hand side is not equal to the right-hand side.



Question 3.

Compute


Answer:


Expanding all the factorials:




Question 4.

If


Answer:

Solving left hand side:




Equating left hand side to right hand side:







Question 5.

Evaluate ,when

(i) n = 6, r = 2

(ii) n = 9, r = 5


Answer:


(i) Putting the value of n and r:



(ii) Putting the value of n and r:





Exercise 7.3
Question 1.

How many 3-digit numbers can be formed by using the digits 1 to 9 if no digit is repeated?


Answer:


Total no. of digits possible for choosing = 9

No. of places for which a digit has to be taken = 3


As there is no repetition allowed;


⇒ No. of permutations =



Question 2.

How many 4-digit numbers are there with no digit repeated?


Answer:

In questions like these we need to fill the places that are to be occupied.

To find: Four digit number (digits does not repeat)

Now we will have 4 places where 4 digits are to be put.

So,

At thousand's place = There are 9 ways as 0 cannot be at thousand's place = 9 ways

At hundredth's place = There are 9 digits to be filled as 1 digit is already taken = 9 ways

At ten's place = There are now 8 digits to be filled as 2 digits are already taken = 8 ways

At unit's place = There are 7 digits that can be filled = 7 ways

Total Number of ways to fill the four places = 9 × 9 × 8 × 7 = 4536 ways.



So a total of 4536 four digit numbers can be there with no digits repeated.


Question 3.

How many 3-digit even numbers can be made using the digits 1, 2, 3, 4, 6, 7, if no digit is repeated?


Answer:

Even number means that last digit should be even,


No. of possible digits at one’s place = 3 (2, 4 and 6)


⇒ No. of permutations=


One of digit is taken at one’s place, Number of possible digits available = 5


⇒ No. of permutations=


Therefore, total number of permutations =3 × 20=60.


Question 4.

Find the number of 4-digit numbers that can be formed using the digits 1, 2, 3, 4, 5 if no digit is repeated. How many of these will be even?


Answer:

Total no. of digits possible for choosing =5


No. of places for which a digit has to be taken =4


As there is no repetition allowed;


⇒ No. of permutations =


The number will be even when 2 and 4 are at one’s place.


The possibility of (2,4) at one’s place =


Total number of even number = 120 × 0.4 = 48.



Question 5.

From a committee of 8 persons, in how many ways can we choose a chairman and a vice chairman assuming one person cannot hold more than one position?


Answer:


Total no. of people in committee = 8

No. of positions to be filled = 2


⇒ No. of permutations =



Question 6.

Find n if n-1P3 : nP3 = 1 : 9.


Answer:





⇒ n=9.


Question 7.

Find r if (i)5Pr = 26Pr-1 (ii) 5Pr = 6Pr-1


Answer:

(i)





⇒ 42 -13r+r2=12


⇒ r2-13r+30=0


⇒ r2-10r-3r+30=0


⇒ r(r-10)-3(r-10)=0


⇒ (r-3)(r-10)=0


r= 3 or r=10


But r=10 is rejected, as in , r cannot be greater than 5.


Therefore, r=3.


(ii)





⇒ 42 -13r+r2=6


⇒ r2-13r+36=0


⇒ r2-9r-4r+36=0


⇒ r(r-9)-4(r-9)=0


⇒ (r-4)(r-9)=0


r= 4 or r=9


But r=9 is rejected, as in , r cannot be greater than 5.


Therefore, r=4.


Question 8.

How many words, with or without meaning, can be formed using all the letters of the word EQUATION, using each letter exactly once?


Answer:


Total number of different letters in EQUATION = 8

Number of letters to be used to form a word =8


⇒ No. of permutations =



Question 9.

How many words, with or without meaning can be made from the letters of the word MONDAY, assuming that no letter is repeated, if.

(i) 4 letters are used at a time, (ii) all letters are used at a time,

(iii) all letters are used but first letter is a vowel?


Answer:

Total number of letters in MONDAY =6


(i) No. of letters to be used =4


⇒ No. of permutations =


(ii) No. of letters to be used =6


⇒ No. of permutations =


(iii) No. of vowels in MONDAY = 2 (O and A)


⇒ No. of permutations in vowel =


Now, remaining places =5


Remaining letters to be used =5


⇒ No. of permutations =


Therefore, total number of permutations = 2 × 120 =240.



Question 10.

In how many of the distinct permutations of the letters in MISSISSIPPI do the four I’s not come together?


Answer:

Total number of letters in MISSISSIPPI =11


Letter Number of occurrence



⇒ Number of permutations =


We take that 4 I’s come together, and they are treated as 1 letter,


∴ Total number of letters=11-4+1=8


⇒ Number of permutations =


Therefore, total number of permutations where four I’s don’t come together = 34650-840=33810



Question 11.

In how many ways can the letters of the word PERMUTATIONS be arranged if the

(i) words start with P and end with S, (ii) vowels are all together,

(iii) there are always 4 letters between P and S?


Answer:

Total number of letters in PERMUTATIONS =12


Only repeated letter is T ; 2times


(i) First and last letter of the word are fixed as P and S respectively.


Number of letters remaining =12-2=10


⇒ No. of permutations =


(ii) No. of vowels in PERMUTATIONS = 5 (E,U,A,I,O)


Now, we consider all the vowels together as one.


Number of permutations of vowels =


Now total number of letters = 12-5+1=8


⇒ No. of permutations =


Therefore, total number of permutations = 120× 20160=2419200


(iii) Number of places are as 123456789101112


There should always be 4 letters between P and S.


Possible places of P and S are 1 and 6, 2and 7, 3 and 8, 4 and 9, 5 and 10, 6 and 11, 7 and 12


Possible ways =7,


Also, P and S can be interchanged,


No. of permutations =2× 7 =14


Remaining 10 places can be filled with 10 remaining letters,


∴ No. of permutations =


Therefore, total number of permutations = 14 × 1814400 =25401600.




Exercise 7.4
Question 1.

If nC8 = nC2, find nC2.


Answer:

Given: nC8 = nC2


We know that if nCr = nCp then either r = p or r = n – p


Here nC8 = nC2


⇒ 8 = n – 2


⇒ n = 10


Now,


nC2= 10C2 = (∵ nCr = )


10C2 =



Question 2.

Determine n if

(i) =12 : 1 (ii) = 11 : 1


Answer:

(i)


Given: =12 : 1










⇒ 4× (2n—1) = 12×(n-2)


⇒ 8n – 4 = 12n – 24


⇒ 12n – 8n = 24 – 4


⇒ 4n = 20


∴ n = 5


(ii)


Given: =11 : 1










⇒ 4× (2n—1) = 11×(n-2)


⇒ 8n – 4 = 11n – 22


⇒ 11n – 8n = 22 – 4


⇒ 3n = 18


∴ n = 6



Question 3.

How many chords can be drawn through 21 points on a circle?


Answer:

Given: 21 points on a circle


We know that we require two points on the circle to draw a chord


∴ Number of chords is:


21C2=


∴ Total number of chords can be drawn are 210



Question 4.

In how many ways can a team of 3 boys and 3 girls be selected from 5 boys and 4 girls?


Answer:

Given: 5 boys and 4 girls are in total


We can select 3 boys from 5 boys in 5C3 ways


Similarly, we can select 3 boys from 54 girls in 4C3 ways


∴ No. of ways a team of 3 boys and 3 girls can be selected is 5C3 × 4C3


5C3 × 4C3 =


5C3 × 4C3 = 10 × 4 = 40


∴ No. of ways a team of 3 boys and 3 girls can be selected is 5C3 × 4C3 = 40 ways


Question 5.

Find the number of ways of selecting 9 balls from 6 red balls, 5 white balls and 5 blue balls if each selection consists of 3 balls of each colour.


Answer:

Given: 6 red balls, 5 white balls and 5 blue balls


We can select 3 red balls from 6 red balls in 6C3 ways


Similarly, We can select 3 white balls from 5 white balls in 5C3 ways


Similarly, We can select 3 blue balls from 5 blue balls in 5C3 ways


∴ No. of ways of selecting 9 balls is 6C3 ×5C3 × 5C3


6C3 ×5C3 × 5C3 =


6C3 ×5C3 × 5C3 =


∴ Number of ways of selecting 9 balls from 6 red balls, 5 white balls and 5 blue balls if each selection consists of 3 balls of each colour is 6C3 ×5C3 × 5C3 = 2000



Question 6.

Determine the number of 5 card combinations out of a deck of 52 cards if there is exactly one ace in each combination.


Answer:

Given: a deck of 52 cards


There are 4 Ace cards in a deck of 52 cards.


According to question, we need to select 1 Ace card out the 4 Ace cards


∴ No. Of ways to select 1 Ace from 4 Ace cards is 4C1


⇒ More 4 cards are to be selected now from 48 cards (52 cards – 4 Ace cards)


∴ No. Of ways to select 4 cards from 48 cards is 48C4


∴ Total number of ways = 4C1 × 48C4


4C1 × 48C4 =


4C1 × 48C4 =


∴ Number of 5 card combinations out of a deck of 52 cards if there is exactly one ace in each combination 778320.



Question 7.

In how many ways can one select a cricket team of eleven from 17 players in which only 5 players can bowl if each cricket team of 11 must include exactly 4 bowlers?


Answer:

Given: 17 players in which only 5 players can bowl if each cricket team of 11 must include exactly 4 bowlers


There are 5 players how can bowl, and we require 4 bowlers in a team of 11


∴ No. Of ways in which bowlers can be selected are: 5C4


Now other players left are: 17 – 5(bowlers) = 12


Since we need 11 players in a team and already 4 bowlers are selected, we need to select 7 more players from 12.


∴ No. Of ways we can select these players are: 12C7


∴ Total number of combinations possible are : 5C4 × 12C7


5C4 × 12C7 =


5C4 × 12C7 =


∴ Number of ways we can select a team of 11 players where 4 players are bowlers from 17 players are: 3960



Question 8.

A bag contains 5 black and 6 red balls. Determine the number of ways in which 2 black and 3 red balls can be selected.


Answer:

Given: A bag contains 5 black and 6 red balls


Number of ways we can select 2 black balls from 5 black balls are 5C2


Number of ways we can select 3 red balls from 6 red balls are 6C3


∴ Number of ways 2 black and 3 red balls can be selected are: 5C2× 6C3


5C2× 6C3 =


5C2× 6C3 =


∴ Number of ways in which 2 black and 3 red balls can be selected from 5 black and 6 red balls are : 200



Question 9.

In how many ways can a student choose a programme of 5 courses if 9 courses are available and 2 specific courses are compulsory for every student?


Answer:

Given: 9 courses are available and 2 specific courses are compulsory for every student


Here 2 courses are compulsory out of 9 courses, so a student need to select 5—2=3 courses


∴ number of ways in which 3 ways can be selected from 9—2(compulsory courses) = 7 are 7C3


7C3 =


7C3 =


∴ Number of ways a student selects 5 courses from 9 courses where 2 specific courses are compulsory are: 35




Miscellaneous Exercise
Question 1.

How many words, with or without meaning, each of 2 vowels and 3 consonants can be formed from the letters of the word DAUGHTER?


Answer:

The word DAUGHTER has 3 vowels A, E, U and 5 consonants D, G, H, T and R.


The three vowels can be chosen in 3C2 as only two vowels are to be chosen.


Similarly, the five consonants can be chosen in5C3 ways.


∴ Number of choosing 2 vowels and 5 consonants would be 3C2 ×5C3



= 30


∴ Total number of ways of is 30


Each of these 5 letters can be arranged in 5 ways to form different words = 5P5



Total number of words formed would be = 30 × 120 = 3600



Question 2.

How many words, with or without meaning, can be formed using all the letters of the word EQUATION at a time so that the vowels and consonants occur together?


Answer:

in the word EQUATION there are 5 vowels (A, E, I, O, U) and 3 consonants (Q, T, N)

The numbers of ways in which 5 vowels can be arranged are 5C5


………………1


Similarly, the numbers of ways in which 3 consonants can be arranged are 3P3


……………..2


There are two ways in which vowels and consonants can appear together


(AEIOU)(QTN) or (QTN)(AEIOU)


∴ the total number of ways in which vowel and consonant can appear together are:


2 × 5C5 × 3C3


∴ 2 × 120 × 6 = 1440


Question 3.

A committee of 7 has to be formed from 9 boys and 4 girls. In how many ways can this be done when the committee consists of:

(i) exactly 3 girls ? (ii) atleast 3 girls ? (iii) atmost 3 girls ?


Answer:

(i) exactly 3 girls

Total numbers of girls are 4


Out of which 3 are to be chosen


∴ Number of ways in which choice would be made = 4C3


Numbers of boys are 9 out of which 4 are to be chosen which is given by 9C4


Total ways of forming the committee with exactly three girls


= 4C3 × 9C4


=


(ii) at least 3 girls


There are two possibilities of making committee choosing at least 3 girls


There are 3 girls and 4 boys or there are 4 girls and 3 boys


Choosing three girls we have done in (i)


Choosing four girls and 3 boys would be done in 4C4 ways


And choosing 3 boys would be done in 9C3


Total ways = 4C4 ×9C3



Total numbers of ways of making the committee are


504 + 84 = 588


(iii) at most 3 girls


In this case the numbers of possibilities are


0 girl and 7 boys


1 girl and 6 boys


2 girls and 5 boys


3 girls and 4 boys


Number of ways to choose 0 girl and 7 boys = 4C0 × 9C7



Number of ways of choosing 1 girl and 6 boys = 4C1 × 9C6



Number of ways of choosing 2 girls and 5 boys = 4C2 × 9C5



Number of choosing 3 girls and 4 boys has been done in (1)


= 504


Total number of ways in which committee can have at most 3 girls are = 36 + 336 + 756 + 504 = 1632



Question 4.

If the different permutations of all the letter of the word EXAMINATION are listed as in a dictionary, how many words are there in this list before the first word starting with E?


Answer:

In dictionary words are listed alphabetically, so to find the words

Listed before E should start with letter either A, B, C or D


But the word EXAMINATION doesn`t have B, C or D


Hence the words should start with letter A


The remaining 10 places are to be filled by the remaining letters of the word EXAMINATION which are E, X, A, M, 2N, T, 2I, 0


Since the letters are repeating the formula used would be



Where n is remaining number of letters


p1 and p2 are number of times the repeated terms occurs.



The number of words in the list before the word starting with E


= words starting with letter A = 907200



Question 5.

How many 6-digit numbers can be formed from the digits 0, 1, 3, 5, 7 and 9 which are divisible by 10 and no digit is repeated?


Answer:

The number is divisible by 10 if the unit place has 0 in it.

The 6-digit number is to be formed out of which unit place is fixed as 0


The remaining 5 places can be filled by 1, 3, 5, 7 and 9


Here n = 5


And the numbers of choice available are 5


so, the total ways in which the rest the places can be filled are 5P5




Question 6.

The English alphabet has 5 vowels and 21 consonants. How many words with two different vowels and 2 different consonants can be formed from the alphabet?


Answer:

There are 5 vowels and 21 consonants in English alphabets.

Choosing two vowels out of 5 would be done in 5C2 ways


Choosing 2 consonants out of 21 can be done in 21C2 ways


The total number of ways selecting 2 vowels and 2 consonants


= 5C2 × 21C2



Each of these four letters can be arranged in four ways 4P4



Total numbers of words that can be formed are


24 × 2100 = 50400



Question 7.

In an examination, a question paper consists of 12 questions divided into two parts i.e., Part I and Part II, containing 5 and 7 questions, respectively. A student is required to attempt 8 questions in all, selecting at least 3 from each part. In how many ways can a student select the questions?


Answer:

The student can choose 3 questions from part I and 5 from part II

Or


4 questions from part I and 4 from part II


5 questions from part 1 and 3 from part II


3 questions from part I and 5 from part II can be chosen in


= 5C3 × 7C5



4 questions from part I and 4 from part II can be chosen in


= 5C4 × 7C4



5 questions from part 1 and 3 from part II can be chosen in


= 5C5 × 7C3



Now the total number of ways in which a student can choose the questions are = 210 + 175 + 35 = 420



Question 8.

Determine the number of 5-card combinations out of a deck of 52 cards if each selection of 5 cards has exactly one king.


Answer:

A deck of cards has 4 kings.

The numbers of remaining cards are 52.


Ways of selecting a king from the deck = 4C1


Ways of selecting the remaining 4 cards from 48 cards= 48C4


Total number of selecting the 5 cards having one king always


= 4C1 × 48C4




Question 9.

It is required to seat 5 men and 4 women in a row so that the women occupy the even places. How many such arrangements are possible?


Answer:

There are total 9 people

Women occupies even places that means they will be sitting on 2nd , 4th , 6th and 8th place where as men will be sitting on 1st, 3rd, 5th,7th and 9th place.


4 women can sit in four places and ways they can be seated= 4P4



5 men can occupy 5 seats in 5 ways


The numbers of ways in which these can be seated = 5P5



The total numbers of sitting arrangements possible are


24 × 120 = 2880



Question 10.

From a class of 25 students, 10 are to be chosen for an excursion party. There are 3 students who decide that either all of them will join or none of them will join. In how many ways can the excursion party be chosen?


Answer:

There are 2 options


Total numbers of ways in which students can be chosen are


=170544 + 646646


= 817190



Question 11.

In how many ways can the letters of the word ASSASSINATION be arranged so that all the S’s are together?


Answer:

In the given word ASSASSINATION, there are 4 ‘S’. Since all the 4 ‘S’ have to be arranged together so let as take them as one unit.

The remaining letters are= 3 ‘A’, 2 ‘I’, 2 ‘N’, T


The number of letters to be arranged are 9 (including 4 ‘S’)


Using the formula where n is number of terms and p1, p2 p3 are the number of times the repeating letters repeat themselves.


Here p1= 3, p2= 2, p3 = 2


Putting the values in formula we get