Olympiad Maths Prep

Track / Stage 6 / 130 of 400 #1130 of 2000

Problem 1130

National olympiad, first round
Combinatorics Difficulty 6.2 Prove it

. In a school class with 3n3 n children, any two children make a common present to exactly one other child. Prove that for all odd nn it is possible that the following holds:

For any three children A,BA, B and CC in the class, if AA and BB make a present to CC then AA and CC make a present to BB.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solutions — 2

Solution 1

Assume there exists a set S\mathscr{S} of sets of three children such that any set of two children is a subset of exactly one member of S\mathscr{S}, and assume that the children AA and BB make a common present to CC if and only if {A,B,C}S\{A, B, C\} \in \mathscr{S}. Then it is true that any two children AA and BB make a common present to exactly one other child CC, namely the unique child such that {A,B,C}S\{A, B, C\} \in \mathscr{S}. Because {A,B,C}={A,C,B}\{A, B, C\}=\{A, C, B\} it is also true that if AA and BB make a present to CC then AA and CC make a present to BB. We shall construct such a set S\mathscr{S}.

Let A1,,An,B1,Bn,C1,,CnA_{1}, \ldots, A_{n}, B_{1}, \ldots B_{n}, C_{1}, \ldots, C_{n} be the children, and let the following sets belong to S\mathscr{S}. (1) {Ai,Bi,Ci}\left\{A_{i}, B_{i}, C_{i}\right\} for 1in1 \leq i \leq n. (2) {Ai,Aj,Bk},{Bi,Bj,Ck}\left\{A_{i}, A_{j}, B_{k}\right\},\left\{B_{i}, B_{j}, C_{k}\right\} and {Ci,Cj,Ak}\left\{C_{i}, C_{j}, A_{k}\right\} for 1i<jn,1kn1 \leq i<j \leq n, 1 \leq k \leq n and i+j2k(modn)i+j \equiv 2 k(\bmod n). We note that because nn is odd, the congruence i+j2k(modn)i+j \equiv 2 k(\bmod n) has a unique solution with respect to kk in the interval 1kn1 \leq k \leq n. Hence for 1i<jn1 \leq i<j \leq n the set {Ai,Aj}\left\{A_{i}, A_{j}\right\} is a subset of a unique set {Ai,Aj,Bk}S\left\{A_{i}, A_{j}, B_{k}\right\} \in \mathscr{S}, and similarly the sets {Bi,Bj}\left\{B_{i}, B_{j}\right\} and {Ci,Cj}\left\{C_{i}, C_{j}\right\}. The relations i+j2i(modn)i+j \equiv 2 i(\bmod n) and i+j2j(modn)i+j \equiv 2 j(\bmod n) both imply ij(modn)i \equiv j(\bmod n), which contradicts 1i<jn1 \leq i<j \leq n. Hence for 1in1 \leq i \leq n, the set {Ai,Bi,Ci}\left\{A_{i}, B_{i}, C_{i}\right\} is the only set in S\mathscr{S} of which any of the sets {Ai,Bi}{Ai,Ci}\left\{A_{i}, B_{i}\right\}\left\{A_{i}, C_{i}\right\} and {Bi,Ci}\left\{B_{i}, C_{i}\right\} is a subset. For iki \neq k, the relations i+j2ki+j \equiv 2 k (modn)(\bmod n) and 1jn1 \leq j \leq n determine jj uniquely, and we have iji \neq j because otherwise i+j2k(modn)i+j \equiv 2 k(\bmod n) implies ik(modn)i \equiv k(\bmod n), which contradicts iki \neq k. Thus {Ai,Bk}\left\{A_{i}, B_{k}\right\} is a subset of the unique set {Ai,Aj,Bk}S\left\{A_{i}, A_{j}, B_{k}\right\} \in \mathscr{S}. Similarly {Bi,Ck}\left\{B_{i}, C_{k}\right\} and {Ai,Ck}\left\{A_{i}, C_{k}\right\}. Altogether, each set of two children is thus a subset of a unique set in S\mathscr{S}.

Solution 2

1. Labeling the Children:
Let the children be labeled as Xi,Yi,Zi X_i, Y_i, Z_i for 0in1 0 \leq i \leq n-1 . We will consider the subscripts modulo n n . The key observation here is that 2 2 is invertible modulo n n when n n is odd. This means there exists an integer k k such that 2k1(modn) 2k \equiv 1 \pmod{n} .

2. Forming Initial Triples:
We need to form triples such that each pair of children makes a present to exactly one other child. First, we create the triples (Xi,Yi,Zi) (X_i, Y_i, Z_i) for each i i . This ensures that within each triple, the pairs (Xi,Yi) (X_i, Y_i) , (Yi,Zi) (Y_i, Z_i) , and (Zi,Xi) (Z_i, X_i) make presents to the third child in the triple.

3. Forming Additional Triples:
For ij i \neq j , if k k is equal to i+j2 \frac{i+j}{2} modulo n n , we form the following triples:
(Xi,Xj,Yk),(Yi,Yj,Zk),(Zi,Zj,Xk) (X_i, X_j, Y_k), \quad (Y_i, Y_j, Z_k), \quad (Z_i, Z_j, X_k)
This step ensures that any two children labeled with the same letter (e.g., X X ) are paired with a child labeled with a different letter (e.g., Y Y ).

4. Verification of the Grouping:
Given two children Xa X_a and Yb Y_b (with ab a \neq b ), we need to determine the third child in the triple. According to our construction, the third child is X2ba X_{2b-a} . This is because:
k=a+b2    2k=a+b    k=a+b2(modn) k = \frac{a + b}{2} \implies 2k = a + b \implies k = \frac{a + b}{2} \pmod{n}
Therefore, the triple (Xa,Yb,X2ba) (X_a, Y_b, X_{2b-a}) is well-defined. Similarly, the pair Yb,X2ba Y_b, X_{2b-a} implies that Xa X_a is the third child by the same rule.

5. Ensuring the Condition:
We need to ensure that for any three children A,B, A, B, and C C in the class, if A A and B B make a present to C C , then A A and C C make a present to B B . This is satisfied by our construction because:
- If (A,B)C (A, B) \to C , then (A,C)B (A, C) \to B and (B,C)A (B, C) \to A are automatically satisfied by the symmetry of our triples.

Thus, the construction satisfies the given condition for all odd n n .

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.