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?
- A. 90
- B. 120
- C. 265
- 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
- In how many ways can a 2 × 6 board of unit squares be coloured with 3 colours so that squares sharing an edge get different colours?
- How many integer triples (x, y, z) with x, y, z all non-zero satisfy |x| + |y| + |z| = 10?
- Twenty seats are arranged around a round table, numbered 1 to 20. In how many ways can 6 seats be chosen so that no two chosen seats are…
- On the set {1, 2, 3, 4}, how many binary relations are reflexive and symmetric but NOT transitive?
- Let f be a function from {1, 2, 3, 4, 5, 6} to {a, b, c, d}. How many onto (surjective) functions satisfy f(1) = a?
- The complete bipartite graph K(2,4) has two vertices on one side and four on the other, with every cross pair joined. How many distinct…