Maths Olympiad Prep

Library / China Team Selection Test /82 of 92

China Team Selection Test

Combinatorics Difficulty 8.7 Shortlist Find the answer

Let n≥2n \geq 2 be a natural. Define
X={(a1,a2,⋯ ,an)∣ak∈{0,1,2,⋯ ,k},k=1,2,⋯ ,n}X = \{ (a_1,a_2,\cdots,a_n) | a_k \in \{0,1,2,\cdots,k\}, k = 1,2,\cdots,n \}.
For any two elements s=(s1,s2,⋯ ,sn)∈X,t=(t1,t2,⋯ ,tn)∈Xs = (s_1,s_2,\cdots,s_n) \in X, t = (t_1,t_2,\cdots,t_n) \in X, define
s∨t=(max⁡{s1,t1},max⁡{s2,t2},⋯ ,max⁡{sn,tn})s \vee t = (\max \{s_1,t_1\},\max \{s_2,t_2\}, \cdots , \max \{s_n,t_n\} )
s∧t=(min⁡{s1,t1},min⁡{s2,t2,},⋯ ,min⁡{sn,tn})s \wedge t = (\min \{s_1,t_1 \}, \min \{s_2,t_2,\}, \cdots, \min \{s_n,t_n\})
Find the largest possible size of a proper subset AA of XX such that for any s,t∈As,t \in A, one has s∨t∈A,s∧t∈As \vee t \in A, s \wedge t \in A.

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

Solution

Let n≥2 n \geq 2 be a natural number. Define
X={(a1,a2,⋯ ,an)∣ak∈{0,1,2,⋯ ,k},k=1,2,⋯ ,n}. X = \{ (a_1, a_2, \cdots, a_n) \mid a_k \in \{0, 1, 2, \cdots, k\}, k = 1, 2, \cdots, n \}.
For any two elements s=(s1,s2,⋯ ,sn)∈X s = (s_1, s_2, \cdots, s_n) \in X and t=(t1,t2,⋯ ,tn)∈X t = (t_1, t_2, \cdots, t_n) \in X , define
s∨t=(max⁡{s1,t1},max⁡{s2,t2},⋯ ,max⁡{sn,tn}) s \vee t = (\max \{s_1, t_1\}, \max \{s_2, t_2\}, \cdots, \max \{s_n, t_n\} )
and
s∧t=(min⁡{s1,t1},min⁡{s2,t2},⋯ ,min⁡{sn,tn}). s \wedge t = (\min \{s_1, t_1\}, \min \{s_2, t_2\}, \cdots, \min \{s_n, t_n\}).
We aim to find the largest possible size of a proper subset A A of X X such that for any s,t∈A s, t \in A , one has s∨t∈A s \vee t \in A and s∧t∈A s \wedge t \in A .

Consider some A A with ∣A∣>(n+1)!−(n−1)! |A| > (n + 1)! - (n - 1)! . Call a=(a1,a2,⋯ ,an)∈X a = (a_1, a_2, \cdots, a_n) \in X interesting if ak≠0 a_k \ne 0 for at most one k k . Let xk \mathbf{x}_k be the interesting element of X X whose k k th entry equals k k . We refer to the xi \mathbf{x}_i 's as elementary. Note that if A A contains all interesting elements of X X , then A A contains all elements of X X , because an arbitrary element (a1,a2,⋯ ,an)∈X (a_1, a_2, \cdots, a_n) \in X can be written as
(a1,0,⋯ ,0)∨(0,a2,0,⋯ ,0)∨⋯∨(0,⋯ ,0,an), (a_1, 0, \cdots, 0) \vee (0, a_2, 0, \cdots, 0) \vee \cdots \vee (0, \cdots, 0, a_n),
where the operations are performed in any order. We will in fact prove the stronger statement that if A A contains all elementary elements of X X , then A A contains all elements of X X .

We need the following preliminary result:

Lemma: Fix some 0≤j≤n 0 \le j \le n . Then for each k≥max⁡{1,j} k \ge \max\{1, j\} , there is an element a=(a1,a2,⋯ ,an)∈A a = (a_1, a_2, \cdots, a_n) \in A with ak=j a_k = j .

Proof: Suppose that A A does not contain such an element. Then there are at most k k choices for the k k th entry of an element of A A . Hence,
∣A∣≤(n+1)!(kk+1)≤(n+1)!(nn+1)=(n+1)!−n!, |A| \le (n + 1)!\left(\frac{k}{k + 1}\right) \le (n + 1)!\left(\frac{n}{n + 1}\right) = (n + 1)! - n!,
which contradicts our assumption on ∣A∣ |A| . ■\blacksquare

Now, suppose that A A contains all elementary elements of X X . We will show that A A contains all interesting elements of X X (and consequently all elements of X X ). Take some interesting a=(a1,a2,⋯ ,an)∈X a = (a_1, a_2, \cdots, a_n) \in X with possibly ak≠0 a_k \ne 0 . By the lemma, there exists some b=(b1,b2,⋯ ,bn)∈A b = (b_1, b_2, \cdots, b_n) \in A with bk=ak b_k = a_k . It follows that a=b∨xk∈A a = b \vee \mathbf{x}_k \in A , as desired.

Therefore, as A A is a proper subset of X X , it follows that A A cannot contain all elementary elements. So suppose that xk∉A \mathbf{x}_k \not\in A for some 0≤k≤n 0 \le k \le n . We will find (n−1)! (n - 1)! elements of X X that do not belong to A A , thus contradicting our assumption on ∣A∣ |A| .

Denote B={a=(a1,a2,⋯ ,an)∈A:ak=k} B = \{a = (a_1, a_2, \cdots, a_n) \in A : a_k = k\} . Since xk∉B \mathbf{x}_k \not\in B , it follows that for some j≠k j \ne k , we have aj≠0 a_j \neq 0 for all a∈B a \in B . This is because if there were an element with aj=0 a_j = 0 for each j j , we could repeatedly apply the ∨ \vee operation on said elements to obtain xk \mathbf{x}_k , which is impossible. Hence, there are at most j j choices for the j j th entry of an element in B B . It follows that for any a=(a1,a2,⋯ ,an)∈X a = (a_1, a_2, \cdots, a_n) \in X with ak=k a_k = k and aj=0 a_j = 0 , we have a∉B a \not\in B and therefore a∉A a \not\in A . But there are evidently
(n+1)!(j+1)(k+1)≥(n+1)!n(n+1)=(n−1)! \frac{(n + 1)!}{(j + 1)(k + 1)} \ge \frac{(n + 1)!}{n(n + 1)} = (n - 1)!
elements a a of this form. Thus, we have found (n−1)! (n - 1)! elements of X X that do not belong to A A , as needed.

It remains to provide an equality case. Inspired by the above reasoning, we let A A contain all elements of X X except those of the form (a1,a2,⋯ ,an) (a_1, a_2, \cdots, a_n) with an=n a_n = n and an−1=0 a_{n - 1} = 0 . It is easy to check that this construction works, because no element of X X whose final two entries are 0,n 0, n can be obtained by applying the ∨ \vee or ∧ \wedge operation to two elements of A A . This completes the proof. □\square

The answer is: (n+1)!−(n−1)!\boxed{(n + 1)! - (n - 1)!}.

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.