IMC 1999 · Problem 5

Day 220 points6th IMC · Keszthely, Hungary

Statement

Let SS be the set of all words consisting of the letters xx, yy, zz, and consider an equivalence relation ∼\sim on SS satisfying the following conditions: for arbitrary words u,v,w∈Su, v, w \in S

(i) uu∼uuu \sim u;

(ii) if v∼wv \sim w, then uv∼uwuv \sim uw and vu∼wuvu \sim wu.

Show that every word in SS is equivalent to a word of length at most 88.

Official solution

Hidden so you can work on the problem first.