Skip to main content
OlympiadHQ

Browse · MathNet

Print

Argentine National Olympiad 2016

Argentina 2016 counting and probability

Problem

Let be a permutation of . For each triple of consecutive numbers, , the middle number in the triple is marked. For instance if then is marked. Let be the sum of all marked numbers. Find the minimum value of . (Each marked number enters the sum exactly once, although it may be marked more than once.)
Solution
The desired minimum is . More generally, for instead of the answer is . For clarity we state separately a fact used later in a proof of the lower bound for each permutation of .

Claim. If distinct natural numbers are divided into pairs with , , then .

The justification is by induction on , with obvious base case .

For the inductive step choose the labeling so that . Ignore and for the time being, and apply the inductive hypothesis to the remaining numbers. This gives . So it is enough to prove in order to complete the inductive step. We have for all by . In addition observe that for all . This holds for by hypothesis. Suppose that for some . Then implies , which contradicts the maximum choice of . In summary there are distinct natural numbers smaller than , namely . Hence , completing the induction.

Now let be any permutation of . Divide into triples . Let and be respectively the smaller number and the middle number in . The numbers , are distinct. Then the claim above gives . Since are marked numbers (in general there are more of them), the sum of all marked number in also satisfies .

The equality is attained for the following permutation of : .

The marked numbers are precisely , hence . This completes the proof of .
Final answer
1122

Techniques

Induction / smoothingColoring schemes, extremal argumentsCombinatorial optimization