Maths Olympiad Prep

Library / NMO Selection Tests /14 of 23

NMO Selection Tests

Combinatorics Difficulty 8.5 Shortlist Prove it Romania

A finite collection CC of (not necessarily distinct) real numbers is suitable if it contains two numbers aa and bb such that a+b≠s+1a+b \neq s+1, where ss is the sum of all numbers in CC; such numbers aa and bb form an eligible pair.

Fix an integer n≥2n \ge 2. A number of nn pairwise distinct real numbers are written on a board. A step consists in choosing an eligible pair (a,b)(a, b) amongst numbers on the board (if any), crossing them out and replacing them by the number
(a+b)(s+1)−a2−ab−b2s−a−b+1. \frac{(a+b)(s+1) - a^2 - ab - b^2}{s-a-b+1}.

a) Prove that there is a sequence of n−1n-1 steps such that at each stage the numbers on the board form a suitable collection; and

b) Determine the final number on the board in terms of the initial numbers.

Solution

a) Two real numbers (not necessarily distinct) always form a suitable collection. Let n≥3n \ge 3 and consider the initial collection. Note that any aa can be paired off with some b≠ab \neq a to form an eligible pair: Otherwise, a+b=s+1=a+ca+b=s+1=a+c for distinct b,c≠ab, c \neq a, so b=cb=c, contradicting the fact that the initial numbers are pairwise distinct. Hence the initial collection is suitable.

Choose an eligible pair a1,a2a_1, a_2 and use the formula to replace them by b1b_1. As the remaining numbers are pairwise distinct, there is at most one that cannot be paired with b1b_1 to form an eligible pair, so there are at least n−2n-2 candidates to form an eligible pair with b1b_1. Let a3a_3 be one such and use the formula to replace b1b_1 and a3a_3 by b2b_2. Repeat the argument to replace b2b_2 and some a4a_4 by b3b_3 and so on and so forth all the way down to some bn−2b_{n-2} and ana_n (possibly, bn−2=anb_{n-2} = a_n). These latter form an eligible pair, so they can be replaced by a single number.

b) Let c1,c2,…,cnc_1, c_2, \dots, c_n be the initial numbers. The final number is ∑ici+∑i<jcicj\sum_i c_i + \sum_{i<j} c_i c_j. This is clearly the case if n=2n=2, so let n≥3n \ge 3.

Consider a generic stage x1,x2,…,xmx_1, x_2, \dots, x_m and let s=x1+x2+⋯+xms = x_1 + x_2 + \dots + x_m. We will prove that s+∑1≤i<j≤mxixjs + \sum_{1 \le i < j \le m} x_i x_j does not change upon passing to the next stage. Let xx be the number obtained by replacing an eligible pair (xk,xℓ)(x_k, x_\ell). Then ss changes by x−xk−xℓx - x_k - x_\ell and the other sum changes by −xkxℓ−(xk+xℓ)(s−xk−xℓ)+x(s−xk−xℓ)-x_k x_\ell - (x_k + x_\ell)(s - x_k - x_\ell) + x(s - x_k - x_\ell), so the overall change is
x−xk−xℓ−xkxℓ−(xk+xℓ)(s−xk−xℓ)+x(s−xk−xℓ). x - x_k - x_\ell - x_k x_\ell - (x_k + x_\ell)(s - x_k - x_\ell) + x(s - x_k - x_\ell).
Finally, express xx in terms of ss, xkx_k and xℓx_\ell and carry out calculations to show that the overall change vanishes, whence the desired invariance.

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

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.