The question is simple but require some definitions. I came across resolving a certain inequality. If there is no closed answer is there a related sequence describing the situation?
Let
$$S\ :=\ \{X=(x_1,\ldots,x_n)\in(\mathbb{R}\setminus\{0\})^n\,:\ \exists_{(i,j)} \ x_i\cdot x_j<0\}.$$
For $k$, $1\le k\le n$, there is $\binom{n}{k}$, $k$-tuples choices among the entries of $X\in S$. A choice is denoted by $X_k^{(j)}=(x_1^{(j)},\ldots,x_k^{(j)})$, $j=1,\ldots,\binom{n}{k}$. Let $P_k^{(j)}=\prod_{i=1}^kx_i^{(j)}$.
What is the maximum (minimum) number of positive products $P_k^{(j)}$ over the set $S$ for $k$ fixed? over $S$ and $k$ variable?
The cases $k=1,2$ are perhaps direct but for else it may be not simple.
$k=2$ , you should get the maximum number of positive products is when the vector $X$ has a single positive entry and thus equals $\binom{n-1}{2}$. The minimum is for $X$ having exactly $\lfloor n/2\rfloor$ positive entries