Placement AptitudeVery hardCAT · Goldman Sachs OA

The four corners of a square are each painted one of 3 colours so that corners joined by a side get different colours (the square is fixed in place, so rotations count as different). In how many ways can this be done?

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

Correct answer: B. 18

For a cycle of 4 with k colours the count is (k − 1)⁴ + (k − 1) = 16 + 2 = 18. Treating it as a path (3 × 2 × 2 × 2 = 24) forgets that the last corner also touches the first.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic