Let n be a positive integer. If σ is a permutation of the first n positive integers, let S(σ) be the set of all distinct sums of the form ∑i=kℓσ(i), where 1≤k≤ℓ≤n. a) Exhibit a permutation σ of the first n positive integers such that ∣S(σ)∣≥⌊(n+1)2/4⌋. b) Show that ∣S(σ)∣>nn/42 for all permutations σ of the first n positive integers.
Solution
a) We show that the permutation σ of the first n positive integers, defined by σ(i)=(i+1)/2 for each positive odd i≤n, and σ(i)=n−i/2+1 for each positive even i≤n, satisfies the required condition. More precisely, we show that the ⌊(n+1)2/4⌋ sums of the form ∑i=kℓσ(i), where 1≤k≤ℓ≤n and k≡ℓ(mod2), are pairwise distinct, so ∣S(σ)∣≥⌊(n+1)2/4⌋. Let 1≤k≤ℓ≤n and k≡ℓ(mod2), and notice that σ(i)+σ(i+1)=n+1 for every positive odd i≤n, so i=k∑ℓσ(i)={(ℓ−k)(n+1)/2+σ(ℓ)σ(k)+(ℓ−k)(n+1)/2if k is odd,if k is even. Since the absolute value of an integer of the form σ(i)−σ(j) is less than n, the above formula shows that the assignment (k,ℓ)↦∑i=kℓσ(i) is indeed injective on the pairs in question.
b) Let σ be a permutation of the first n positive integers, and split S(σ) into Sm(σ)=S(σ)∩[mn+1,mn+n], where m runs through the integers; of course, Sm(σ) is empty if m is negative or m>(n−1)/2, and ∣S0(σ)∣≥n. Leaving aside the trivial cases n=1 and n=2, we assume n≥3 and prove that ∣Sm(σ)∣+∣Sm−1(σ)∣>2n,(∗) for every non-negative integer m≤(n+1)/4. The conclusion then follows by summing over this range: ∣S(σ)∣≥21m=0∑⌊(n+1)/4⌋(∣Sm(σ)∣+∣Sm−1(σ)∣)>21⌊4n+5⌋2n>42nn. To prove (*), fix a non-negative integer m≤(n+1)/4. We will show that the Minkowski difference Sm(σ)−(Sm(σ)∪Sm−1(σ)) contains every positive integer less than or equal to n; alternatively, but equivalently, that it contains every σ(k). Then so does (Sm(σ)∪Sm−1(σ))−(Sm(σ)∪Sm−1(σ)), so ∣Sm(σ)∣+∣Sm−1(σ)∣=∣Sm(σ)∪Sm−1(σ)∣>2n, for if X is a finite set of numbers such that {1,2,…,n}⊆X−X, then ∣X∣⋅(∣X∣−1)+1≥∣X−X∣≥2n+1, so ∣X∣≥(1+8n+1)/2>2n. Finally, we show that every σ(k) is a member of Sm(σ)−(Sm(σ)∪Sm−1(σ)). To this end, fix a positive integer k≤n, and notice that at least one of the sums ∑i=1kσ(i), ∑i=knσ(i) exceeds n(n+1)/4≥mn. Let ∑i=knσ(i)>mn — the other case is easily dealt with dually —, and consider the smallest integer ℓ≥k such that ∑i=kℓσ(i)>mn. With reference to this minimality, it is readily checked that the sums ∑i=kℓσ(i) and ∑i=k+1ℓσ(i) belong to Sm(σ) and Sm(σ)∪Sm−1(σ), respectively, so σ(k) is indeed a member of Sm(σ)−(Sm(σ)∪Sm−1(σ)).
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.