Question : A television director has to schedule commercials during 6 time slots allocated to commercials during the national telecast of the first period of a Canadiens hockey game.
(a) In how many ordered ways can the television director schedule 6 different commercials during the 6 time slots?
(b) In how many ways can the television director fill the 6 time slots allocated to commercials, if there are 4 different commercials, of which a given one is to be shown 3 times while each of the others is to be shown once?
(c) As in (b) except the commercial shown three times can’t be shown before or after itself (i.e., not consecutively). How many ways can the television director fill the 6 time slots?
My answers:
a) 6! ways (6P6)
b) 4 commercials, 1 is to be repeated 3 times.
R _ _ _ + _ R _ _ + _ _ R _ + _ _ _ R
… R stands for this slot contains 3 repeated adverts
The other 3 slots can be chosen in 3P3 ways = 3!
Thus, it is 1 x 3! + 1 x 3! + 1 x 3! + 1 x 3! = 24 ways
c) c) Repeated advertisements cannot be show before or after itself
This can be arranged in two ways.
R _ R _ R _ Or _ R _ R _ R
Which is
1 x 3! + 1 x 3! = 12 ways.
Your answer $6!$ is correct.
Strategy:
What did you do wrong?
By treating the repeated commercial as a block, you only counted those cases in which the repeated commercial ran in three consecutive slots. However, there is no such restriction.
We will arrange three blue balls, one green ball, one red ball, and one yellow ball so that no two of the blue balls are consecutive. The blue balls represent the positions of the repeated commercial, no two of which are consecutive. The other balls represent the positions of the other three commercials.
Strategy:
What did you do wrong?
You assumed that the repeated commercials must alternate with the other commercials. However, this is not the case since the arrangements $bgrbyb$ and $bgbryb$ are both admissible since no two of the blue balls are consecutive.