Maths Olympiad Prep

Library / /7 of 31

Combinatorics Difficulty 8.0 Shortlist Prove it Baltic Way

Let a1,a2,,a100a_1, a_2, \dots, a_{100} be a permutation of numbers 1,2,,1001, 2, \dots, 100. Denote by NN the number of different values of the sums
i=uvai,where1uv100. \sum_{i=u}^{v} a_i, \quad \text{where} \quad 1 \le u \le v \le 100.
Is it possible that N2500N \ge 2500?

Solution

Answer: yes.
For example consider a permutation 1,100,2,99,3,98,1, 100, 2, 99, 3, 98, \ldots For odd ii we have ai+ai+1=101a_i + a_{i+1} = 101. It is not difficult to check that if uu and vv have the same parity (and therefore the number of summands is odd) then for all choices of uu and v=u+2v = u + 2\ell all the sums
i=2k12k1+2ai=101+a2k1+2,i=2k2k+2ai=101+a2k \sum_{i=2k-1}^{2k-1+2\ell} a_i = 101\ell + a_{2k-1+2\ell}, \quad \sum_{i=2k}^{2k+2\ell} a_i = 101\ell + a_{2k}
are different! Therefore the total number of different values is at least 5150=2550>250051 \cdot 50 = 2550 > 2500.

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 and solution reproduced as published; topic and difficulty added by this site.