MathDB
strings of length 6 composed of three characters a, b, c

Source: KJMO 2007 p3

May 2, 2019
combinatoricsCombinatorics of wordscountingpermutations

Problem Statement

Consider the string of length 66 composed of three characters a,b,ca, b, c. For each string, if two aas are next to each other, or two bbs are next to each other, then replace aaaa by bb, and replace bbbb by aa. Also, if aa and bb are next to each other, or two ccs are next to each other, remove all two of them (i.e. delete ab,ba,ccab, ba, cc). Determine the number of strings that can be reduced to cc, the string of length 11, by the reducing processes mentioned above.