Related Formula
The number of ways to distribute m$m$ distinct items into k$k$ indistinguishable groups is given by the sum of Stirling numbers of the second kind:
Σr=1k S(m, r)$$\sum_{r=1}^{k} S(m, r)$$
Core Logic
Since the offices are indistinguishable, we look at partitions of the number 5$5$ into at most 4$4$ parts. Let's analyze each case based on distribution patterns:
Step 1: Calculate Case Combinations
- Case 1: 5, 0, 0, 0$5, 0, 0, 0$
All employees in one office: (5!)/(5!) = 1 way$\frac{5!}{5!} = 1 \text{ way}$
- Case 2: 4, 1, 0, 0$4, 1, 0, 0$
Four employees in one office, one in another: (5!)/(4!1!) = 5 ways$\frac{5!}{4!1!} = 5 \text{ ways}$
- Case 3: 3, 2, 0, 0$3, 2, 0, 0$
Three employees in one office, two in another: (5!)/(3!2!) = 10 ways$\frac{5!}{3!2!} = 10 \text{ ways}$
- Case 4: 3, 1, 1, 0$3, 1, 1, 0$
Three in one, and one each in two other offices. Since the two single-person offices are identical:
(5!)/(3!1!1! · 2!) = 10 ways$$\frac{5!}{3!1!1! \cdot 2!} = 10 \text{ ways} $$
- Case 5: 2, 2, 1, 0$2, 2, 1, 0$
Two groups of two, and one group of one. Since the two two-person offices are identical:
(5!)/(2!2!1! · 2!) = 15 ways$$\frac{5!}{2!2!1! \cdot 2!} = 15 \text{ ways} $$
- Case 6: 2, 1, 1, 1$2, 1, 1, 1$
One group of two, three groups of one. Since the three single-person offices are identical:
5!2!(1!)³ · 3! = 10 ways$$\frac{5!}{2!(1!)^{3} \cdot 3!} = 10 \text{ ways} $$
Step 2: Total Sum
Summing all these distinct non-overlapping partition groups:
Total ways n = 1 + 5 + 10 + 10 + 15 + 10 = 51$$\text{Total ways } n = 1 + 5 + 10 + 10 + 15 + 10 = 51 $$
Pattern Recognition
Sees: Distinct items placed into identical/indistinguishable containers.
Trap: When dividing items into groups of equal sizes (like two groups of 2$2$ or three groups of 1$1$), you must divide by the factorial of the frequency of those groups (2!$2!$ and 3!$3!$) to avoid overcounting permutations.
Chapter Mix
Class 11 Mathematics: Permutations and Combinations