GATE Computer ScienceVery hardGATE CS (PYQ pattern)

The wheel W₆ is a hub joined to every vertex of a 6-cycle (7 vertices, 12 edges). How many of its spanning trees have the hub of degree exactly 2?

  1. A. 105
  2. B. 90
  3. C. 112
  4. D. 15

Correct answer: A. 105

If the hub has degree 2, deleting it leaves two rim arcs, each containing exactly one hub neighbour. So delete 2 rim edges (splitting the cycle into arcs of sizes a and 6 − a) and pick one hub neighbour in each arc: a(6 − a) ways. Edge pairs give sizes (1,5) six times, (2,4) six times, (3,3) three times: 6·5 + 6·8 + 3·9 = 105.

More Discrete Mathematics questions

Exams that ask this topic