Mathematics (JEE)ModerateGATE CS

A path of 5 vertices is coloured with 3 colours so that adjacent vertices get different colours. How many colourings are possible?

  1. A. 48
  2. B. 36
  3. C. 54
  4. D. 96

Correct answer: A. 48

Colour the first vertex in 3 ways and each of the next 4 in 2 ways (different from the previous vertex): 3 × 2⁴ = 48. Option 96 is 3 × 2⁵, one vertex too many.

More Permutations, Combinations and Probability questions

Exams that ask this topic