Maths Olympiad Prep

Library / /33 of 40

Number theory Difficulty 6.8 National olympiad Prove it China

Given positive integers m,n2m, n \ge 2, first select two different ai,aja_i, a_j (j>ij > i) in the integer set A={a1,a2,,an}A = \{a_1, a_2, \dots, a_n\} and take the difference ajaia_j - a_i. Then arrange the (n2)\binom{n}{2} differences in ascending order to form a new sequence, which we call 'derived sequence' and is denoted by Aˉ\bar{A}. The number of elements in Aˉ\bar{A} that can be divided by mm is denoted by Aˉ(m)\bar{A}(m). Prove that for any m2m \ge 2, the corresponding derived sequences Aˉ\bar{A} and Bˉ\bar{B}, with regard to A={a1,a2,,an}A = \{a_1, a_2, \dots, a_n\} and B={1,2,,n}B = \{1, 2, \dots, n\}, satisfy the inequality Aˉ(m)Bˉ(m)\bar{A}(m) \ge \bar{B}(m).

Solution

Proof For any integer m2m \ge 2, if the remainder of xx divided by mm is ii, i{0,1,,m1}i \in \{0, 1, \dots, m-1\}, then xx belongs to the residue class modulus mm, KiK_i.
Suppose in the set A={a1,a2,,an}A = \{a_1, a_2, \dots, a_n\}, the number of elements that belong to KiK_i is nin_i (i=0,1,2,,m1i = 0, 1, 2, \dots, m-1), while in the set B={1,2,,n}B = \{1, 2, \dots, n\}, the number of elements that belong to KiK_i is nin'_i (i=0,1,2,,m1i = 0, 1, 2, \dots, m-1), then
i=0m1ni=i=0m1ni=n.1 \sum_{i=0}^{m-1} n_i = \sum_{i=0}^{m-1} n'_i = n. \qquad \textcircled{1}
It is obvious that for every i,ji, j, ninj1|n_i' - n_j'| \le 1, and xyx-y is a multiple of mm if and only if x,yx, y belong to the same residue class. As to any two elements ai,aja_i, a_j in KiK_i, we have majaim \mid a_j - a_i.
Hence, the nin_i elements in KiK_i form (ni2)\binom{n_i}{2} multiples of mm.
Considering all the ii, we obtain
Aˉ(m)=i=0m1(ni2). \bar{A}(m) = \sum_{i=0}^{m-1} \binom{n_i}{2}.
Similarly,
Bˉ(m)=i=0m1(ni2). \bar{B}(m) = \sum_{i=0}^{m-1} \binom{n_i'}{2}.
Hence, to solve the problem, we just need to prove that
i=0m1(ni2)i=0m1(ni2),and it can be simplified to \sum_{i=0}^{m-1} \binom{n_i}{2} \ge \sum_{i=0}^{m-1} \binom{n_i'}{2}, \quad \text{and it can be simplified to}
i=0m1ni2i=0m1ni2.2 \sum_{i=0}^{m-1} n_i^2 \ge \sum_{i=0}^{m-1} n_i'^2. \qquad \textcircled{2}
From ①, if for every i,ji, j, ninj1|n_i - n_j| \le 1, then n0,n1,,nm1n_0, n_1, \dots, n_{m-1} and n0,n1,,nm1n'_0, n'_1, \dots, n'_{m-1} must be the same group (in spite of the different order), and equality holds in ②. Otherwise, if there exist i,ji, j, such that ninj2n_i - n_j \ge 2, then we should just change the two elements ni,njn_i, n_j for nˉi,nˉj\bar{n}_i, \bar{n}_j respectively, where nˉi=ni1\bar{n}_i = n_i - 1, nˉj=nj+1\bar{n}_j = n_j + 1, and ni+nj=nˉi+nˉjn_i + n_j = \bar{n}_i + \bar{n}_j. Since
(ni2+nj2)(nˉi2+nˉj2)=2(ninj1)>0, (n_i^2 + n_j^2) - (\bar{n}_i^2 + \bar{n}_j^2) = 2(n_i - n_j - 1) > 0,
the sum of the left side in ② will decrease after adjustment. Therefore, the minimum value of ② is attained if and only if n0,n1,,nm1n_0, n_1, \cdots, n_{m-1} and n0,n1,,nm1n'_0, n'_1, \cdots, n'_{m-1} are the same group (in spite of the different order), that is, the inequality ② holds.

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.