MathDB
Red and blue chips

Source: Benelux MO 2014 Problem 2

July 17, 2014
functionceiling functionalgorithmcombinatorics unsolvedcombinatorics

Problem Statement

Let k1k\ge 1 be a positive integer.
We consider 4k4k chips, 2k2k of which are red and 2k2k of which are blue. A sequence of those 4k4k chips can be transformed into another sequence by a so-called move, consisting of interchanging a number (possibly one) of consecutive red chips with an equal number of consecutive blue chips. For example, we can move from rbbbrrrbr\underline{bb}br\underline{rr}b to rrrbrbbbr\underline{rr}br\underline{bb}b where rr denotes a red chip and bb denotes a blue chip.
Determine the smallest number nn (as a function of kk) such that starting from any initial sequence of the 4k4k chips, we need at most nn moves to reach the state in which the first 2k2k chips are red.