Given XOR values of 3 indices how can we find the numbers? Like say if I have indices from 1 to 7, how can I find the numbers by given XOR values?
I have:
$X_{1} \oplus X_{3} \oplus X_{5}=V_1$
$X_{1} \oplus X_{3} \oplus X_{6}=V_2$
- $X_{1} \oplus X_{4} \oplus X_{6}=V_3$
- $X_{2} \oplus X_{4} \oplus X_{6}=V_4$
- $X_{2} \oplus X_{4} \oplus X_{7}=V_5$
- $X_{2} \oplus X_{5} \oplus X_{7}=V_6$
- $X_{3} \oplus X_{5} \oplus X_{7}=V_7$
How can I find any $X_{i}$ from the above data? Is there any pattern?
Guide:
Let me solve for $X_7$.
First, I will compute $$X_1 \oplus \ldots \oplus X_7 = V_1 \oplus \ldots \oplus V_7$$
Then I can compute
$$X_1 \oplus X_2 \oplus X_3 \oplus X_4 \oplus X_5 \oplus X_6 = V_1 \oplus V_4$$
by considering the first and the fourth.
Now, we can compute $X_7$ by summing these two equations.