Maths Olympiad Prep

Library / China Western Mathematical Olympiad /44 of 51

China Western Mathematical Olympiad

Combinatorics Difficulty 7.1 National Olympiad, round 2 Prove it China

Let n≥2n \ge 2 be a given integer.
(1) Prove that one can arrange all the subsets of the set {1,2,…,n}\{1, 2, \dots, n\} as a sequence of subsets A1,A2,…,A2nA_1, A_2, \dots, A_{2^n}, such that ∣Ai+1∣=∣Ai∣+1|A_{i+1}| = |A_i| + 1 or ∣Ai∣−1|A_i| - 1, where i=1,2,…,2ni = 1, 2, \dots, 2^n and A2n+1=A1A_{2^n+1} = A_1.
(2) Determine, with proof, all possible values of the sum ∑i=12n(−1)iS(Ai)\sum_{i=1}^{2^n} (-1)^i S(A_i), where S(Ai)=∑x∈AixS(A_i) = \sum_{x \in A_i} x and S(∅)=0S(\emptyset) = 0, for any subset sequence A1,A2,…,A2nA_1, A_2, \dots, A_{2^n} satisfying the condition in (1). (posed by Liang Yingde)

Solution

(1) We prove by mathematical induction that there exists a sequence A1,A2,…,A2nA_1, A_2, \dots, A_{2^n} such that A1={1},A2n=∅A_1 = \{1\}, A_{2^n} = \emptyset and satisfies the condition in (1).
When n=2n = 2, the sequence {1},{1,2},{2},∅\{1\}, \{1, 2\}, \{2\}, \emptyset of {1,2}\{1, 2\} works.
Assume that when n=kn = k, there exists such a sequence B1,B2,…,B2kB_1, B_2, \dots, B_{2^k} of subsets of {1,2,…,k}\{1, 2, \dots, k\}. As for n=k+1n = k + 1, one can construct a sequence of subsets of {1,2,…,k+1}\{1, 2, \dots, k + 1\}, as follows:
A1=B1={1},Ai=Bi−1∪{k+1},i=2,3,…,2k+1,Aj=Bj−2k,j=2k+2,2k+3,…,2k+1. \begin{align*} A_1 &= B_1 = \{1\}, \\ A_i &= B_{i-1} \cup \{k+1\}, \quad i = 2, 3, \dots, 2^k + 1, \\ A_j &= B_{j-2^k}, \quad j = 2^k + 2, 2^k + 3, \dots, 2^{k+1}. \end{align*}
One can easily check that the sequence fulfills the required conditions stated above. By induction we have proved (1) for n≥2n \ge 2.

(2) We will show that the sum is 00, independent of the arrangement. Without loss of generality, we may assume that A1={1}A_1 = \{1\}, otherwise shift the index cyclically. It follows from ∣Ai+1∣=∣Ai∣+1|A_{i+1}| = |A_i|+1 or ∣Ai∣−1|A_i|-1 that their parities are different, and hence the parities of the index label of any subset and its cardinality are the same.
It follows that ∑i=12n(−1)iS(Ai)=∑A∈PS(A)−∑A∈QS(A)\sum_{i=1}^{2^n} (-1)^i S(A_i) = \sum_{A \in P} S(A) - \sum_{A \in Q} S(A), where PP consists of all subsets of {1,2,…,n}\{1, 2, \dots, n\} with even numbers of elements, and QQ consists of all subsets of {1,2,…,n}\{1, 2, \dots, n\} with odd numbers of elements.
For any x∈{1,2,…,n}x \in \{1, 2, \dots, n\}, among all kk-element subsets, xx appears in exactly Cn−1k−1C_{n-1}^{k-1} of them, hence it contributes to the sum
∑A∈PS(A)−∑A∈QS(A) as −Cn−10+Cn−11−Cn−12+⋯+(−1)nCn−1n−1=−(1−1)n−1=0. \sum_{A \in P} S(A) - \sum_{A \in Q} S(A) \text{ as } - C_{n-1}^0 + C_{n-1}^1 - C_{n-1}^2 + \dots + (-1)^n C_{n-1}^{n-1} = -(1-1)^{n-1} = 0.
Therefore, ∑i=12n(−1)iS(Ai)=0\sum_{i=1}^{2^n} (-1)^i S(A_i) = 0. □\square

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