Olympiad Maths Prep

Library / /6 of 6

, 2020

Combinatorics Difficulty 7.2 National olympiad, round 2 Prove it Greece

We write 9999 circles in a line and in their interior we write the numbers from 11 to 9999, as follows:
Figure 1
We color each circle with one of the two colors: red (R) and green (G). We say that a coloring is «good», if the following happens:
*The number of red circles in the first part of numbers from 11 to 5050 is greater than the number of the red circles existing in the second part from number 5151 to 9999.*

a. Determine how many different colorings can be constructed.

b. Determine how many different “good” colorings can be constructed.

(Note: Two colorings are different, if they have different colors at least in one circle.)

Solution

(a) Each circle can be colored with two different colors independently of the coloring of the other circles. Therefore, according to the multiplicative principle, the different colorings are
222299=299. \underbrace{2 \cdot 2 \cdot 2 \dotsm 2}_{99} = 2^{99}.

(b) We consider the coloring X:1 2 3  50 51  98 99xX: 1\ 2\ 3\ \dots\ 50\ \underbrace{51\ \dotsm\ 98\ 99}_{x}, where xx is the number of red circles among 11 to 5050, and yy is the number of red circles among 5151 to 9999. The coloring XX is «good» if x>yx > y, whereas the coloring XX is *no good* if xyx \le y.

Let AA be the set of «good» colorings and BB the set of “no good” colorings. We will prove that each element of the set AA corresponds to an element of BB and vice versa.

Indeed, if X:1 2 3  50 51  98 99xX: 1\ 2\ 3\ \dots\ 50\ \underbrace{51\ \dotsm\ 98\ 99}_{x} is in AA, then x>yx > y. By changing the color of each circle, we find the coloring
Y:1 2 3  5050x 51  98 9949y, Y: \underbrace{1\ 2\ 3\ \dots\ 50}_{50-x}\ \underbrace{51\ \dotsm\ 98\ 99}_{49-y},
which belongs to BB, because
x>yx<y49x<49y50x49y. x > y \Rightarrow -x < -y \Rightarrow 49 - x < 49 - y \Rightarrow 50 - x \le 49 - y.

Conversely, if X:1 2 3  50 51  98 99xX: 1\ 2\ 3\ \dots\ 50\ \underbrace{51\ \dotsm\ 98\ 99}_{x} is in BB, then xyx \le y. By changing the color of each circle, we find the coloring
Y:1 2 3  5050x 51  98 9949y, Y: \underbrace{1\ 2\ 3\ \dots\ 50}_{50-x}\ \underbrace{51\ \dotsm\ 98\ 99}_{49-y},
which belongs to the set AA because
xyxy49x49y50x>49y. x \le y \Rightarrow -x \ge -y \Rightarrow 49 - x \ge 49 - y \Rightarrow 50 - x > 49 - y.

Therefore, between the sets AA and BB there exists a 11-11 correspondence and so the two sets have the same number of elements, that is, each of them has
2992=298 elements. \frac{2^{99}}{2} = 2^{98} \text{ elements.}

Looking for a route rather than 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.