M−11−43−4P−2⎫⎪
⎪
⎪⎬⎪
⎪
⎪⎭we need 4 letter words.There are 5 cases m total
Case (i): when One letter is repeated 4 times IIII in SSSS
3 possibilities
Case (ii): when one is repeated 3 times and other one I or 3 can be repeated 3 times.
so we selects 1 of I and S and selectt one of remaining 3 letters and arrange.
no. of ways 2C1×463! ⇒ 4×2 ⇒ 8 ways
Case (iii): when one letters is repeated twice and another letter is repeated twice I, S and P can be repeated twice
no. of ways:
3C2×4!2! 2! ⇒ 3×6 ⇒ 18 ways.
Case (iv): when one letter is repeated twice and other 2 places can 2 difference letters.
I, S, P can be repeated twice.
no. of ways: $^3C_1 \times ^3C_2\times \dfrac {4!}{2!}\ \Rightarrow \ 3\times
\times 12\Rightarrow \ 108$
Case (v): all letters can distance ; 4 difference letters I, S, P, M
4! ways =24
∴ Total no. of 4 letter words =24+108+18+8+2
=176