Let be a given positive integer. Let be a permutation of . Determine the minimum value of .
Note: is the greatest integer not exceeding the real number .
Let be a given positive integer. Let be a permutation of . Determine the minimum value of .
Note: is the greatest integer not exceeding the real number .
Suppose that with some non-negative 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 1. If are distinct positive integers then
From the Claim it follows immediately that .
Proof of Claim 1. 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 Claim 1.
By I and II, we complete the solution.
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
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 .