CrackMBA 2015

CAT Preparation Community 10y ago

Find the number of ways of distributing 11 pastries of different flavors among 3 people such that everyone gets at least one pastry.

1

Pv Aaditya 10y ago

The this is the same as the number of onto functions from set A to set B where set A has 11 elements and set B has 3 elements.
The formula for onto functions is $$Sum(r = 1 to n) (-1)^r ^nC_r * r^m$$ where m is the number of elements in set A and n is the number of elements in set B.
Answer = $$3^{11} - 3 * 2^{11} + 3$$

Join CAT 2026 course by 5-Time CAT 100%iler

Crack CAT 2026 & Other Exams with Cracku!