GATE Computer ScienceVery hardGATE CS (PYQ pattern)

The wheel graph W5 consists of a hub joined to every vertex of a 5-cycle. In how many ways can its 6 vertices be properly coloured using 4 available colours?

  1. A. 96
  2. B. 144
  3. C. 240
  4. D. 120

Correct answer: D. 120

Colour the hub in 4 ways; the rim must then be properly coloured with the 3 remaining colours. P(C5, 3) = (3−1)^5 + (−1)^5 (3−1) = 30, so the total is 4 × 30 = 120.

More Discrete Mathematics questions

Exams that ask this topic