Question 7
Combinatorics BDMO 2022 National
Sabbir noticed one day that everyone in the city of has a distinct word of length 10, where each letter is either or . Sabbir saw that two citizens are friends if one of their words can be altered a few times using a special rule and transformed into the other ones word. The rule is, if somewhere in the word is located consecutively, then these letters can be changed to - or if is located somewhere in the word consecutively, then these letters can be changed to (If wanted, the word can even be kept as it is, without making this change). For example: can be transformed into (The opposite is also possible). Now Sabbir made a team of citizens where no one is friends with anyone. What is the highest value of ?