MathDB
Problems
Contests
National and Regional Contests
Thailand Contests
Thailand Online MO
2022 Thailand Online MO
4
4
Part of
2022 Thailand Online MO
Problems
(1)
Remove 1011 signs from 2022 signs and the remaning can be any color
Source: 2022 Thailand Online MO P4
4/4/2022
There are
2022
2022
2022
signs arranged in a straight line. Mark tasks Auto to color each sign with either red or blue with the following condition: for any given sequence of length
1011
1011
1011
whose each term is either red or blue, Auto can always remove
1011
1011
1011
signs from the line so that the remaining
1011
1011
1011
signs match the given color sequence without changing the order. Determine the number of ways Auto can color the signs to satisfy Mark's condition.
combinatorics