MathDB
f (m, u) - f(2i-m+1,u) = f (m,u-1) - f (2u - m+1, u-1), 2letter alphabet

Source: Ukraine TST 2012 p5

April 29, 2020
Combinatorics of wordscombinatorics

Problem Statement

There are only two letters in the Mumu tribe alphabet: M and UU. The word in the Mumu language is any sequence of letters MM and UU, in which next to each letter MM there is a letter UU (for example, UUUUUU and UMMUMUMMUM are words and MMUMMU is not). Let f(m,u)f(m,u) denote the number of words in the Mumu language which have mm times the letter MM and uu times the letter UU. Prove that f(m,u)f(2um+1,u)=f(m,u1)f(2um+1,u1)f (m, u) - f (2u - m + 1, u) = f (m, u - 1) - f (2u - m + 1, u - 1) for any u2,3m2uu \ge 2,3 \le m \le 2u.