Given parameters $n,k\in \mathbb N^+$, I'm interested in finding a set of binary vectors $V_{n,k}=\{v_1,\ldots,v_n\}$ of length that satisfies:
- $\forall i: v_i\in\{0,1\}^{z_{n,k}}$.
- The bitwise xor of any subset of $V_{n,k}$ that consists up to $k$ elements is unique. That is, if $V_1,V_2\subseteq V_{n,k}$ and $|V_1|,|V_2|\le k$, then $V_1$ and $V_2$ have different bitwise xors.
What is the smallest $z_{n,k}$ that allows such a construction?
Can we give an explicit construction of such a set $V_{n,k}$?
It seems that using the probabilistic method, it's possible to get an upper bound on $z_{n,k}$. Can we do better?
For example, $\{0001, 0011, 0110, 1011, 1111\}$ is an optimal construction for $n=5,k=2$.