MathDB
Swapping string consisting a,b,c

Source: IMO Shortlist 2017 C2

July 10, 2018
combinatoricsIMO ShortlistStringssortingdistanceExtremal combinatoricsradius

Problem Statement

Let nn be a positive integer. Define a chameleon to be any sequence of 3n3n letters, with exactly nn occurrences of each of the letters a,b,a, b, and cc. Define a swap to be the transposition of two adjacent letters in a chameleon. Prove that for any chameleon XX , there exists a chameleon YY such that XX cannot be changed to YY using fewer than 3n2/23n^2/2 swaps.