Mathematics (JEE)HardGATE CS

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

  1. A. 324
  2. B. 256
  3. C. 288
  4. D. 360

Correct answer: A. 324

The first vertex has 4 colours and each of the next four has 3: 4 × 3⁴ = 324. Option 256 is 4⁴ and ignores the adjacency restriction.

More Permutations, Combinations and Probability questions

Exams that ask this topic