XOR of 6 numbers in pair of 3
$begingroup$
I have this question where u are given 6 numbers with indices 1,2,3,4,5,6 and u are given the xor of these numbers in pair of 3.
$$x_1oplus x_2⊕x_3=a\
x_2⊕x_3⊕x_4=b\
x_3⊕x_4⊕x_5=c\
x_4⊕x_5⊕x_6=d\
x_5⊕x_6⊕x_1=e\
x_6⊕x_1⊕x_2=f$$
and we need to find all the six numbers. What i tried was to take xor of these triplets to get xor of any other pair (which worked for me for 4 and 5 numbers) but this method is not working for 6 numbers.
my attempt for n=4.
$$x_1⊕x_2⊕x_3=a\
x_2⊕x_3⊕x_4=b\
x_3⊕x_4⊕x_1=c\
x_4⊕x_1oplus x_2=d$$
$a⊕b⊕c$ gives me the 3rd number. Similarly we can get the rest of the numbers, but i cant figure out a solution for 6 numbers.
elementary-number-theory logic
$endgroup$
add a comment |
$begingroup$
I have this question where u are given 6 numbers with indices 1,2,3,4,5,6 and u are given the xor of these numbers in pair of 3.
$$x_1oplus x_2⊕x_3=a\
x_2⊕x_3⊕x_4=b\
x_3⊕x_4⊕x_5=c\
x_4⊕x_5⊕x_6=d\
x_5⊕x_6⊕x_1=e\
x_6⊕x_1⊕x_2=f$$
and we need to find all the six numbers. What i tried was to take xor of these triplets to get xor of any other pair (which worked for me for 4 and 5 numbers) but this method is not working for 6 numbers.
my attempt for n=4.
$$x_1⊕x_2⊕x_3=a\
x_2⊕x_3⊕x_4=b\
x_3⊕x_4⊕x_1=c\
x_4⊕x_1oplus x_2=d$$
$a⊕b⊕c$ gives me the 3rd number. Similarly we can get the rest of the numbers, but i cant figure out a solution for 6 numbers.
elementary-number-theory logic
$endgroup$
add a comment |
$begingroup$
I have this question where u are given 6 numbers with indices 1,2,3,4,5,6 and u are given the xor of these numbers in pair of 3.
$$x_1oplus x_2⊕x_3=a\
x_2⊕x_3⊕x_4=b\
x_3⊕x_4⊕x_5=c\
x_4⊕x_5⊕x_6=d\
x_5⊕x_6⊕x_1=e\
x_6⊕x_1⊕x_2=f$$
and we need to find all the six numbers. What i tried was to take xor of these triplets to get xor of any other pair (which worked for me for 4 and 5 numbers) but this method is not working for 6 numbers.
my attempt for n=4.
$$x_1⊕x_2⊕x_3=a\
x_2⊕x_3⊕x_4=b\
x_3⊕x_4⊕x_1=c\
x_4⊕x_1oplus x_2=d$$
$a⊕b⊕c$ gives me the 3rd number. Similarly we can get the rest of the numbers, but i cant figure out a solution for 6 numbers.
elementary-number-theory logic
$endgroup$
I have this question where u are given 6 numbers with indices 1,2,3,4,5,6 and u are given the xor of these numbers in pair of 3.
$$x_1oplus x_2⊕x_3=a\
x_2⊕x_3⊕x_4=b\
x_3⊕x_4⊕x_5=c\
x_4⊕x_5⊕x_6=d\
x_5⊕x_6⊕x_1=e\
x_6⊕x_1⊕x_2=f$$
and we need to find all the six numbers. What i tried was to take xor of these triplets to get xor of any other pair (which worked for me for 4 and 5 numbers) but this method is not working for 6 numbers.
my attempt for n=4.
$$x_1⊕x_2⊕x_3=a\
x_2⊕x_3⊕x_4=b\
x_3⊕x_4⊕x_1=c\
x_4⊕x_1oplus x_2=d$$
$a⊕b⊕c$ gives me the 3rd number. Similarly we can get the rest of the numbers, but i cant figure out a solution for 6 numbers.
elementary-number-theory logic
elementary-number-theory logic
edited Dec 12 '18 at 8:59
Ivan Neretin
8,93021535
8,93021535
asked Dec 12 '18 at 8:30
bigibigi
1
1
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
Guide:
We have
$$x_1 oplus x_2 oplus x_3 oplus x_4 oplus x_5 oplus x_6= aoplus d= b oplus e = c oplus f$$
Hence, to be feasible, we require $$aoplus d= b oplus e = c oplus f.$$
Suppose the system above holds, to solve the system, we first choose our desired $x_5$ and $x_6$ and solve for $x_4, x_3, x_2, x_1$ in that order.
$endgroup$
add a comment |
$begingroup$
You can't do that.
Say, our xors of triplets are $(a,b,c,d,e,f)=(0,0,0,0,0,0)$. Can we guess what the numbers were?
Why, sure: $(x_1,x_2,x_3,x_4,x_5,x_6)=(0,0,0,0,0,0)$.
But wait, there is another solution: $(x_1,x_2,x_3,x_4,x_5,x_6)=(1,2,3,1,2,3)$. (Don't take my word for it! Check it yourself, make sure it works.)
And there are many more: $(x_1,x_2,x_3,x_4,x_5,x_6)=(3,4,7,3,4,7)$... and so on.
How can that be, might you ask? After all, we were able to solve the system for $n=4$ and $5$, weren't we?
Well, it just turns out there is something peculiar about the number $6$ that makes it behave differently from $4$ and $5$. What is this trait I leave for you to discover.
$endgroup$
add a comment |
$begingroup$
for $6$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_1&=e\
x_6⊕x_5⊕x_2&=f
end{align*}
there is actually a pattern, let me give another example:
for $9$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_7&=e\
x_6⊕x_7⊕x_8&=f\
x_7⊕x_8⊕x_9&=g\
x_8⊕x_9⊕x_1&=h\
x_9⊕x_5⊕x_2&=i
end{align*}
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3036408%2fxor-of-6-numbers-in-pair-of-3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Guide:
We have
$$x_1 oplus x_2 oplus x_3 oplus x_4 oplus x_5 oplus x_6= aoplus d= b oplus e = c oplus f$$
Hence, to be feasible, we require $$aoplus d= b oplus e = c oplus f.$$
Suppose the system above holds, to solve the system, we first choose our desired $x_5$ and $x_6$ and solve for $x_4, x_3, x_2, x_1$ in that order.
$endgroup$
add a comment |
$begingroup$
Guide:
We have
$$x_1 oplus x_2 oplus x_3 oplus x_4 oplus x_5 oplus x_6= aoplus d= b oplus e = c oplus f$$
Hence, to be feasible, we require $$aoplus d= b oplus e = c oplus f.$$
Suppose the system above holds, to solve the system, we first choose our desired $x_5$ and $x_6$ and solve for $x_4, x_3, x_2, x_1$ in that order.
$endgroup$
add a comment |
$begingroup$
Guide:
We have
$$x_1 oplus x_2 oplus x_3 oplus x_4 oplus x_5 oplus x_6= aoplus d= b oplus e = c oplus f$$
Hence, to be feasible, we require $$aoplus d= b oplus e = c oplus f.$$
Suppose the system above holds, to solve the system, we first choose our desired $x_5$ and $x_6$ and solve for $x_4, x_3, x_2, x_1$ in that order.
$endgroup$
Guide:
We have
$$x_1 oplus x_2 oplus x_3 oplus x_4 oplus x_5 oplus x_6= aoplus d= b oplus e = c oplus f$$
Hence, to be feasible, we require $$aoplus d= b oplus e = c oplus f.$$
Suppose the system above holds, to solve the system, we first choose our desired $x_5$ and $x_6$ and solve for $x_4, x_3, x_2, x_1$ in that order.
answered Dec 12 '18 at 8:46
Siong Thye GohSiong Thye Goh
103k1468120
103k1468120
add a comment |
add a comment |
$begingroup$
You can't do that.
Say, our xors of triplets are $(a,b,c,d,e,f)=(0,0,0,0,0,0)$. Can we guess what the numbers were?
Why, sure: $(x_1,x_2,x_3,x_4,x_5,x_6)=(0,0,0,0,0,0)$.
But wait, there is another solution: $(x_1,x_2,x_3,x_4,x_5,x_6)=(1,2,3,1,2,3)$. (Don't take my word for it! Check it yourself, make sure it works.)
And there are many more: $(x_1,x_2,x_3,x_4,x_5,x_6)=(3,4,7,3,4,7)$... and so on.
How can that be, might you ask? After all, we were able to solve the system for $n=4$ and $5$, weren't we?
Well, it just turns out there is something peculiar about the number $6$ that makes it behave differently from $4$ and $5$. What is this trait I leave for you to discover.
$endgroup$
add a comment |
$begingroup$
You can't do that.
Say, our xors of triplets are $(a,b,c,d,e,f)=(0,0,0,0,0,0)$. Can we guess what the numbers were?
Why, sure: $(x_1,x_2,x_3,x_4,x_5,x_6)=(0,0,0,0,0,0)$.
But wait, there is another solution: $(x_1,x_2,x_3,x_4,x_5,x_6)=(1,2,3,1,2,3)$. (Don't take my word for it! Check it yourself, make sure it works.)
And there are many more: $(x_1,x_2,x_3,x_4,x_5,x_6)=(3,4,7,3,4,7)$... and so on.
How can that be, might you ask? After all, we were able to solve the system for $n=4$ and $5$, weren't we?
Well, it just turns out there is something peculiar about the number $6$ that makes it behave differently from $4$ and $5$. What is this trait I leave for you to discover.
$endgroup$
add a comment |
$begingroup$
You can't do that.
Say, our xors of triplets are $(a,b,c,d,e,f)=(0,0,0,0,0,0)$. Can we guess what the numbers were?
Why, sure: $(x_1,x_2,x_3,x_4,x_5,x_6)=(0,0,0,0,0,0)$.
But wait, there is another solution: $(x_1,x_2,x_3,x_4,x_5,x_6)=(1,2,3,1,2,3)$. (Don't take my word for it! Check it yourself, make sure it works.)
And there are many more: $(x_1,x_2,x_3,x_4,x_5,x_6)=(3,4,7,3,4,7)$... and so on.
How can that be, might you ask? After all, we were able to solve the system for $n=4$ and $5$, weren't we?
Well, it just turns out there is something peculiar about the number $6$ that makes it behave differently from $4$ and $5$. What is this trait I leave for you to discover.
$endgroup$
You can't do that.
Say, our xors of triplets are $(a,b,c,d,e,f)=(0,0,0,0,0,0)$. Can we guess what the numbers were?
Why, sure: $(x_1,x_2,x_3,x_4,x_5,x_6)=(0,0,0,0,0,0)$.
But wait, there is another solution: $(x_1,x_2,x_3,x_4,x_5,x_6)=(1,2,3,1,2,3)$. (Don't take my word for it! Check it yourself, make sure it works.)
And there are many more: $(x_1,x_2,x_3,x_4,x_5,x_6)=(3,4,7,3,4,7)$... and so on.
How can that be, might you ask? After all, we were able to solve the system for $n=4$ and $5$, weren't we?
Well, it just turns out there is something peculiar about the number $6$ that makes it behave differently from $4$ and $5$. What is this trait I leave for you to discover.
answered Dec 12 '18 at 8:46
Ivan NeretinIvan Neretin
8,93021535
8,93021535
add a comment |
add a comment |
$begingroup$
for $6$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_1&=e\
x_6⊕x_5⊕x_2&=f
end{align*}
there is actually a pattern, let me give another example:
for $9$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_7&=e\
x_6⊕x_7⊕x_8&=f\
x_7⊕x_8⊕x_9&=g\
x_8⊕x_9⊕x_1&=h\
x_9⊕x_5⊕x_2&=i
end{align*}
$endgroup$
add a comment |
$begingroup$
for $6$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_1&=e\
x_6⊕x_5⊕x_2&=f
end{align*}
there is actually a pattern, let me give another example:
for $9$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_7&=e\
x_6⊕x_7⊕x_8&=f\
x_7⊕x_8⊕x_9&=g\
x_8⊕x_9⊕x_1&=h\
x_9⊕x_5⊕x_2&=i
end{align*}
$endgroup$
add a comment |
$begingroup$
for $6$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_1&=e\
x_6⊕x_5⊕x_2&=f
end{align*}
there is actually a pattern, let me give another example:
for $9$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_7&=e\
x_6⊕x_7⊕x_8&=f\
x_7⊕x_8⊕x_9&=g\
x_8⊕x_9⊕x_1&=h\
x_9⊕x_5⊕x_2&=i
end{align*}
$endgroup$
for $6$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_1&=e\
x_6⊕x_5⊕x_2&=f
end{align*}
there is actually a pattern, let me give another example:
for $9$ numbers you can try:
begin{align*}
x_1⊕x_2⊕x_3&=a\
x_1⊕x_2⊕x_4&=b\
x_3⊕x_4⊕x_5&=c\
x_3⊕x_4⊕x_6&=d\
x_5⊕x_6⊕x_7&=e\
x_6⊕x_7⊕x_8&=f\
x_7⊕x_8⊕x_9&=g\
x_8⊕x_9⊕x_1&=h\
x_9⊕x_5⊕x_2&=i
end{align*}
edited Dec 14 '18 at 14:09
Tianlalu
3,27521238
3,27521238
answered Dec 14 '18 at 13:38
glennmarkglennmark
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3036408%2fxor-of-6-numbers-in-pair-of-3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown