[Math] Probability that all people get out on the specific floor

probability

An elevator with 5 passengers inside goes up. There are 7 floors in
the building. Calculate the probability that a) each person will leave on
a different floor and that b) all of them will leave on the second floor.

I know there were many questions with elevator problems, but so far I haven't found one with an answer to b) – a specific floor on which all people would leave – if I'm missing something, I'd be happy to be linked to the specific one, if not, can anyone help out? For the a) part, I think the answer would be:

$$\frac{7*6*5*4*3}{7^5}$$
Please do correct me if I'm wrong! Thank you.

Best Answer

For b) it is simply $$\left(\frac{1}{7}\right)^5$$

That is, each person goes off at the second floor with a probability of $\frac{1}{7}$

Your answer to a) is correct.