Question
Mathematics Question on permutations and combinations
If n is the number of ways five different employees can sit into four indistinguishable offices where any office may have any number of persons including zero, then n is equal to:
A
47
B
53
C
51
D
43
Answer
51
Explanation
Solution
Total ways to partition 5 into 4 parts are:
-
5, 0, 0, 0 → 1 way
-
4, 1, 0, 0 → 4!5!=5 ways
-
3, 2, 0, 0 →3!2!5!=10 ways
-
2, 2, 1, 0 →2!2!1!5!=15 ways
-
2, 1, 1, 1 →2!1!1!1!5!=10 ways
-
3, 1, 1, 0 → 3!1!1!5!=10 ways
Total:
1+5+10+15+10+10=51 ways