0
$\begingroup$

Say we had n non-zero real numbers $a_i$ and another real number b. What is the maximum number of ways to choose a + or a - for each number such that the equation:

$(+/-) a_1 (+/-) a_b ... (+/-)a_n = b$ is correct?

I believe the answer could be $\binom{n}{n/2}$ (imagine b=0 and all $a_i$ were the same) but I am not to sure how to explain this more formally.

$\endgroup$
7
  • $\begingroup$ "The maximal": maximal over what? what is fixed and what is not fixed? if all $a_i$, and $b$ are zero, all $2^n$ choices of sign work. $\endgroup$
    – YCor
    Commented Nov 5, 2020 at 23:36
  • $\begingroup$ Forgot to mention that all $a_i$ must be non-zero. $\endgroup$
    – adamC
    Commented Nov 5, 2020 at 23:39
  • $\begingroup$ So, the sup over all $n$-tuples $(a_i)$ of nonzero elements and $b$, if I get it correctly. $\endgroup$
    – YCor
    Commented Nov 5, 2020 at 23:48
  • 2
    $\begingroup$ You might look at the Littlewood-Offord problem, en.wikipedia.org/wiki/Littlewood-Offord_problem. $\endgroup$
    – Ira Gessel
    Commented Nov 5, 2020 at 23:52
  • $\begingroup$ Yep! If I were to phrase it another way, how many ways can you choose $(c_1, ..., c_n) : c_i \in {-1, 1}$ and $\sum c_i \times a_i = b$ $\endgroup$
    – adamC
    Commented Nov 5, 2020 at 23:54

1 Answer 1

4
$\begingroup$

The answer is indeed ${n \choose \lfloor n/2 \rfloor}$, here is a proof. It's equivalent to finding the maximal number of vectors $v$ in the hypercube $H=\{-1,1\}^n$ with all the same dot product with a fixed vector $a$ that has no coordinate zero.

By symmetry, we can assume that $a\in \mathbb{R}_{> 0}^n$. If we associate $v\in H$ to $S_v=\{i:v_i=1\} \subseteq [n]$, note that the $S_v$ form an antichain: indeed, if $(v+d)\cdot a = v\cdot a$ for $d\in \{0,2\}^n$, then $d\cdot a=0$ which is impossible unless $d=0$ (because $a\in \mathbb{R}_{> 0}^n$ and $d\in \mathbb{R}_{\ge 0}^n$). Hence the result follows from Sperner's theorem.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .