three men drop their hats off at the cloakroom when entering a restaurant and choose at random when taking out 1 of the 3 hats.
Calculating the probability that none of the 3 men take their own hats.
The total outcomes are 3! = 6
There are favorable outcomes: those that have neither 1 in the first position, nor 2 in second, nor 3 in third.
With manual counting, there are then 2 favorable outcomes.
The probability is, therefore 2/6
All is good, but how can I find the number of favorable outcomes when 50 drop their hats off at the cloakroom?
Edit: After research, the precise answer is the nearest integer to
n!/e
,50!/e
in my case.