Maths Olympiad Prep

Library / /47 of 54

Combinatorics Difficulty 7.1 National olympiad, round 2 Prove it China

Let n2n \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 Ai1|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)=xAixS(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=Bi1{k+1},i=2,3,,2k+1,Aj=Bj2k,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 n2n \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 Ai1|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)=APS(A)AQS(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 Cn1k1C_{n-1}^{k-1} of them, hence it contributes to the sum
APS(A)AQS(A) as Cn10+Cn11Cn12++(1)nCn1n1=(11)n1=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,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.