Question 6
Combinatorics BDMO 2024 Regional · Kushtia
Chingku has made a machine, where an English word (not necessarily meaningful) is given as input, placing the numbers that each letter represents sequentially one after another comes as output. For example, if “abc” is the input, then output is 123. If the input is “dydx”, then output is 425424. How many words can Chingku possibly give as input if the output is to be 212121?