MathDB
2023 Combinatorics #3

Source:

April 17, 2023

Problem Statement

Richard starts with the string HHMMMMTTHHMMMMTT. A move consists of replacing an instance of HMHM with MHMH, replacing an instance of MTMT with TMTM, or replacing an instance of THTH with HTHT. Compute the number of possible strings he can end up with after performing zero or more moves.