MathDB
Words and equivalence

Source: OBM 2017

March 20, 2023
Combinatorics of wordscombinatoricsmath olympiad

Problem Statement

Let's consider words over the alphabet {a,b}\{a,b\} to be sequences of aa and bb with finite length. We say uvu \leq v if uu is a subword of vv if we can get uu erasing some letter of vv (for example abaabbababa \leq abbab). We say that uu differentiates the words xx and yy if uxu \leq x but u≰yu \not\leq y or vice versa.
Let mm and ll be positive integers. We say that two words are mm-equivalents if there does not exist some uu with length smaller than mm that differentiates xx and yy.
a) Show that, if 2ml2m \leq l, there exists two distinct words with length ll \ mm-equivalents. b) Show that, if 2m>l2m > l, any two distinct words with length ll aren't mm-equivalent.