2021 chips of each of 2021 colors
Source: Spain Mathematical Olympiad 2021 P3
May 10, 2021
combinatoricsSpainParity
Problem Statement
We have colors and chips of each color. We place the chips in a row. We say that a chip is bad if there is an odd number of chips that have a different color to both to the left and to the right of .(a) Determine the minimum possible number of bad chips.(b) If we impose the additional condition that each chip must have at least one adjacent chip of the same color, determine the minimum possible number of bad chips.