JEE Challenger
More from Permutations and Combinations

Circular Coloring Distribution of Hats for Five Persons

Five individuals A,B,C,DA, B, C, D, and EE are seated around a circular table. Each person is assigned a hat of one of three distinct colours: red, blue, or green. The total number of ways to distribute the hats such that no two persons seated in adjacent positions receive the same coloured hat is

Official Numerical Answer30

Step-by-Step Solution

To find the number of ways to distribute hats of 33 distinct colours (red, blue, green) to 55 persons A,B,C,DA, B, C, D, and EE seated in a circular arrangement such that no two adjacent persons have hats of the same colour, we can model this as finding the chromatic polynomial of a 5-cycle graph C5C_5 with k=3k = 3 colours.

Method 1: Using the Chromatic Polynomial of a Cycle Graph

For a cycle graph CnC_n on nn vertices with kk available colours, the number of valid proper colourings is given by: P(Cn,k)=(k−1)n+(−1)n(k−1)P(C_n, k) = (k-1)^n + (-1)^n(k-1)

Substituting n=5n = 5 and k=3k = 3: P(C5,3)=(3−1)5+(−1)5(3−1)P(C_5, 3) = (3-1)^5 + (-1)^5(3-1) P(C5,3)=25−2=32−2=30P(C_5, 3) = 2^5 - 2 = 32 - 2 = 30


Method 2: Combinatorial Case-by-Case Analysis

Since adjacent persons cannot have the same colour, and the cycle has an odd length (55), it is impossible to colour the cycle using only 11 or 22 colours. Hence, all 33 colours must be used.

The only possible partition of 55 hats using 33 colours such that no colour is used more than twice (a colour used ≥3\ge 3 times in a 5-cycle would force two hats of that colour to be adjacent) is: Distribution of colours: 2,2,1\text{Distribution of colours: } 2, 2, 1

  1. Choose which colour is used once: (31)=3 ways\binom{3}{1} = 3 \text{ ways} Let this colour be Red. The other two colours (Blue and Green) will each be used twice.

  2. Choose the person who gets the single Red hat: (51)=5 ways\binom{5}{1} = 5 \text{ ways} Without loss of generality, let person AA receive the Red hat.

  3. Assign the remaining hats to B,C,D,EB, C, D, E: The remaining 4 persons B,C,D,EB, C, D, E must receive 2 Blue hats and 2 Green hats such that adjacent persons have different colours. Since B,C,D,EB, C, D, E form a line of 4 positions where adjacent persons cannot have the same colour, they must alternate in colour:

    • Configuration 1: B=Blue,C=Green,D=Blue,E=GreenB = \text{Blue}, C = \text{Green}, D = \text{Blue}, E = \text{Green}
    • Configuration 2: B=Green,C=Blue,D=Green,E=BlueB = \text{Green}, C = \text{Blue}, D = \text{Green}, E = \text{Blue}

    In both configurations, AA (Red) is distinct from its neighbors BB and EE, and all other adjacent pairs differ. Thus, there are exactly 22 valid assignments for the remaining 4 persons.

Multiplying the independent choices together: Total number of ways=3×5×2=30\text{Total number of ways} = 3 \times 5 \times 2 = 30

Final Answer: 30