Maths Olympiad Prep

Library / /21 of 38

Number theory Difficulty 6.8 National olympiad Prove it China

Find the smallest positive integer n9n \ge 9 satisfying that for any group of integers a1,a2,,ana_1, a_2, \dots, a_n, there always exist ai1,ai2,,ai9a_{i_1}, a_{i_2}, \dots, a_{i_9} (1i1<i2<<i9n1 \le i_1 < i_2 < \dots < i_9 \le n) and bi{4,7}b_i \in \{4, 7\} (i=1,2,,9i = 1, 2, \dots, 9) such that b1ai1+b2ai2++b9ai9b_1 a_{i_1} + b_2 a_{i_2} + \dots + b_9 a_{i_9} is a multiple of 9.

Solution

Let a1=a2=1a_1 = a_2 = 1, a3=a4=3a_3 = a_4 = 3, a5==a12=0a_5 = \dots = a_{12} = 0.
It is easy to check that any 9 integers of them will not meet the requirement. So n13n \ge 13. We will prove that n=13n = 13.

We only need to prove the following statement:
Given a group of mm integers a1,a2,,ama_1, a_2, \dots, a_m, if there are not three ai1,ai2,ai3a_{i_1}, a_{i_2}, a_{i_3} in them and b1,b2,b3{4,7}b_1, b_2, b_3 \in \{4, 7\} such that b1ai1+b2ai2+b3ai30(mod9)b_1 a_{i_1} + b_2 a_{i_2} + b_3 a_{i_3} \equiv 0 \pmod{9}, then either m6m \le 6 or 7m87 \le m \le 8 and there are ai1,ai2,,ai6a_{i_1}, a_{i_2}, \dots, a_{i_6} in a1,a2,,ama_1, a_2, \dots, a_m and b1,b2,,b6{4,7}b_1, b_2, \dots, b_6 \in \{4, 7\} such that 9b1ai1+b2ai2++b6ai69 \mid b_1 a_{i_1} + b_2 a_{i_2} + \dots + b_6 a_{i_6}.

We define
A1={i1im,9ai}, A_1 = \{i \mid 1 \le i \le m, 9 \mid a_i\},
A2={i1im,ai3(mod9)}, A_2 = \{i \mid 1 \le i \le m, a_i \equiv 3 \pmod{9}\},
A3={i1im,ai6(mod9)}, A_3 = \{i \mid 1 \le i \le m, a_i \equiv 6 \pmod{9}\},
A4={i1im,ai1(mod3)}, A_4 = \{i \mid 1 \le i \le m, a_i \equiv 1 \pmod{3}\},
A5={i1im,ai2(mod3)}. A_5 = \{i \mid 1 \le i \le m, a_i \equiv 2 \pmod{3}\}.
Then A1+A2+A3+A4+A5=m|A_1| + |A_2| + |A_3| + |A_4| + |A_5| = m and

(1) if iA2,jA3i \in A_2, j \in A_3 then 94ai+4aj9 \mid 4a_i + 4a_j;

(2) if iA4,jA5i \in A_4, j \in A_5 then one of 4ai+4aj,4ai+7aj4a_i + 4a_j, 4a_i + 7a_j and 7ai+4aj7a_i + 4a_j is a multiple of 9 as all of them are divisible by 3 and they are distinct according to mod 9;

(3) if either i,j,kA2i, j, k \in A_2 or i,j,kA3i, j, k \in A_3 then 94ai+4aj+4ak9 \mid 4a_i + 4a_j + 4a_k;

(4) if either i,j,kA4i, j, k \in A_4 or i,j,kA5i, j, k \in A_5 then one of 4ai+4aj+4ak,4ai+4aj+7ak4a_i + 4a_j + 4a_k, 4a_i + 4a_j + 7a_k and 4ai+7aj+7ak4a_i + 7a_j + 7a_k is a multiple of 9 as all of them are divisible by 3 and they are distinctive according to mod 9.

By the assumption, we have Ai2|A_i| \le 2 (1i51 \le i \le 5).

If A11|A_1| \ge 1, then A2+A32|A_2| + |A_3| \le 2, A4+A52|A_4| + |A_5| \le 2. Hence
m=A1+A2+A3+A4+A56. m = |A_1| + |A_2| + |A_3| + |A_4| + |A_5| \le 6.
Now assume A1=0|A_1| = 0 and m7m \ge 7. Then
7m=A1+A2+A3+A4+A58. 7 \le m = |A_1| + |A_2| + |A_3| + |A_4| + |A_5| \le 8.
Further,
min{A2,A3}+min{A4,A5}3. \min\{|A_2|, |A_3|\} + \min\{|A_4|, |A_5|\} \ge 3.
From (1) and (2) we know there exist i1,i2,,i6A2A3A4A5i_1, i_2, \dots, i_6 \in A_2 \cup A_3 \cup A_4 \cup A_5 (i1<i2<<i6i_1 < i_2 < \dots < i_6) and b1,b2,,b6{4,7}b_1, b_2, \dots, b_6 \in \{4, 7\} such that 9b1ai1+b2ai2++b6ai69 \mid b_1a_{i_1} + b_2a_{i_2} + \dots + b_6a_{i_6}.
The proof of statement is complete.

Now, when n13n \ge 13 it is easy to verify with the statement, for any group of integers a1,a2,,ana_1, a_2, \dots, a_n, there always exist ai1,ai2,,ai9a_{i_1}, a_{i_2}, \dots, a_{i_9} (1i1<i2<<i9n1 \le i_1 < i_2 < \dots < i_9 \le n) and bi{4,7}b_i \in \{4, 7\} (i=1,2,,9i = 1, 2, \dots, 9) such that b1ai1+b2ai2++b9ai9b_1a_{i_1} + b_2a_{i_2} + \dots + b_9a_{i_9} is a multiple of 9. That completes the proof.

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.