GATE Computer ScienceVery hardGATE CS (PYQ pattern)

How many spanning trees does the wheel graph W₅ have (a hub joined to every vertex of a 5-cycle: 6 vertices, 10 edges)?

  1. A. 96
  2. B. 121
  3. C. 125
  4. D. 144

Correct answer: B. 121

By the matrix-tree theorem, τ(W_n) = L(2n) − 2 where L is the Lucas sequence; for n = 5, L₁₀ = 123, so τ = 121. Direct determinant evaluation of a reduced Laplacian agrees.

More Algorithms questions

Exams that ask this topic