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?

  1. A. 18
  2. B. 20
  3. C. 13
  4. 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

Exams that ask this topic