[Math] Elevator probability problem

probability

An elevator in a building starts with five passengers and stops at seven floors. If each passenger is equally likely to get off on any floor and all the passengers leave independently of each other, what is the probability that no two passengers will get off at the same floor?

Best Answer

Hint: There are $7^5$ ways for the passengers to leave the elevator, but only $7\cdot6\cdot5\cdot4\cdot3$ avoid two passenges getting off at the same floor.