GATE Computer ScienceVery hardGATE CS

A necklace has 8 beads, each coloured with one of 3 colours so that adjacent beads (including the last and first) have different colours. Two necklaces are the same if one is a rotation of the other (reflections are NOT allowed). How many different necklaces exist?

  1. A. 36
  2. B. 30
  3. C. 33
  4. D. 32

Correct answer: A. 36

The number of proper colourings of the 8-cycle is 2⁸ + 2 = 258. By Burnside over the 8 rotations: the identity fixes 258, rotations by 1, 3, 5, 7 fix none (a period-1 colouring is not proper), rotations by 2 and 6 fix the 6 proper period-2 colourings each, and the rotation by 4 fixes the 18 proper period-4 colourings. The number of orbits is (258 + 0 + 6 + 6 + 18)/8 = 288/8 = 36, whereas 258/8 ≈ 32 is wrong.

More Discrete Mathematics questions

Exams that ask this topic