GATE Computer ScienceModerateNIELIT Scientist B

In how many ways can 6 distinct letters be placed into their 6 addressed envelopes (one per envelope) so that no letter is in its own envelope?

  1. A. 221
  2. B. 310
  3. C. 265
  4. D. 176

Correct answer: C. 265

The derangement numbers satisfy D(n) = (n−1)(D(n−1) + D(n−2)), giving D(6) = 265.

More Discrete Mathematics questions

Exams that ask this topic