Five person A, B, C, D and E are seated in a circular arrangement.
Five person are seated in a circular arrangement. If each of them is given a hat of one of the three colors , then the number of ways of distributing the hats such that the persons
seated in adjacent seats get different coloured hats is,
Maximum number of hats used of same color are .
They cannot be otherwise at least hats of same color are consecutive.
Now the hats used are consider as .
Which can be selected in 3 ways.
It can be .
The number of ways of distributing blue hat (single one) in persons equal to .
Now either position are filled by green hats and are filled by Red hats or are filled by Red hats and are filled by Green hats.
So, only ways are possible.
Hence, number of ways ways.