olymmath

BxMO 2014 Problem 2

  • Answer

Let k≥1k \geq 1 be an integer. We consider 4k4 k chips, 2k2 k of which are red and 2k2 k of which are blue. A sequence of those 4k4 k 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 rbbbr‾r‾b‾br \underline{b b b r} \underline{r} \underline{b} b to rr‾b‾bbbb‾br \underline{r} \underline{b} b \underline{b b b} 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 4k4 k chips, we need at most nn moves to reach the state in which the first 2k2 k chips are red.

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

k

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Locator benelux/2014/p2 · Tag 9SDB8GE5HC · Edit this page on GitHub · Keys: j next, k previous