Question
Question: Suppose there are 7 boxes of different colours each containing a ball of same colour as of box. If t...
Suppose there are 7 boxes of different colours each containing a ball of same colour as of box. If the number of possible ways of arranging these balls in the boxes (one in each) so that exactly three balls are in the box of their own colour is m. Then 5m equals to

Answer
63
Explanation
Solution
The problem requires finding the number of ways to arrange 7 distinct balls into 7 distinct boxes such that exactly 3 balls are in their corresponding colored boxes.
This involves two steps:
- Choosing the balls in their correct boxes: The number of ways to choose which 3 out of 7 balls go into their own colored boxes is given by the combination formula: (37)=3!(7−3)!7!=3×2×17×6×5=35
- Deranging the remaining balls: The remaining 7−3=4 balls must be placed in the remaining 4 boxes such that none are in their own colored box. This is a derangement problem. The number of derangements of 4 items, D4, is calculated as: D4=4!(0!1−1!1+2!1−3!1+4!1)=24(1−1+21−61+241)=9
The total number of ways, m, is the product of these two values: m=(37)×D4=35×9=315 Finally, we need to calculate 5m: 5m=5315=63
