Question:
A balanced bipartition of set $X$ splits $X$ into two parts $A$ and $B$ so that the sizes of $A$ and $B$ differ by at most $1$. In particular, when $X$ is even, $|A| = |B| = \frac{|X|}{2}$; when $|X|$ is odd, $|A| = |B|—1 = \lfloor |X|/2\rfloor$. We refer to the bipartition as $A \cup B$. For example, $\{b, e\} \cup \{a, c,d\}$ and $\{a,c\} \cup \{b, d, e\}$ are two different balanced bipartitions of {a,b,c,d,e}. On the other hand, we treat $\{a,b\} \cup \{c,d\}$ and $\{c,d\} \cup \{a,b\}$ as the same bipartition of $\{a, b, c,d\}$.
Solution:
For $|X| = 2$ we have $\{1\}\cup\{2\}$
For $|X| = 3$ we have $\{1,2\}\cup\{3\}$, $\{1,3\}\cup\{2\}$, $\{2,3\}\cup\{1\}$
For $|X| = 4$ we have $\{1,2\}\cup\{3,4\}$, $\{1,4\}\cup\{2,3\}$, $\{1,3\}\cup\{2,4\}$
My thinking is the number of ways are:
- If $X$ is even then $\frac{\binom{X}{\frac{X}{2}}}{2}$
- If $X$ is odd then $\binom{X}{\lfloor \frac{X}{2} \rfloor}$
But I am unsure if this is correct or how to prove it.