Balti Tee 2011 · Valikvooru ülesanne
Kombinatoorika
Call an n-tuple of real numbers stable if the sums where , as well as the sums where , are either all negative or all non-negative.
Let be any natural number. Consider all stable -tuples consisting of real numbers that are alternately negative and non-negative. Find the least possible number of stable subtuples with more than one element that can be contained in such a tuple.
(A Subtuple of is any tuple , , of elements consecutive in the original tuple.)
Kui oled valmis
Ülevaatematerjal muutub kättesaadavaks järgmise päevaülesannete komplektiga.
Ülevaade
Teemad
Värvimised ja konfiguratsioonid · Dirichlet’ printsiip ja ekstremaalargumendid · Induktsioon ja rekursioon
Lahendused
Lahendus
Answer: .
Call stable tuples, whose elements are alternately negative and non-negative, interesting. We first show that each interesting tuple contains at least one stable subtuple of 3 elements.
For that, consider elements whose absolute value is minimal in the tuple. If there exists a negative such element, denote it , then the sum of and its any neighbour is non-negative. Thus is neither the first nor the last in the tuple because of stability of the tuple. But then both and are non-negative, as well as , hence is a stable subtuple.
On the other hand, if all elements with minimal absolute value are non-negative then let be any of them. Analogously to the previous case, both and are negative, as well as , whence is a stable tuple.
Next we can see that replacing an element in a stable tuple with a stable subtuple whose sum of elements equals to the element removed always leads to a stable tuple. For that, let the original tuple be and let be replaced with . If then the claim is trivial, hence assume that . Consider an arbitrary subtuple starting from the beginning of the whole tuple. If either no substituted elements are included or all substituted elements are included then the sum falls to the right side of zero by assumptions. If the subtuple ends with some then the sum of its elements is . By stability of , the sum falls to the same side from zero as and . Hence falls between 0 and . As and fall to the same side from zero, also falls to the same side. Similarly, we can show the desired property for subtuples taken from the end of the tuple.
Lastly, we show by induction on that any interesting -tuple contains at least stable subtuples containing more than one element. If then the claim holds trivially. Suppose that and the claim holds for . Find a stable subtuple of 3 elements in the given -tuple. After replacing these three elements with their sum, we get a -tuple that is clearly stable. By stability of the 3-tuple replaced, the sum of its elements falls to the same side from zero as its first and third element, hence the alternation of signs is also maintained. By the induction hypothesis, the new tuple contains at least stable subtuples of more than one element. After substituting the removed elements back, each of these stable subtuples remains stable. Moreover, the 3-tuple itself will be the desired th stable subtuple.
It remains to show that there are interesting -tuples that contain no more than stable subtuples. For example, let for and . The sum of the first elements is that is negative. Thus also the sum of elements is always negative. As , also all sums of consecutive elements taken from the end are negative. Thus the tuple is stable.
Consider any subtuple where . If and have different parity then the subtuple is not stable (every interesting tuple must have an odd number of elements). If and are both odd then while . The case with and both even is analogous. Thus the subtuple under consideration is not stable.
Hence only those of the subtuples with more than one element that contain can be stable. But there are only such subtuples of odd length. This completes the solution.