We write 99 circles in a line and in their interior we write the numbers from 1 to 99, as follows: 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 1 to 50 is greater than the number of the red circles existing in the second part from number 51 to 99.*
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.)
This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.
(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 992⋅2⋅2⋯2=299.
(b) We consider the coloring X:123…50x51⋯9899, where x is the number of red circles among 1 to 50, and y is the number of red circles among 51 to 99. The coloring X is «good» if x>y, whereas the coloring X is no good if x≤y.
Let A be the set of «good» colorings and B the set of “no good” colorings. We will prove that each element of the set A corresponds to an element of B and vice versa.
Indeed, if X:123…50x51⋯9899 is in A, then x>y. By changing the color of each circle, we find the coloring Y:50−x123…5049−y51⋯9899, which belongs to B, because x>y⇒−x<−y⇒49−x<49−y⇒50−x≤49−y.
Conversely, if X:123…50x51⋯9899 is in B, then x≤y. By changing the color of each circle, we find the coloring Y:50−x123…5049−y51⋯9899, which belongs to the set A because x≤y⇒−x≥−y⇒49−x≥49−y⇒50−x>49−y.
Therefore, between the sets A and B there exists a 1-1 correspondence and so the two sets have the same number of elements, that is, each of them has 2299=298 elements.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.