MathDB
Make the word repetitive

Source: 2012 European Girls’ Mathematical Olympiad P8

April 13, 2012
modular arithmeticcombinatoricsEGMOEGMO 2012complex numbers

Problem Statement

A word is a finite sequence of letters from some alphabet. A word is repetitive if it is a concatenation of at least two identical subwords (for example, abababababab and abcabcabcabc are repetitive, but ababaababa and aabbaabb are not). Prove that if a word has the property that swapping any two adjacent letters makes the word repetitive, then all its letters are identical. (Note that one may swap two adjacent identical letters, leaving a word unchanged.)
Romania (Dan Schwarz)