Springs are fired inXMO
Source: 16thXMO
June 22, 2024
contestscombinatorics
Problem Statement
Given an integer ,For a sequence of with the number of and with the number of , we call it a spring . We have two following rules
Choose four adjacent character , if it is , than it can be changed into
Choose. four adjacent character , if it is , than it can be changed into
If spring can become using the rules , than we call they are [color=#3D85C6]similar
Thy to find the maximum of such that there exists distinct springs and they are [color=#3D85C6]similar