Lift Problem

Probability Level pending

Seven people enter a lift.the lift stops at three unspecified floors. At each of the three floors, no one enters the lift, but at least one person leaves the lift. After the three-floor stops, the lift is empty. In how many ways can this happen?


The answer is 1806.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Shwet Ranjan
Dec 8, 2017

Each of the seven people on the lift has three choices for which floor to leave the lift, so there are 3^7 ways the people could depart the lift. From these, we must exclude those cases in which there is not at least one person leaving the lift on each floor.

There are 3C1 ways to select a floor on which nobody departs the lift and 2^7 ways for the seven people to depart the lift on the remaining floors. However, if we subtract this number from 3^7, we will have subtracted the number of ways in which all the people depart the lift on the same floor twice, one for each of the two ways we could have picked the excluded floor. There are 3C2 ways to select the two floors on which nobody departs the lift and one choice for all the people to depart the lift on the remaining floor.

By the Inclusion-Exclusion Principle, the number of ways that seven people can leave the lift on three floors so that at least one person departs the lift on each floor is 3^7−(3C1)2^7+(3C2)1^7

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...