Looking at the question from a different perspective:
How many way can we distribute 7 people to 10 floors?
To solve this question we can use a method know as
STARS AND BARS.
This method is used, more in general, to identify the number of ways to arrange n indistinguishable items into k distinguishable bins. In our case n=7, k=10.
Let's forget for a moment about people and floors and rephrase the question into:
7 stars (or items)
9 bars (or separators) 9 = 10-1 --> imagine you have 10 bins, each divided from the next by a separator, therefore 10-1 = 9 separators (bars)
Example*| * | ** | | | | | | |*** --> here we have 1 item in bin #1, 1 item in bin #2, 2 items in bin #3 and 3 items in bin #10 (0 item for all the others bins)
******* | | | | | | | | | --> here we have 7 item in bin #1, no item in each of the other bins
The method uses the following formula to solve the possible ways to distribute the n identical items into k different bins:
(n+k-1)C(k-1)In our case since n = 7; k = 10
we get
(7+10-1)C(10-1) --> (16)C(9), or equivalently 16C7Coming back to stars&bars method, the same formula can be applied using directly stars (items) and bars (separators).
Therefore as follows:
(
stars+bars)C(bars) --> (16)C(9) or equivalently 16C7Answer is B. --> 16C7