In how many different ways can we arrange the letters of the word ACCESSORIES so that no two similar letters are adjacent to each other, as well as no two vowels are adjacent to each other?
Examples of valid words: ACESORISECE, ESECOSIRECA, CEIOSARESEC.
Examples of invalid words: ACCESOSRISE (two similar letters are adjacent "CC"), CACESOSRIES (two vowels are adjacent "IE"), ACECOIRSSES (two similar letters are adjacent "SS" and two vowels are adjacent "OI").
I only know how to count the number of words that can be formed using the letters; A,C,C,E,E,I,O,R,S,S,S. The number of words $=\frac{11!}{1!\times2!\times2!\times1!\times1!\times1!\times3!}=1663200$ words, but I do not know how to exclude the invalid words.
The difficulty is: Excluding a word more than one time, for example excluding the word CACESOSRIES because it has two adjacent vowels "IE", then (by exchanging the positions of the two E's that leads to the same word actually) we again exclude that word because it has two adjacent vowels "IE", which is wrong. And I have other difficulties and confusions.
Any help would be appreciated. THANKS!
Since there are $5$ vowels over $11$ letters, we first arrange them so that we have no adjacent vowels.
We distinguish four classes of arrangements (here $X$ is a place for a vowel and $Y$ is a place for a consonant):
(i) $1$ with no adjacent consonants: $$YXYXYXYXYXY$$
(ii) $4$ with 3 adjacent consonants: $$X\color{blue}{YYY}XYXYXYX, XYX\color{blue}{YYY}XYXYX, XYXYX\color{blue}{YYY}XYX, XYXYXYX\color{blue}{YYY}X$$
(iii) $10$ with 2 adjacent consonants: $$\color{blue}{YY}XYXYXYXYX,YX\color{blue}{YY}XYXYXYX,YXYX\color{blue}{YY}XYXYX, YXYXYX\color{blue}{YY}XYX, YXYXYXYX\color{blue}{YY}X, X\color{blue}{YY}XYXYXYXY,XYX\color{blue}{YY}XYXYXY,XYXYX\color{blue}{YY}XYXY, XYXYXYX\color{blue}{YY}XY, XYXYXYXYX\color{blue}{YY}$$
(iv) $6$ with 2 couples of adjacent consonants: $$X\color{blue}{YY}X\color{blue}{YY}XYXYX, X\color{blue}{YY}XYX\color{blue}{YY}XYX, X\color{blue}{YY}XYXYX\color{blue}{YY}X,XYX\color{blue}{YY}X\color{blue}{YY}XYX,XYX\color{blue}{YY}XYX\color{blue}{YY}X,XYXYX\color{blue}{YY}X\color{blue}{YY}X$$
Hence, the total number of valid arrangements is $$\underbrace{\frac{5!}{2}}_{\text{vowels}}\cdot \left(\underbrace{1\cdot\left(\frac{6!}{2!3!}\right)}_{\text{case (i)}}+ \underbrace{4\cdot31}_{\text{case (ii)}}+ \underbrace{10\cdot\left(\frac{6!}{2!3!}-16\right)}_{\text{case (iii)}} +\underbrace{6\cdot\left(\frac{6!}{2!3!}-28\right)}_{\text{case (iv)}} \right)=48960.$$ Please fill the details of the above computation and let me know if you need further help.