colored beads are placed on a necklace (circular ring) such that each bead is adjacent to two others. The beads are labeled
,
,
,
around the circle in order. Two beads
and
, where
and
are non-negative integers, satisfy
if and only if the color of
is the same as the color of
. Given that there exists no non-negative integer
and positive integer
such that
, where all subscripts are taken
, find the minimum number of different colors of beads on the necklace.