One-one communication Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?The Security to the Party [Part 29]The punctual worker and the stingy bossFinding Doctor NoN people, N hat colors, and a One-Way GlassAnother village of liars and truth-tellersThe Riddle Of SomeYoung man RandolphMeasure the height of my neighbor's buildingNumber of Ways to Make the PathsCommunicating Information about Cards
Why do we bend a book to keep it straight?
How to run automated tests every day/hour/after each commit?
When a candle burns, why does the top of wick glow if bottom of flame is hottest?
Strange behavior of Object.defineProperty() in JavaScript
Triggering an ultrasonic sensor
Is grep documentation about ignoring case wrong, since it doesn't ignore case in filenames?
How come Sam didn't become Lord of Horn Hill?
MLE of the unknown radius
What initially awakened the Balrog?
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
How could we fake a moon landing now?
A term for a woman complaining about things/begging in a cute/childish way
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
Is there hard evidence that the grant peer review system performs significantly better than random?
Is it fair for a professor to grade us on the possession of past papers?
How would a mousetrap for use in space work?
Product of Mrówka space and one point compactification discrete space.
How to find the conditional CDF based on observed data in R
Sum letters are not two different
Should there be a hyphen in the construction "IT affin"?
How to play a character with a disability or mental disorder without being offensive?
Significance of Cersei's obsession with elephants?
Find 108 by using 3,4,6
How to get all distinct words within a set of lines?
One-one communication
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?The Security to the Party [Part 29]The punctual worker and the stingy bossFinding Doctor NoN people, N hat colors, and a One-Way GlassAnother village of liars and truth-tellersThe Riddle Of SomeYoung man RandolphMeasure the height of my neighbor's buildingNumber of Ways to Make the PathsCommunicating Information about Cards
$begingroup$
5 people are standing in a circle - person A needs to tell his salary to person B, but none of the others should know A's salary.
How is this possible, if every person only whispers to the person on the right and B does not stand to the immediate right of A?
riddle mathematics
New contributor
$endgroup$
add a comment |
$begingroup$
5 people are standing in a circle - person A needs to tell his salary to person B, but none of the others should know A's salary.
How is this possible, if every person only whispers to the person on the right and B does not stand to the immediate right of A?
riddle mathematics
New contributor
$endgroup$
1
$begingroup$
It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
$endgroup$
– trolley813
3 hours ago
$begingroup$
Thank you for pointing that I have edited the puzzle accordingly
$endgroup$
– ace
3 hours ago
add a comment |
$begingroup$
5 people are standing in a circle - person A needs to tell his salary to person B, but none of the others should know A's salary.
How is this possible, if every person only whispers to the person on the right and B does not stand to the immediate right of A?
riddle mathematics
New contributor
$endgroup$
5 people are standing in a circle - person A needs to tell his salary to person B, but none of the others should know A's salary.
How is this possible, if every person only whispers to the person on the right and B does not stand to the immediate right of A?
riddle mathematics
riddle mathematics
New contributor
New contributor
edited 2 hours ago
JonMark Perry
20.8k64199
20.8k64199
New contributor
asked 3 hours ago
aceace
262
262
New contributor
New contributor
1
$begingroup$
It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
$endgroup$
– trolley813
3 hours ago
$begingroup$
Thank you for pointing that I have edited the puzzle accordingly
$endgroup$
– ace
3 hours ago
add a comment |
1
$begingroup$
It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
$endgroup$
– trolley813
3 hours ago
$begingroup$
Thank you for pointing that I have edited the puzzle accordingly
$endgroup$
– ace
3 hours ago
1
1
$begingroup$
It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
$endgroup$
– trolley813
3 hours ago
$begingroup$
It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
$endgroup$
– trolley813
3 hours ago
$begingroup$
Thank you for pointing that I have edited the puzzle accordingly
$endgroup$
– ace
3 hours ago
$begingroup$
Thank you for pointing that I have edited the puzzle accordingly
$endgroup$
– ace
3 hours ago
add a comment |
5 Answers
5
active
oldest
votes
$begingroup$
B sits on the left of A. A asks for B's salary and B whispers his/her salary to A. Then A whispers
his own salary
+B's salary
counter-clockwise. When B hears what A whispered to others, A tells him/her to substract his/her own salary from it.
$endgroup$
add a comment |
$begingroup$
The most simple answer (but it can be unsuitable):
A and B can use public-key cryptography (e.g. with Diffie-Hellman key exchange). The problem becomes even easier because the message (the salary) to send is a number. So, all the messages being whispered will be in the form "Tell A(B) the number 50694, please".
$endgroup$
$begingroup$
Good solution. But I was looking for more of an addition-subtraction based solution, if any.
$endgroup$
– ace
2 hours ago
add a comment |
$begingroup$
I will speculate here a bit. Given that everybody passes exactly what he/she got and does not change anything.
If A knows B's salary, then he can just pass something like it is 700 more than yours
If A and B could communicate before the game started, then they could figure out some function to determine it and pass the numbers. For example: $F(x,y) = x^y + y*x$. So saying 14 and 3 would mean $14^3 + 14*3 = 2744 + 42 = 2786$
They could also use some coder/decoder to pass it if they both know the algorithm that's being used
$endgroup$
add a comment |
$begingroup$
How about this:
A whispers a random number, when it gets to B, then B adds a different random number and whispers along the circle. When it gets back to A, calculate the difference between the number sent and the number received. Now A can whisper the sum of A's salary and the secret number.
So the people on one side of A know number x.
The people on the other side of A know number z = x + y but neither x nor y.
The people on the fist side of A know z + s without knowing either z or s.
Only A and B know all of x, y and s (where s is the secret salary).
$endgroup$
add a comment |
$begingroup$
B starts the conversation with his own salary. When it gets to A, A says A+B. When this gets back to B, B now knows A's salary.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
);
);
ace is a new contributor. Be nice, and check out our Code of Conduct.
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%2fpuzzling.stackexchange.com%2fquestions%2f81972%2fone-one-communication%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
B sits on the left of A. A asks for B's salary and B whispers his/her salary to A. Then A whispers
his own salary
+B's salary
counter-clockwise. When B hears what A whispered to others, A tells him/her to substract his/her own salary from it.
$endgroup$
add a comment |
$begingroup$
B sits on the left of A. A asks for B's salary and B whispers his/her salary to A. Then A whispers
his own salary
+B's salary
counter-clockwise. When B hears what A whispered to others, A tells him/her to substract his/her own salary from it.
$endgroup$
add a comment |
$begingroup$
B sits on the left of A. A asks for B's salary and B whispers his/her salary to A. Then A whispers
his own salary
+B's salary
counter-clockwise. When B hears what A whispered to others, A tells him/her to substract his/her own salary from it.
$endgroup$
B sits on the left of A. A asks for B's salary and B whispers his/her salary to A. Then A whispers
his own salary
+B's salary
counter-clockwise. When B hears what A whispered to others, A tells him/her to substract his/her own salary from it.
edited 15 mins ago
answered 21 mins ago
btwbtw
1286
1286
add a comment |
add a comment |
$begingroup$
The most simple answer (but it can be unsuitable):
A and B can use public-key cryptography (e.g. with Diffie-Hellman key exchange). The problem becomes even easier because the message (the salary) to send is a number. So, all the messages being whispered will be in the form "Tell A(B) the number 50694, please".
$endgroup$
$begingroup$
Good solution. But I was looking for more of an addition-subtraction based solution, if any.
$endgroup$
– ace
2 hours ago
add a comment |
$begingroup$
The most simple answer (but it can be unsuitable):
A and B can use public-key cryptography (e.g. with Diffie-Hellman key exchange). The problem becomes even easier because the message (the salary) to send is a number. So, all the messages being whispered will be in the form "Tell A(B) the number 50694, please".
$endgroup$
$begingroup$
Good solution. But I was looking for more of an addition-subtraction based solution, if any.
$endgroup$
– ace
2 hours ago
add a comment |
$begingroup$
The most simple answer (but it can be unsuitable):
A and B can use public-key cryptography (e.g. with Diffie-Hellman key exchange). The problem becomes even easier because the message (the salary) to send is a number. So, all the messages being whispered will be in the form "Tell A(B) the number 50694, please".
$endgroup$
The most simple answer (but it can be unsuitable):
A and B can use public-key cryptography (e.g. with Diffie-Hellman key exchange). The problem becomes even easier because the message (the salary) to send is a number. So, all the messages being whispered will be in the form "Tell A(B) the number 50694, please".
answered 3 hours ago
trolley813trolley813
1,16638
1,16638
$begingroup$
Good solution. But I was looking for more of an addition-subtraction based solution, if any.
$endgroup$
– ace
2 hours ago
add a comment |
$begingroup$
Good solution. But I was looking for more of an addition-subtraction based solution, if any.
$endgroup$
– ace
2 hours ago
$begingroup$
Good solution. But I was looking for more of an addition-subtraction based solution, if any.
$endgroup$
– ace
2 hours ago
$begingroup$
Good solution. But I was looking for more of an addition-subtraction based solution, if any.
$endgroup$
– ace
2 hours ago
add a comment |
$begingroup$
I will speculate here a bit. Given that everybody passes exactly what he/she got and does not change anything.
If A knows B's salary, then he can just pass something like it is 700 more than yours
If A and B could communicate before the game started, then they could figure out some function to determine it and pass the numbers. For example: $F(x,y) = x^y + y*x$. So saying 14 and 3 would mean $14^3 + 14*3 = 2744 + 42 = 2786$
They could also use some coder/decoder to pass it if they both know the algorithm that's being used
$endgroup$
add a comment |
$begingroup$
I will speculate here a bit. Given that everybody passes exactly what he/she got and does not change anything.
If A knows B's salary, then he can just pass something like it is 700 more than yours
If A and B could communicate before the game started, then they could figure out some function to determine it and pass the numbers. For example: $F(x,y) = x^y + y*x$. So saying 14 and 3 would mean $14^3 + 14*3 = 2744 + 42 = 2786$
They could also use some coder/decoder to pass it if they both know the algorithm that's being used
$endgroup$
add a comment |
$begingroup$
I will speculate here a bit. Given that everybody passes exactly what he/she got and does not change anything.
If A knows B's salary, then he can just pass something like it is 700 more than yours
If A and B could communicate before the game started, then they could figure out some function to determine it and pass the numbers. For example: $F(x,y) = x^y + y*x$. So saying 14 and 3 would mean $14^3 + 14*3 = 2744 + 42 = 2786$
They could also use some coder/decoder to pass it if they both know the algorithm that's being used
$endgroup$
I will speculate here a bit. Given that everybody passes exactly what he/she got and does not change anything.
If A knows B's salary, then he can just pass something like it is 700 more than yours
If A and B could communicate before the game started, then they could figure out some function to determine it and pass the numbers. For example: $F(x,y) = x^y + y*x$. So saying 14 and 3 would mean $14^3 + 14*3 = 2744 + 42 = 2786$
They could also use some coder/decoder to pass it if they both know the algorithm that's being used
answered 2 hours ago
NovargNovarg
3,4171229
3,4171229
add a comment |
add a comment |
$begingroup$
How about this:
A whispers a random number, when it gets to B, then B adds a different random number and whispers along the circle. When it gets back to A, calculate the difference between the number sent and the number received. Now A can whisper the sum of A's salary and the secret number.
So the people on one side of A know number x.
The people on the other side of A know number z = x + y but neither x nor y.
The people on the fist side of A know z + s without knowing either z or s.
Only A and B know all of x, y and s (where s is the secret salary).
$endgroup$
add a comment |
$begingroup$
How about this:
A whispers a random number, when it gets to B, then B adds a different random number and whispers along the circle. When it gets back to A, calculate the difference between the number sent and the number received. Now A can whisper the sum of A's salary and the secret number.
So the people on one side of A know number x.
The people on the other side of A know number z = x + y but neither x nor y.
The people on the fist side of A know z + s without knowing either z or s.
Only A and B know all of x, y and s (where s is the secret salary).
$endgroup$
add a comment |
$begingroup$
How about this:
A whispers a random number, when it gets to B, then B adds a different random number and whispers along the circle. When it gets back to A, calculate the difference between the number sent and the number received. Now A can whisper the sum of A's salary and the secret number.
So the people on one side of A know number x.
The people on the other side of A know number z = x + y but neither x nor y.
The people on the fist side of A know z + s without knowing either z or s.
Only A and B know all of x, y and s (where s is the secret salary).
$endgroup$
How about this:
A whispers a random number, when it gets to B, then B adds a different random number and whispers along the circle. When it gets back to A, calculate the difference between the number sent and the number received. Now A can whisper the sum of A's salary and the secret number.
So the people on one side of A know number x.
The people on the other side of A know number z = x + y but neither x nor y.
The people on the fist side of A know z + s without knowing either z or s.
Only A and B know all of x, y and s (where s is the secret salary).
answered 31 mins ago
JayJay
2,6692921
2,6692921
add a comment |
add a comment |
$begingroup$
B starts the conversation with his own salary. When it gets to A, A says A+B. When this gets back to B, B now knows A's salary.
$endgroup$
add a comment |
$begingroup$
B starts the conversation with his own salary. When it gets to A, A says A+B. When this gets back to B, B now knows A's salary.
$endgroup$
add a comment |
$begingroup$
B starts the conversation with his own salary. When it gets to A, A says A+B. When this gets back to B, B now knows A's salary.
$endgroup$
B starts the conversation with his own salary. When it gets to A, A says A+B. When this gets back to B, B now knows A's salary.
answered 1 min ago
JonMark PerryJonMark Perry
20.8k64199
20.8k64199
add a comment |
add a comment |
ace is a new contributor. Be nice, and check out our Code of Conduct.
ace is a new contributor. Be nice, and check out our Code of Conduct.
ace is a new contributor. Be nice, and check out our Code of Conduct.
ace is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Puzzling 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%2fpuzzling.stackexchange.com%2fquestions%2f81972%2fone-one-communication%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
1
$begingroup$
It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
$endgroup$
– trolley813
3 hours ago
$begingroup$
Thank you for pointing that I have edited the puzzle accordingly
$endgroup$
– ace
3 hours ago