Skip to main content
OlympiadHQ

Browse · MathNet

Print

Mathematical Olympiad Rioplatense

Argentina counting and probability

Problem

Let be a positive integer. We call smooth a sequence of integers , with , if there exists an integer , with , such that . Furthermore a sequence is universal if each of the sequences obtained through replacing by is smooth. For each find a universal sequence of minimum length.
Solution
The minimum length in question is .

Delete the last term of a given universal sequence and consider the shortened sequence . For each the hypothesis implies that starts with a block , followed by a term which we called distinguished, and ends with a block identical with . Choose the blocks to be shortest possible; they are uniquely determined and different. By relabeling if necessary one may ensure . (Under this assumption starts with a and the shortest block is empty: .)

We claim that block does not contain the distinguished . Otherwise and have a common part , possibly empty; clearly . Now starts with and ends with . Since and are identical, starts with and ends with . But then contradicts the minimum choice of . So the distinguished is not in . Consequently the length of satisfies .

A similar argument applies to blocks and and shows that . Indeed starts with , which is followed by the distinguished , and ends with . Since and are identical, ends with a block identical to and . Now we show that does not contain the distinguished ; this will ensure .

Suppose on the contrary that the distinguished is in . Then and have a common part , possibly empty, where . Now starts with and ends with . Since , and are identical, starts with and ends with ; but then contradicts the minimum choice of . The claimed follows.

By the same reasoning for all . Combined with this leads to . Hence the initial universal sequence has length .

On the other hand for each there are universal sequences with terms in and length . If set (the length is ). Suppose that is a universal sequence with terms in and length . Write in front of every term of . The obtained sequence has terms in and length . In addition is universal. Indeed replacing the final by yields a smooth sequence (starting and ending with ). Replace the final by ; let be the new sequence. Suppose that the final in is also replaced by . Then the resulting sequence would start and end with a block with . By the definition of then starts and ends with , meaning that it is smooth. This completes the inductive construction and the proof.
Final answer
2^n

Techniques

Recursion, bijectionInduction / smoothingColoring schemes, extremal arguments