Mathematics (JEE)HardGATE CS

A path has 4 vertices, and each vertex is coloured with one of 3 colours so that adjacent vertices have different colours. How many colourings are possible?

  1. A. 18
  2. B. 12
  3. C. 24
  4. D. 36

Correct answer: C. 24

Colour the first vertex in 3 ways and each of the next three in 2 ways (different from the previous): 3 × 2³ = 24. Option 18 is 3 × 2 × 3.

More Permutations, Combinations and Probability questions

Exams that ask this topic