AlgebraDifficulty 7.5National Olympiad, round 2Prove itMiddle European Mathematical Olympiad (MEMO)
Problem:
Let k be a positive integer and a1,a2,…,ak be nonnegative real numbers. Initially, there is a sequence of n≥k zeros written on a blackboard. At each step, Nicole chooses k consecutive numbers written on the blackboard and increases the first number by a1, the second one by a2, and so on, until she increases the k-th one by ak. After a positive number of steps, Nicole managed to make all the numbers on the blackboard equal. Prove that all the nonzero numbers among a1,a2,…,ak are equal.
Solution
Solution:
Denote by Li,0≤i<n, the number of tiles that John puts in such a way that a0 is added at position i. Note that Ln−k=Ln−k+1=⋯=Ln−1=0. Analogously, we define Ri,0≤i<n for the number of times ak−1 was added at position i.
First, note that a0L0=K, since only the leftmost operations add something to the first zero. Note that for all 0≤i<k we have K≥aiL0=aiK/a0, hence ai≤a0. Analogously, focusing on ak−1 and Rn−1 we conclude that for every 0≤i<k we have ai≤ak−1. That is, we have a0=ak−1 and this is the largest value in the sequence a0,…,ak−1; moreover, L0=Rn−1. To simplify notation, we denote a=a0=ak−1 and p=L0=Rn−1.
Our task is to prove that every ai has value either 0 or a. We will prove that by induction, in fact proving the following, stronger, statement. For every 0≤i<⌈k/2⌉, we prove:
(a) ai=ak−1−i,
(b) Li=Rn−1−i,
(c) either ai=0 or ai=a.
In plain words, besides proving the required statement, we are also gradually proving that the sequence ai is symmetrical, as well as John's moves.
We have already proven this statement for i=0. Let us now prove it for any i, assuming it was proven for 0,…,i−1.
Note that for the i-th position on the blackboard we have K=j=0∑iLjai−j Let us first focus on the terms L1ai−1,L2ai−2,…,Li−1a1. By the induction statement, the value of each of these terms is either 0 or p⋅a=K. If the latter ever happens, the induction statement implies Li=Rn−1−i=0 together with ai=ak−1−i=0 and we are finished.
Hence, we can next assume that K=L0ai+Lia=pai+Lia and the analogous argument on the other side (replace Lj by Rn−1−j and aj by ak−1−j ) allows us to assume that K=Rn−1ak−1−i+Rn−1−ia
Consider the case ai<a. Equation (1) implies that Li>0. Focusing now at the kth number in John's sequence, we get K=L0ak−1+⋯+Liak−1−i+…. But L0ak−1=pa=K, so we are getting Liak−1−i=0, hence ak−1−i=0.
We can apply exactly the same argument on the other side (replace Lj with Rn−1−j and aj with ak−1−j and eq. (1) with eq. (2)). We get that whenever ak−1−i<a, it has to be that ai=0.
Putting these two arguments together, we conclude that one of the two possibilities is true: Either ai=ak−1−i=a and eqs. (1) and (2) imply Li=Rn−i=0. Or ai=ak−1−i=0 and eqs. (1) and (2) imply Li=Rn−i=p. In either case, the induction statement is proven for i and we are done.
Number-theoretic solution. As in the first solution, we denote by Li the number of times that a0 was added to the i-th position and note that a0 is maximal among the terms of the sequence. Obviously, we are done if a0=0, so let's assume a0>0, implying L0>0. We normalize the sequence by dividing each term by a0, so that a0=1 and all numbers on the board are equal to L0 in the end.
Claim. All terms of the sequence are now rational numbers.
Proof. Assume the contrary. Consider the smallest index i with ai∈/Q and look at the i-th number on the board which in the end of the process takes the value L0∈N. Since ai was added to this position L0 times and all other terms added to it must have been rational by minimality of i, we get a contradiction.
If there now exists some index j with 0<aj<1, write aj as a reduced fraction and take a prime factor q of its denominator. In other words, vq(aj)<0=vq(a0).
We now choose a minimal index t that minimizes vq(at) and a minimal index s that minimizes vq(Ls). By evaluating the number on the (s+t)-th position on the blackboard, we obtain L0⋅a0=i=0∑s+tLi⋅as+t−i Here, we simply set as+t−i=0 if s+t−i≥k. Note that the term Ls⋅at appearing in this sum has strictly smaller vq than any other term in the sum, by definition and minimality of s and t. Also, since vq(Ls)≤vq(L0) and vq(at)<vq(a0)=0, we have vq(L0⋅a0)>vq(Ls⋅at). Hence, vq(L0⋅a0)>vq(Ls⋅at)=vq(i=0∑s+tLi⋅as+t−i) contradiction. We conclude that no such j could have existed, so all terms are either equal to 0 or a0.
Solution using Polynomials. By the claim of the previous solution, we see that we may assume all terms of the sequence to be nonnegative integers (just multiply everything by the lcm of the denominators). Again, we note that for all i, it holds that a0≥ai.
Now observe the polynomial P(x)=i=0∑k−1aixi and interpret the numbers on the board as a polynomial in a similar way, i.e. if the numbers on the board are b0,…,bn−1, read it as i=0∑n−1bixi The problem states that after each step, the polynomial on the board is increased by xp⋅P(x) for some p∈N0. Therefore, the condition can be rewritten as P(x)⋅Q(x)=K⋅x−1xn−1 for some polynomial Q∈Z[x] and K∈N. It follows that P(x)=a⋅R(x) where a∣K and R(x)x−1xn−1. We see that the constant term of R must be equal to 1, and so a0=a. As a∣ai and a0≥ai for all i, they are indeed all equal to a.
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 reproduced verbatim; metadata (topic, difficulty) added by this project.