Problem

Source: Bulgarian Math Olympiad MO 2004, problem 4

Tags: invariant, induction, function, geometry, geometric transformation, group theory, combinatorics proposed



In a word formed with the letters $a,b$ we can change some blocks: $aba$ in $b$ and back, $bba$ in $a$ and backwards. If the initial word is $aaa\ldots ab$ where $a$ appears 2003 times can we reach the word $baaa\ldots a$, where $a$ appears 2003 times.