F floors and p passengers problem There exists an elevator which starts off containing p passengers

Kyla Ayers

Kyla Ayers

Answered question

2022-06-24

F floors and p passengers problem
There exists an elevator which starts off containing p passengers.
There are F floors.
i : P i = (i. passenger exists on any of the floors) = 1 / F.
The passengers exit independently.
What's the probability that the elevator door opens on all floors?
Reasonable assumption: elevator stops on at least one of the floors.
Number of all configurations: F p .
It arises as the implication that any of the passengers can exit on any of the floors.
Number of favorable configurations will be the difference between the number of all configurations and the number of ways that at least one of the floors are skipped.
Therefore the probability in accordance with the principle of inclusion-exclusion:
F p ( F 1 ) ( F 1 ) p + ( F 2 ) ( F 2 ) p . . . + ( F F 1 ) 1 p F p
Now how to proceed from this point?

Answer & Explanation

Tianna Deleon

Tianna Deleon

Beginner2022-06-25Added 29 answers

Step 1
The problem is equivalent to the following (slightly neater) formulation: we place p balls in F urns, with uniform probability; which is the probability that all urns are occupied?
Your approach and your solution is fine.
Step 2
It can be written as P = F ! S ( p , F ) F p .
where S are the Stirling number of the second kind.
Fletcher Hays

Fletcher Hays

Beginner2022-06-26Added 6 answers

Step 1
I prefer the approach you adopted, as you do not need recourse to a Stirling table, and in a way the formula you use is more basic.
Step 2
You could, however, learn to condense your expression to
( 1 F P ) i = 0 F ( 1 ) i ( F i ) ( F i ) P
although it may appear more intimidating!

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?