Given a positive integer , find the smallest value of
over all permutations of .
, 2021
Solutions — 3
Solution 1
Answer: The minimum of such sums is ; so if , the minimum is .
Solution 1. Suppose that with some nonnegative integer . First we show a permutation such that
then we will prove that
for every permutation. Hence, the minimal possible value will be .
I. Consider the permutation
This permutation consists of cycles. In every cycle we have , so
The total sum over all cycles is precisely .
II. In order to establish the lower bound, we prove a more general statement.
Claim. If are distinct positive integers then
From the Claim it follows immediately that .
Proof of the Claim. Apply induction on . For the claim is trivial, . Suppose the Claim holds true for some positive integer , and consider .
If there exists an index such that and then
by the induction hypothesis, so the Claim is satisfied.
Otherwise we have for every . Among the distinct numbers there is some which is at least ; that number must be among . Hence, and .
We will apply the induction hypothesis to the numbers
so take the first numbers but replace with . Notice that
For the other indices with we have , so
That proves the Claim and hence completes the solution.
Solution 2
Solution 2. We present a different proof for the lower bound.
Assume again , and let be the set of powers of 2 among . Call an integer and the interval good if .
Lemma 1. The good intervals cover the integers .
Proof. Consider an arbitrary ; we want to find a good interval that covers ; i.e., . Take the cycle of the permutation that contains , that is . In this cycle, let be the first element with ; then .
Lemma 2. If a good interval covers distinct powers of 2 then ; more formally, .
Proof. The ratio of the smallest and largest powers of 2 in the interval is at least . By Bernoulli's inequality, ; that proves the lemma.
Now, by Lemma 1, the good intervals cover . By applying Lemma 2 as well, we obtain that
Solution 3
Solution 3. We show yet another proof for the lower bound, based on the following inequality.
Lemma 3.
for every pair of positive integers.
Proof. Let , so and . By applying the inequality , we obtain
By applying the lemma to each term, we get
Notice that the numbers form a permutation of . Hence, in the last two sums all terms cancel out, except for in the first sum and in the second sum. Therefore,
As the left-hand side is an integer, it must be at least .