GATE Computer ScienceVery hardGATE CS (PYQ pattern)

In how many ways can 6 non-attacking rooks be placed on a 6 × 6 board so that none stands on either main diagonal?

  1. A. 90
  2. B. 120
  3. C. 265
  4. D. 80

Correct answer: D. 80

These are permutations σ of {1..6} with σ(i) ≠ i and σ(i) ≠ 7 − i for all i; inclusion-exclusion over the diagonal squares (or direct enumeration of 720 permutations) gives 80.

More Discrete Mathematics questions

Exams that ask this topic