GATE Computer ScienceVery hardGATE CS (PYQ pattern)
The prism graph C₆ × K₂ consists of two 6-cycles u₀…u₅ and v₀…v₅ with rungs uᵢvᵢ (12 vertices, 18 edges). How many perfect matchings does it have?
- A. 18
- B. 20
- C. 13
- D. 9
Correct answer: B. 20
Classify by the rungs used. No rung: each 6-cycle takes one of its 2 perfect matchings, 4 ways. Otherwise, between two consecutive used rungs the two cycle segments must be matched along the cycles, which works (uniquely) iff the gap is even, i.e. consecutive used rung positions differ by an odd amount. With k used rungs the k odd gaps sum to 6, so k is even: k = 2 gives 9 pairs, k = 4 gives 6 sets, k = 6 gives 1. Total 4 + 9 + 6 + 1 = 20.
More Discrete Mathematics questions
- Two corner squares on the SAME side of a 4 × 4 board, say (1,1) and (1,4), are removed. How many domino tilings does the remaining…
- The Petersen graph has 6 perfect matchings. How many of them contain a particular fixed edge e?
- How many distinct Hamiltonian cycles of K₄,₄ (as edge sets) contain a particular fixed edge?
- How many Hamiltonian paths of the cube graph Q₃ start at a fixed vertex v (paths are counted as sequences beginning at v)?
- For how many pairs (m, n) with 1 ≤ m ≤ n ≤ 8 does the complete bipartite graph K{m,n} have an Euler trail (open or closed) that uses every…
- What is the least number of edges that must be deleted from K₅,₇ so that the remaining graph is connected with every vertex of even degree?