For a sequence x 1 , x 2 , . . . , x n of real numbers, we define its price as
1 ≤ i ≤ n max ∣ x 1 + x 2 + . . . + x i ∣ .
Given n real numbers, Dave and George want to arrange them into a sequence with a low price. Diligent Dave checks all possible ways and finds the minimum possible price D . Greedy George, on the other hand, chooses x 1 such that ∣ x 1 ∣ is as small as possible; among the remaining numbers, he chooses x 2 such that ∣ x 1 + x 2 ∣ is as small as possible, and so on. Thus, in the i t h step he chooses x i among the remaining numbers so as to minimise the value of ∣ x 1 + x 2 + . . . + x i ∣ . In each step, if several numbers provide the same value, George chooses one at random. Finally he gets a sequence with price G .
Find the least possible constant c such that for every positive integer n , for every collection of n real numbers, and for every possible sequence that George might obtain, the resulting values satisfy the inequality G ≤ c D .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
@Pedro Cardoso , true.
Since this is an IMO problem 5 , you would get at most 2 points for this solution.
I will wait for a day or two , to see if someone post a solution, else I will post it with full proof.
It's not hard to attain the max: for any integer k , suppose we've got k − 1 s, k 1 s, and then − 2 k and 2 k . Then D = k : take the − 1 s all first, then 2 k , then − 2 k , then all the 1 s. But G = 2 k because George will alternate taking the ± 1 values until the end.
Problem Loading...
Note Loading...
Set Loading...
I just had an educated guess that the answer would be 2 : consider the set of n numbers { 2 1 , 2 2 , , . . . , 2 n − 2 , 2 n − 1 , − 2 n } where only the largest power of 2 is negative.
Since ∑ i = 1 n − 1 2 i = 2 n − 1 , George would put them into the sequence 2 1 , 2 2 , , . . . , 2 n − 2 , 2 n − 1 , − 2 n and it's price would be 2 n − 1 . But Dave would put them into the sequence 2 n − 1 , − 2 n , 2 1 , 2 2 , , . . . , 2 n − 2 and it's price would be 2 n − 1 .
This means c = D G = 2 n − 1 2 n − 1 , which decreases with n and goes to 2 as n aproaches infinity.
I've got no formal proof of why 2 is the minimum, so it would be nice if someone posted one.