exist at least 18^n passwords of length n
Source: P2 Francophone Math Olympiad Senior 2022
May 23, 2022
combinatorics
Problem Statement
To connect to the OFM site, Alice must choose a password. The latter must be consisting of characters among the following characters:
We say that a password is redundant if we can color in red and blue a block of consecutive letters of in such a way that the word formed from the red letters is identical to the word formed from blue letters. For example, the password is redundant, because it contains the [color=#00f]ZB[color=#f00]Z[color=#00f]J[color=#f00]BJ block, where the word appears in both blue and red. At otherwise, the password is not redundant.
Show that, for any integer , there exist at least passwords of length , that is to say formed of characters each, which are not redundant.