Maths Olympiad Prep

Library / /13 of 32

Algebra Difficulty 5.6 AIME, harder Prove it Romania

a) Find the largest possible value of the number
x1x2+x2x3++xn1xn, x_1x_2 + x_2x_3 + \dots + x_{n-1}x_n,
if x1,x2,,xnx_1, x_2, \dots, x_n (n2n \ge 2) are non-negative integers and their sum is 20112011.

b) Find the numbers x1,x2,,xnx_1, x_2, \dots, x_n for which the maximum value determined at a) is obtained.

Solution

a.
Let x1,x2,,xnx_1, x_2, \dots, x_n be non-negative integers satisfying the conditions from the statement. We put M=max1inxiM = \max_{1 \le i \le n} x_i. If xj=Mx_j = M then
x1x2+x2x3++xn1xnx1xj+x2xj++xj1xj+xjxj+1+xjxj+2++xjxn=xj(2011xj)=M(2011M)10051006. x_1x_2 + x_2x_3 + \dots + x_{n-1}x_n \le x_1x_j + x_2x_j + \dots + x_{j-1}x_j + x_jx_{j+1} + x_jx_{j+2} + \dots + x_jx_n = x_j(2011-x_j) = M(2011-M) \le 1005 \cdot 1006.
Indeed, the last inequality comes to (M1005)(M1006)0(M-1005)(M-1006) \ge 0 which is true for any integer MM. The largest possible value is 100510061005 \cdot 1006 because this value can be obtained by choosing, for example, x1=1005x_1 = 1005, x2=1006x_2 = 1006 and xk=0x_k = 0 for k3k \ge 3.

b.
For n=2n=2 we have x1x2=10051006x1(2011x1)=10051006(x11005)(x1+1006)=0(x1,x2){(1005,1006),(1006,1005)}x_1x_2 = 1005 \cdot 1006 \Leftrightarrow x_1(2011-x_1) = 1005 \cdot 1006 \Leftrightarrow (x_1-1005)(x_1+1006) = 0 \Leftrightarrow (x_1,x_2) \in \{(1005, 1006), (1006, 1005)\}.

For n=3n=3, x1x2+x2x3=10051006x2(x1+x3)=10051006x_1x_2 + x_2x_3 = 1005 \cdot 1006 \Leftrightarrow x_2(x_1+x_3) = 1005 \cdot 1006 comes, as above, to x2=1005x_2 = 1005, x1+x3=1006x_1+x_3 = 1006 or x2=1006x_2 = 1006, x1+x3=1005x_1+x_3 = 1005. We obtain (x1,x2,x3){(k,1005,1006k)k=0,1,,1006}{(k,1006,1005k)k=0,1,,1005}(x_1, x_2, x_3) \in \{(k, 1005, 1006-k) \mid k = 0, 1, \dots, 1006\} \cup \{(k, 1006, 1005-k) \mid k = 0, 1, \dots, 1005\}.

For n4n \ge 4, we denote by jj the smallest index for which xj>0x_j > 0. Then, replacing xjx_j by 00 and xj+2x_{j+2} by xj+2+xjx_{j+2} + x_j, increases the value of the sum by xjxj+3x_jx_{j+3}. Using this remark it is easy to see that if x1x2+x2x3++xn1xn=10051006x_1x_2 + x_2x_3 + \dots + x_{n-1}x_n = 1005 \cdot 1006, then at most three of the terms can be non-zero. We obtain (x1,,xn){(0,,0,k,1005,1006k,0,,0)k=0,1,,1006}{(0,,0,k,1006,1005k,0,,0)k=0,1,,1005}(x_1, \dots, x_n) \in \{(0, \dots, 0, k, 1005, 1006-k, 0, \dots, 0) \mid k = 0, 1, \dots, 1006\} \cup \{(0, \dots, 0, k, 1006, 1005-k, 0, \dots, 0) \mid k = 0, 1, \dots, 1005\}, where the group of the three non-zero components can be located anywhere.

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: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.