Take out three S′s and tie up two C′s so that we are left with U,E and one bundle of C′s. Thus we have 3 letters which can be arranged in 3!(2!2!)=6ways.
We have 4 places (two in between and two in the
corners). In these 4 places 3 different objects can be arranged in 4P3 ways but three alike can be arranged in 13!.4P3 ways i.e. 4 ways.
Hence by fundamental theorem, the number of desired arrangements is 4×6=24.
(ii) Now take out SSS and arrange remaining 4 letters out of which two are alike ∴4!2!=12. There will be 5 gaps in between these 4 (3 in between 2 at corners) in which three alike SSS$ can be placed in
5P33!ways, i.e. 5.4.36=10 ways.
Hence by fundamental theorem there will be 12×10=120 ways in which all the S′s are separated. In the above 120 ways no two S′s are together. Also by part (i) no two S′s are together but two C′s are together in 24 ways.
∴ In 120−24=96 ways no two S′s and no two C′s are together.