Maths Olympiad Prep

Library / /487 of 520

Combinatorics Difficulty 7.7 National olympiad, round 2 Prove it

For n3n \geq 3 and a1a2ana_{1} \leq a_{2} \leq \ldots \leq a_{n} given real numbers we have the following instructions:

- place out the numbers in some order in a ring;
- delete one of the numbers from the ring;
- if just two numbers are remaining in the ring: let SS be the sum of these two numbers. Otherwise, if there are more the two numbers in the ring, replace

Afterwards start again with the step (2). Show that the largest sum SS which can result in this way is given by the formula

Smax=k=2n(n2[k2]1)ak.S_{max}= \sum^n_{k=2} \begin{pmatrix} n -2 \\ [\frac{k}{2}] - 1\end{pmatrix}a_{k}.

Solution

1. **Base Case: n=3 n = 3 **

For n=3 n = 3 , we have three numbers a1a2a3 a_1 \leq a_2 \leq a_3 . We can place them in a ring and delete one number. The remaining two numbers will be summed to give S S . The possible sums are a1+a2 a_1 + a_2 , a2+a3 a_2 + a_3 , and a3+a1 a_3 + a_1 . The largest sum is a2+a3 a_2 + a_3 , which matches the formula:
Smax=k=23(32k21)ak=(10)a2+(10)a3=a2+a3 S_{\text{max}} = \sum_{k=2}^3 \binom{3-2}{\left\lfloor \frac{k}{2} \right\rfloor - 1} a_k = \binom{1}{0} a_2 + \binom{1}{0} a_3 = a_2 + a_3

2. **Inductive Step: Assume the formula holds for n3 n \geq 3 **

Assume the formula holds for n n numbers. We need to show it holds for n+1 n+1 numbers.

3. **Constructing the Ring for n+1 n+1 Numbers**

Consider a1a2an+1 a_1 \leq a_2 \leq \ldots \leq a_{n+1} . Place these numbers in a ring. Delete a1 a_1 (the smallest number) first. The remaining numbers form a new ring with n n numbers.

4. Applying the Induction Hypothesis

By the induction hypothesis, the largest sum S S for the remaining n n numbers is:
Smax=k=2n+1(n1k121)ak S_{\text{max}} = \sum_{k=2}^{n+1} \binom{n-1}{\left\lfloor \frac{k-1}{2} \right\rfloor - 1} a_k

5. Optimality of the Sum

To prove this is optimal, consider the sums formed after deleting a1 a_1 . The sums ai+aj a_i + a_j in the new ring form a cycle graph on n n vertices. By the induction hypothesis, the sum of these pairs is at most:
k=1n(n2k21)ak \sum_{k=1}^{n} \binom{n-2}{\left\lfloor \frac{k}{2} \right\rfloor - 1} a_k

6. Using the Lemma

We use the lemma to compare the coefficients of ak a_k in the sums. Let xk=(n1k121) x_k = \binom{n-1}{\left\lfloor \frac{k-1}{2} \right\rfloor - 1} and yk y_k be the coefficient of ak a_k in the sum for n n numbers. We need to show:
i=2n+1xiaii=2n+1yiai \sum_{i=2}^{n+1} x_i a_i \geq \sum_{i=2}^{n+1} y_i a_i

7. Summing the Coefficients

The sum of the coefficients yi y_i is twice the sum of the binomial coefficients in the induction hypothesis. By the identity:
xk=(n1k121)=(n2k121)+(n2k321) x_k = \binom{n-1}{\left\lfloor \frac{k-1}{2} \right\rfloor - 1} = \binom{n-2}{\left\lfloor \frac{k-1}{2} \right\rfloor - 1} + \binom{n-2}{\left\lfloor \frac{k-3}{2} \right\rfloor - 1}
we get each coefficient twice, matching the sum of yi y_i .

8. Comparing the Sums

For 2kn+1 2 \leq k \leq n+1 , we need:
j=k+1n+1xjj=k+1n+1yj \sum_{j=k+1}^{n+1} x_j \geq \sum_{j=k+1}^{n+1} y_j
The right sum is a sum of pairs of binomial coefficients, each appearing at most twice. This sum is less than the maximal possible sum, ensuring:
j=k+1n+1yjj=k+1n+1xj \sum_{j=k+1}^{n+1} y_j \leq \sum_{j=k+1}^{n+1} x_j

9. Conclusion

By induction, the largest sum S S for n+1 n+1 numbers is given by:
Smax=k=2n+1(n1k121)ak S_{\text{max}} = \sum_{k=2}^{n+1} \binom{n-1}{\left\lfloor \frac{k-1}{2} \right\rfloor - 1} a_k
This completes the proof.

\blacksquare

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.