Maths Olympiad Prep

Library / /37 of 39

, 2012

Combinatorics Difficulty 7.5 National olympiad, round 2 Prove it Belarus

Define Mn={1,2,,n}M_n = \{1, 2, \dots, n\}, for any nNn \in \mathbb{N}. A collection of 3-element subsets of MnM_n is said to be fine if for any coloring of elements of MnM_n in two colors there is a subset of the collection all three elements of which are of the same color.
For any n5n \ge 5 find the minimal possible number of the 3-element subsets of MnM_n in the fine collection.

Solution

We call any 3-element subset a triple; a triple is said to be monochromatic if all its three elements are the same color. Let f(n)f(n) denote the minimal possible number of the triples in a fine collection of MnM_n.

First, we have f(5)=10=(53)f(5) = 10 = \binom{5}{3} — the total number of triples in M5M_5.
Indeed, if the collection does not contain some triple {a,b,c}\{a, b, c\}, then we color aa, bb, cc black and the remaining 2 elements we color white. This coloring shows that the collection is not fine. On the other hand, the collection contains all 10 possible triples. Since for any coloring in two colors there are at least three elements, say x,y,zx, y, z, of the same color, then the triple {x,y,z}\{x, y, z\} is monochromatic, thus the collection is fine.

Further, f(6)=10=12(63)f(6) = 10 = \frac{1}{2} \binom{6}{3} — a half of the number of all triples in M6M_6.
Note that we can divide all the triples in M6M_6 into 10 pairs of triples so that in any pair the union of both triples is M6M_6 itself. Now, if the collection contains less than 10 triples then there is a pair of triples {a,b,c}\{a, b, c\}, {d,e,f}\{d, e, f\} ({a,b,c,d,e,f}=M6\{a, b, c, d, e, f\} = M_6) such that neither of the triples belong to the collection. If a,b,ca, b, c are colored black and d,e,fd, e, f are colored white, then there is no monochromatic triple for such coloring, hence the collection is not fine. On the other hand, the collection of 10 triples having exactly one triple from any pair is obviously fine.

Let now n7n \ge 7. We start with M7M_7, considering the following collection of triples:
{1,2,3}\{1, 2, 3\}, {1,4,5}\{1, 4, 5\}, {1,6,7}\{1, 6, 7\}, {2,4,6}\{2, 4, 6\}, {2,5,7}\{2, 5, 7\}, {3,4,7}\{3, 4, 7\}, {3,5,6}\{3, 5, 6\}
We can observe that any element from M7M_7 belongs to exactly three triples and any possible pair of elements is present exactly in one triple. Consider any coloring of M7M_7. There are at least 4 elements of the same color, say, black.

Consider a number xx of white color. Let xx belong to the triples {x,a,b}\{x, a, b\}, {x,c,d}\{x, c, d\}, {x,e,f}\{x, e, f\}. Suppose that none of the triples is monochromatic (i.e., white). Then one of them, say, {x,e,f}\{x, e, f\} contains black elements e,fe, f; the other two of them contain (except for xx) one black and one white element.
Let aa and cc be black, bb and dd be white. Note that if ff belongs to the triple {f,a,c}\{f, a, c\} then we have a monochromatic triple for this coloring. If not, then ff, besides {x,e,f}\{x, e, f\}, can belong only to the triples {f,a,d}\{f, a, d\}, {f,b,c}\{f, b, c\}. In this case element ee, besides {x,e,f}\{x, e, f\}, belongs to the triples {b,d,e}\{b, d, e\} and {a,c,e}\{a, c, e\}. The latter is monochromatic. Thus the collection is fine. Hence f(7)7f(7) \le 7.

Further, note that f(n+1)f(n)f(n+1) \le f(n), because any fine collection of MnM_n is obviously a fine collection of Mn+1M_{n+1} as well. It follows that f(n)7f(n) \le 7 for any n7n \ge 7.

Let's show that f(n)=7f(n) = 7 for any n7n \ge 7. Suppose, contrary to our claim, that f(n)6f(n) \le 6 for some n7n \ge 7, and choose the minimal n7n \ge 7 satisfying the inequality. Thus there is a fine collection of MnM_n containing k6k \le 6 triples. Then there are at most 18=3618 = 3 \cdot 6 pairs of elements in the collection. Further, n7n \ge 7, so there are at least 21=76221 = \frac{7 \cdot 6}{2} possible pairs of elements in MnM_n. Since 21>1821 > 18, there are two elements a,bMna, b \in M_n, such that the pair {a,b}\{a, b\} does not belong to any triple from the collection. We may suppose that {a,b}={n1,n}\{a, b\} = \{n-1, n\}. Let's now identify the elements aa and bb. Also we identify all the pairs of triples of the kind {a,x,y}\{a, x, y\}, {b,x,y}\{b, x, y\}, if any. The collection thus obtained is obviously fine, and it contains at most kk triples. But this is a fine collection for Mn1M_{n-1}, contrary to the minimality of nn. Thus the proof is finished.

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.