Let be an integer with . On a slope of a mountain, checkpoints are marked, numbered from 1 to from the bottom to the top. Each of two cable car companies, and , operates cable cars numbered from 1 to ; each cable car provides a transfer from some checkpoint to a higher one. For each company, and for any and with , the starting point of car is higher than the starting point of car ; similarly, the finishing point of car is higher than the finishing point of car . Say that two checkpoints are linked by some company if one can start from the lower checkpoint and reach the higher one by using one or more cars of that company (no movement on foot is allowed). Determine the smallest for which one can guarantee that there are two checkpoints that are linked by each of the two companies. (India) Answer: .
Problem 1098
Official solution
We start with showing that for any there may be no pair of checkpoints linked by both companies. Clearly, it suffices to provide such an example for . Let company connect the pairs of checkpoints of the form , where . Then all pairs of checkpoints linked by satisfy . Let company connect the pairs of the form , where . Then pairs of checkpoints linked by satisfy . Clearly, no pair satisfies both conditions, so there is no pair linked by both companies. Now we show that for there always exist two required checkpoints. Define an -chain as a sequence of checkpoints such that company connects with for all , but there is no -car transferring from some checkpoint to and no -car transferring from to any other checkpoint. Define -chains similarly. Moving forth and back, one easily sees that any checkpoint is included in a unique -chain (possibly consisting of that single checkpoint), as well as in a unique -chain. Now, put each checkpoint into a correspondence to the pair of the -chain and the -chain it belongs to. All finishing points of -cars are distinct, so there are checkpoints that are not such finishing points. Each of them is a starting point of a unique -chain, so the number of -chains is . Similarly, the number of -chains also equals . Hence, there are pairs consisting of an - and a -chain. Therefore, two of the checkpoints correspond to the same pair, so that they belong to the same -chain, as well as to the same -chain. This means that they are linked by both companies, as required. Comment 1. The condition that the car starts and finishes lower than the one is used only in the "moving forth and back" argument and in the counting of starting points of the chains. In both cases, the following weaker assumption suffices: No two cars of the same company start at the same checkpoint, and no two such cars finish at the same checkpoint. Thus, the problem conditions could be weakened in this way, with no affect on the solution. Comment 2. If the number of checkpoints were , then the answer would be . The solution above works verbatim for this generalization.