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?
- A. 221
- B. 310
- C. 265
- 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
- What is the smallest positive integer x with x ≡ 2 (mod 3), x ≡ 3 (mod 5) and x ≡ 2 (mod 7)?
- How many spanning trees does the complete bipartite graph K₃,₃ have?
- How many binary relations on a 4-element set are both reflexive and symmetric?
- What is the multiplicative inverse of 17 modulo 3120?
- What is Euler's totient φ(360)?
- How many integer solutions does x₁ + x₂ + x₃ + x₄ = 20 have with every xᵢ ≥ 2?