GATE Computer ScienceVery hardGATE CS (PYQ pattern)

In how many ways can a 2 × 6 board of unit squares be coloured with 3 colours so that squares sharing an edge get different colours?

  1. A. 1458
  2. B. 972
  3. C. 1296
  4. D. 1944

Correct answer: A. 1458

Each column is an ordered pair of distinct colours (6 choices); a column can follow another in 3 ways, so 6 · 3⁵ = 1458.

More Discrete Mathematics questions

Exams that ask this topic