Skip to main content
OlympiadHQ

Browse · MathNet

Print

Romanian Master of Mathematics

Romania algebra

Problem

Let be a positive integer, and let and be sequences of non-negative integers, each written on a circle (so we assume and ). We say is b-harmonic, if each is the arithmetic mean of the counterclockwise nearest numbers, the clockwise nearest numbers, and itself; that is, (A term of a may appear more than once in the above sum.) Suppose that neither a nor b is constant, and that both a is b-harmonic, and b is a-harmonic. Prove that more than half of the terms across both sequences vanish.
Solution
Let and let . Since a is not constant, there exists an such that .

Claim 1. If , then . Similarly, if , then .

Proof. Otherwise the sum in contains a term but no terms smaller than , so the average is greater than .

Say that is an a-segment if but ; define a b-segment similarly. By Claim 1, the endpoints of any such segment satisfy . Since the sequences are non-constant, each where is contained in an a-segment.

Claim 2. Let be a b-segment, and let . Then (and, similarly, ).

Proof. Indeed, since , the elements of b with indices from to must all be zero as well.

We now show that every index is contained in either an a- or a b-segment. Since at least one index is contained in both, the conclusion follows.

Assume, to the contrary, that and are both positive for some index ; call such indices bad. Among all bad indices , choose one maximising ; by symmetry, we may and will assume that this maximum is . We may and will also assume that either the index is not bad, or (otherwise change to , repeat if necessary, recalling that a is not constant).

Consider the range of indices , and the values a assumes at those indices. Some indices in are bad; the corresponding values do not exceed . Other indices in are covered by several a- and b-segments. Each b-segment contributes at most members nearest to one of its endpoints, so the average value of a over those indices does not exceed by Claim 2. The remaining indices in all lie in a-segments, so the corresponding values are all zero.

Combining all this, it follows that the average in the right-hand member of does not exceed . Moreover, if some a- or b-segment intersects , then the inequality is strict. Otherwise, is a bad index contained in , and , so the inequality is again strict. This contradiction ends the proof and completes the solution.

---

Alternative solution.

The solution has a few well-defined steps:

Lemma 1. Assume that ; then for all . In particular, , as .

Proof. Assume that , and , where . Then , as otherwise is the mean of at least three terms, all , with at least one . For the same reason, also. But then is the mean of terms of , which must therefore all also be equal to 0. So for all . Iterating this argument gives for all , which implies the statement of the lemma.

Corollary. There exist such that and such that .

Lemma 2. Suppose . Generate by replacing all copies of with 1 in . Then is -harmonic, and is -harmonic.

Proof. We start with another consequence of Lemma 1. Assume that ; then none of the terms with equals . Indeed, if with , then by Lemma 1 we have , which yields and hence . We can now check that the harmonic properties are preserved under replacing all copies of in with 1: If , then the harmonic property for is unchanged. If , then and , so certainly has the -harmonic property; and If , then , and so has the -harmonic property. If , then we have just shown that none of the terms in the statement of 's harmonic property are changed by this process, so it remains harmonic.

Lemma 3. We have for all . Moreover, there exists an with .

Proof. Both statements in the lemma are invariant under the procedure in Lemma 2. Apply this procedure repeatedly, to replace all instances of the maximum value in one of the sequences with 1, until both sequences consist of zeroes and ones. It suffices to check the lemma statement for the obtained pair of sequences. Suppose that for some . Since the sequences remain non-constant, we may and will assume that , say . But then the -harmonic property is violated for , as . Suppose now that there is no with . This means that for every index we have either and , or and . There is a pair of adjacent indices having different types, so that and . But then violates the -harmonic property.

Lemma 3 readily yields that at least terms across both sequences are zeroes, as required.

Techniques

Recurrence relationsColoring schemes, extremal arguments