How many permutations of 11223344 have no equal numbers next to each other?
Let Si be the set of all the permutations which contain an adjacent pair ii and let S be the set of all possible permutations on 1,1,2,2,3,3,4,4
Hence the required permutations = |S|−|S1∪S1∪S3∪S4|
|S1∪⋯∪S4|=∑N(i)−∑N(i,j)+∑N(i,j,k)−∑N(i,j,k,l)
N(i)=7!/23
Where N(1) is number of permutations of the 8-element set (11),2,2,3,3,4,4 where we treat the adjacent 1s as a single element.
Similarly,
N(i,j)=6!/22
N(i,j,k)=5!/2
N(i,j,k,l)=4!
Hence, Required Permutation = 8!/24 -4C1*7!/23 + 4C2* 6!/22 - 4C3* 5!/2 + 4C4* 4! = 864
Get Answers For Free
Most questions answered within 1 hours.