Let a=(a1,a2,...,an)∈Rn with ∣ai∣≥1. Let p(a) be the number of vectors c=(c1,c2,...,cn)∈Rn where ci=±1,∀i∈[n], such that
−1≤⟨a,c⟩=i=1∑nciai<1
Prove that p(a)≤(⌊n/2⌋n).
Find an a∈Rn with p(a)=(⌊n/2⌋n).
Proof. By symmetry, we can assume that a>0 without lose of generality. Define
C={c=(c1,c2,...,cn)∈Rn∣ci=±1,i∈[n]}.
Let [n] be the set of integers from 1 to n, and P([n]) be the power set of [n], i.e., the set of all subsets of [n]. For any subset s⊂[n], we can associate to s a vector in C, which is denoted as
c(s)≐(c(s)1,c(s)2,...,c(s)n),
where
{c(s)i=1,c(s)i=−1,∀i∈s∀i∈/s
It remains to show the set
S(a)≐{s⊂[n]:−1<⟨a,c(s)⟩<1}
has size at most (⌊n/2⌋n). The key observation is that
∀s,s′∈S(a)⇒s⊈s′.
We call S(a) an antichain. To show this, suppose thta s′ contains at least one element that is not in s. Denote this element as j. It follows that c(s′)j=1 and c(s′)j=−1 and that
⟨a,c(s′)⟩−⟨a,c(s)⟩≥c(s′)jaj−c(s)jaj=2aj≥2
We conclude that ⟨a,c(s′)⟩≥⟨a,c(s)⟩+2≥1, a contradiction.
Now, consider an increasing sequence of n subsets of [n] of the form:
where x1,...,xn are different integers in [n]. Each such sequence induces a permutation of integers in [n]. As a result, the total number of such sequence equals n!. The relation between S(a) and such sequence is established as follows:
For each such sequence, there can be at most one set in S(a), because S(a) is a antichain.
For each s={x1,x2,...,xk}∈S(a), where k=∣s∣≥1 is the size of s, the number of sequences it appears in is given by
∣s∣!(n−∣s∣)!≥⌊n/2⌋!(n−⌊n/2⌋)!
We obtain
∣S(a)∣⋅⌊n/2⌋!(n−⌊n/2⌋)!≤s∈S(a)∑∣s∣!(n−∣s∣)!≤n!
and
p(a)=∣S(a)∣=⌊n/2⌋!(n−⌊n/2⌋)!n!=(⌊n/2⌋n)
This finishes the proof for problem 1.
Finally, ai=1,∀i∈[n] gives a tight example to problem 2.
■
Reference
[1] J. Matoušek and J. Nešetřil, Invitation to discrete mathematics, 2nd ed. Oxford ; New York: Oxford University Press, 2009.