Q. A person writes letlers to six friends and addresses the corresponding envelopes. Let be the number of ways so that at least two of the letters are in wrong envelopes and be the number of ways so that all the letters are in wrong envelopes. Then

 2522  199 Permutations and Combinations Report Error

Solution:

If all the letters are not in the right envelopes, then at least two letters must be in wrong envelopes.

Now number of ways so that all the letters are in wrong envelopes

[Deragement formula]