View written solutionFree
Correct answer: 30
- Interpretation of the problem
We have distinct persons seated in a fixed circular arrangement.
Each person is to be given a hat of one of colours: red, blue, green.
We must count the number of colourings of these seats such that adjacent persons have different colours.
Since the seating arrangement is already fixed, we only need to count valid colour assignments on a cycle of length using colours.
- Model as colouring a cycle
Let the seats around the circle be in order:
We want the number of proper colourings of this cycle with colours.
A standard result for colouring a cycle of length with colours is:
Here, and . So,
So the required number is:
- Direct counting verification
We can also verify this without using the formula.
- Choose colour of : ways.
- Choose colour of different from : ways.
- Choose colour of different from : ways.
- Choose colour of different from : ways.
Now choose colour of such that it differs from both and .
So we count according to whether or .
Case 1:
Fix .
- : choices.
- : choices.
- For to equal and differ from , this happens exactly when is the third colour not equal to or .
- Then must differ from both and , so it can be any of the other colours except , but must also differ from which is same as ; thus has choices.
For fixed , this gives valid completions.
Case 2:
Then since must differ from both and , and there are only colours, is forced to be the third colour. So has choice.
For fixed , among the choices of , one leads to and one leads to . Hence this case contributes valid completion.
So for fixed , total valid completions:
Thus total number:
This seems inconsistent, so let us carefully correct the direct counting.
- Correct direct counting
Fix colour of : ways. Fix colour of : ways. Fix colour of : ways. Fix colour of : ways.
So along the path , before checking , there are: assignments for .
Now count how many of these allow .
For each colouring of :
- If , then can be any colour different from , so choices.
- If , then must be different from both, so choice.
Thus we need counts of assignments of with and with .
Fix .
- : ways.
- : ways.
- : must differ from .
For fixed :
- If , then has choices, neither equal to necessarily.
- If , then among the choices for (excluding ), exactly one is and one is the third colour.
Let us list for fixed .
Choose in ways.
For each fixed :
- can be or the third colour.
If :
- , so has choices, both with .
If is the third colour:
- has choices: one is , one is .
- So one gives , one gives .
Hence for fixed :
- Number of assignments with :
- Number with :
Therefore for fixed :
- Since has choices,
Now including :
- From : each gives choices for .
- From : each gives choice for .
So for fixed :
Finally, has choices, so total:
Thus the required number is:
- Comparison with stored answer
Stored correct answer = .
Our derived answer = .
So the stored answer is correct.
More from Permutations and Combinations
- The number of 5 digit numbers which are divisible by 4, with digits from the set {1, 2, 3, 4, 5} and the repetition of digits is allowed, is .................2018 · Numerical
- In a high school, a committee has to be formed from a group of 6 boys M1, M2, M3, M4, M5, M6 and 5 girls G1, G2, G3, G4, G5. (i) Let 1 be the total number of ways in which the committee can be formed such that the committee has 5… Includes table2018 · MCQ
- Words of length 10 are formed using the letters A, B, C, D, E, F, G, H, I, J. Let x be the number of such words where no letter is repeated; and let y be the number of such words where exactly one letter is repeated twice and no other…2017 · Numerical
- A debate club consists of 6 girls and 4 boys. A team of 4 members is to be select from this club including the selection of a captain (from among these 4 members ) for the team. If the team has to include at most one boy, then the number…2016 · MCQ
- Let n be the number of ways in which 5 boys and 5 girls can stand in a queue in such a way that all the girls stand consecutively in the queue. Let m be the number of ways in which 5 boys and 5 girls can stand in a queue in such a way that…2015 · Numerical
- Let be positive integers such that = 20. Then the number of such destinct arrangements …2014 · Numerical
- Let be an integer. Take n distinct points on a circle and join each pair of points by a line segment. Colour the line segment joining every pair of adjacent points by blue and the rest by red. If the number of red and blue line…2014 · Numerical
- Six cards and six envelopes are numbered 1, 2, 3, 4, 5, 6 and cards are to be placed in envelopes so that each envelope contains exactly one card and no card is placed in the envelope bearing the same number and moreover the card numbered…2014 · MCQ