Maths Olympiad Prep

Library / China Team Selection Test /79 of 92

China Team Selection Test

Combinatorics Difficulty 8.6 Shortlist Find the answer

Let SS be the set of 1010-tuples of non-negative integers that have sum 20192019. For any tuple in SS, if one of the numbers in the tuple is ≥9\geq 9, then we can subtract 99 from it, and add 11 to the remaining numbers in the tuple. Call thus one operation. If for A,B∈SA,B\in S we can get from AA to BB in finitely many operations, then denote A→BA\rightarrow B.

(1) Find the smallest integer kk, such that if the minimum number in A,B∈SA,B\in S respectively are both ≥k\geq k, then A→BA\rightarrow B implies B→AB\rightarrow A.

(2) For the kk obtained in (1), how many tuples can we pick from SS, such that any two of these tuples A,BA,B that are distinct, A↛BA\not\rightarrow B.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

### Part 1:
We need to find the smallest integer k k such that if the minimum number in A,B∈S A, B \in S are both ≥k\geq k, then A→B A \rightarrow B implies B→A B \rightarrow A .

We claim that the smallest integer k k is 8 8 .

Proof:

1. **k≤7 k \leq 7 does not satisfy the condition:**

Consider the counterexample A=(1956,7,7,7,7,7,7,7,7,7) A = (1956, 7, 7, 7, 7, 7, 7, 7, 7, 7) and B=(1938,9,9,9,9,9,9,9,9,9) B = (1938, 9, 9, 9, 9, 9, 9, 9, 9, 9) . It is clear that A→B A \rightarrow B . However, B↛A B \not\rightarrow A because each of the entries from the 2nd to the 10th in B B must be subtracted by 9 at least once. After the last subtraction, the remaining entries should be greater than or equal to 8, which contradicts the condition.

2. **k=8 k = 8 does satisfy the condition:**

Denote the numbers in the i i -th entry as xi x_i . For any i i and j j , xi−xjmod  10 x_i - x_j \mod 10 is conserved. Assume 8≤a1≤a2≤⋯≤a10 8 \leq a_1 \leq a_2 \leq \cdots \leq a_{10} for A A . We need to show that for each i i , we can operate on B B so that x1−a1=x2−a2=⋯=xi−ai x_1 - a_1 = x_2 - a_2 = \cdots = x_i - a_i .

We prove this by induction on i i . The base case is trivial. Suppose x1−a1=x2−a2=⋯=xi−ai x_1 - a_1 = x_2 - a_2 = \cdots = x_i - a_i . Since xi−xjmod  10 x_i - x_j \mod 10 is conserved and A→B A \rightarrow B , xi−aimod  10 x_i - a_i \mod 10 should be equal for all i i . Repeat operations on x1,x2,⋯ ,xi+1 x_1, x_2, \cdots, x_{i+1} equal times so that x1 x_1 or xi+1≤8 x_{i+1} \leq 8 . If xi+1−ai+1<xi−ai x_{i+1} - a_{i+1} < x_i - a_i , let t=(xi−ai)−(xi+1−ai+1)10 t = \frac{(x_i - a_i) - (x_{i+1} - a_{i+1})}{10} . After some calculations, we can subtract 9 from all xj(j≠i+1) x_j (j \neq i+1) t t times, including necessary operations subtracting 9 from xj(j≥i+2) x_j (j \geq i+2) , while not subtracting 9 from xi+1 x_{i+1} . If xi+1−ai+1>xi−ai x_{i+1} - a_{i+1} > x_i - a_i , proceed similarly.

Thus, the smallest k k is 8 8 .

### Part 2:
For the k k obtained in Part 1, we need to find how many tuples can be picked from S S such that any two distinct tuples A,B A, B satisfy A↛B A \not\rightarrow B .

We have practically shown that A→B A \rightarrow B is equivalent to a1−b1≡a2−b2≡⋯≡a10−b10(mod10) a_1 - b_1 \equiv a_2 - b_2 \equiv \cdots \equiv a_{10} - b_{10} \pmod{10} . We need to count the number of tuples that cannot be derived from each other, ensuring x1+x2+⋯+x10=2019≡9(mod10) x_1 + x_2 + \cdots + x_{10} = 2019 \equiv 9 \pmod{10} .

The number of such tuples is 108 10^8 .

The answer is: 108.\boxed{10^8}.

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: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.