|
Problem 4. For a sequence a1 < a2 < · · · < an of integers, a pair ( ai, aj ) with 1 ≤ i < j ≤ n is called interesting if there exists a pair ( ak, aℓ ) of integers with 1 ≤ k < ℓ ≤ n such that For each n ≥ 3, find the largest possible number of interesting pairs in a sequence of length n . Solution We show that the answer is $\binom{n-1}{2}+1$. To see that this is optimal, we set $a_1 = 0$ and $a_i = 2^{i-2}$ for $i \geq 2$ and observe that every pair $(i, j)$ is interesting so long as $j < n$, except for $(n-1, n)$. There are exactly $\binom{n-1}{2} + 1$ such pairs, so we have the construction. |
