One-one communication












16












$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?










share|improve this question









New contributor




ace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$








  • 2




    $begingroup$
    It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
    $endgroup$
    – trolley813
    Apr 19 at 7:45










  • $begingroup$
    Thank you for pointing that I have edited the puzzle accordingly
    $endgroup$
    – ace
    Apr 19 at 7:49
















16












$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?










share|improve this question









New contributor




ace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$








  • 2




    $begingroup$
    It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
    $endgroup$
    – trolley813
    Apr 19 at 7:45










  • $begingroup$
    Thank you for pointing that I have edited the puzzle accordingly
    $endgroup$
    – ace
    Apr 19 at 7:49














16












16








16


1



$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?










share|improve this question









New contributor




ace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$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






share|improve this question









New contributor




ace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




ace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Apr 19 at 9:03









JonMark Perry

20.9k64199




20.9k64199






New contributor




ace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 19 at 7:28









aceace

835




835




New contributor




ace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





ace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






ace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 2




    $begingroup$
    It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
    $endgroup$
    – trolley813
    Apr 19 at 7:45










  • $begingroup$
    Thank you for pointing that I have edited the puzzle accordingly
    $endgroup$
    – ace
    Apr 19 at 7:49














  • 2




    $begingroup$
    It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
    $endgroup$
    – trolley813
    Apr 19 at 7:45










  • $begingroup$
    Thank you for pointing that I have edited the puzzle accordingly
    $endgroup$
    – ace
    Apr 19 at 7:49








2




2




$begingroup$
It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
$endgroup$
– trolley813
Apr 19 at 7:45




$begingroup$
It can be possible if $B$ stands on the right from $A$ :) So, please clarify the puzzle.
$endgroup$
– trolley813
Apr 19 at 7:45












$begingroup$
Thank you for pointing that I have edited the puzzle accordingly
$endgroup$
– ace
Apr 19 at 7:49




$begingroup$
Thank you for pointing that I have edited the puzzle accordingly
$endgroup$
– ace
Apr 19 at 7:49










9 Answers
9






active

oldest

votes


















16












$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).







share|improve this answer









$endgroup$













  • $begingroup$
    You’ve over-complicated it. See JonMark Perry’s answer and Chris Sunami’s answer for the same idea, but simpler.
    $endgroup$
    – Peregrine Rook
    2 days ago



















13












$begingroup$

Although many people have given this same general idea, it seems like they have all over-complicated a very simple solution. Assuming the other members of the circle are cooperative, and pass along messages accurately:




All B needs to do is pick any random number and pass it to the right. When A receives it, he subtracts it from his own salary and passes along the new number. When that reaches B he can reconstruct the original. Only A & B know both numbers. People between A and B (to the right of A) know the encoded salary only, people between B and A (to the left of A) know only the code number.




The instructions can be passed quite openly around the circle assuming the other members are cooperative, honest and accurate.






share|improve this answer









$endgroup$





















    7












    $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".







    share|improve this answer









    $endgroup$









    • 2




      $begingroup$
      Good solution. But I was looking for more of an addition-subtraction based solution, if any.
      $endgroup$
      – ace
      Apr 19 at 8:53






    • 2




      $begingroup$
      DH kex is only safe against eavesdropping. In this case, the messages in the network can be actively controlled by the adversaries, and since A and B don't have a way to authenticate theirselves to each other, MITM (impersonation) attacks will thwart any attempt of establishing secure communications.
      $endgroup$
      – Bass
      Apr 20 at 11:20










    • $begingroup$
      But the question is only asking for confidentiality.  None of the other answers (except perhaps mine) defend against an attack on integrity.
      $endgroup$
      – Peregrine Rook
      2 days ago



















    6












    $begingroup$


    B starts the conversation with any number B. When it gets to A, A says SA+B, where SA is A's salary. When this gets back to B, B now knows A's salary (and no-one other than A does).







    share|improve this answer











    $endgroup$













    • $begingroup$
      How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
      $endgroup$
      – Peregrine Rook
      Apr 19 at 22:29










    • $begingroup$
      @PeregrineRook; that was the major difference, but I've just noticed that B could say any number.
      $endgroup$
      – JonMark Perry
      Apr 20 at 3:54



















    4












    $begingroup$

    This can be :)




    B sits on the left of A and ask A's salary. And no one know what
    B ask to A. Then A whispers his own salary to the person on the right.
    Finally B get's answer! :)







    share|improve this answer










    New contributor




    Hafsa Elif Özçiftci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






    $endgroup$









    • 2




      $begingroup$
      +1 Good thinking outside the box. I can't say more without giving away your answer, but in many ways I think this is the best answer, although not a mathematical one.
      $endgroup$
      – Chris Sunami
      Apr 19 at 14:34






    • 2




      $begingroup$
      Sounds like security through obscurity. Or am I missing something?
      $endgroup$
      – Peregrine Rook
      Apr 19 at 22:36










    • $begingroup$
      Maybe math calculate every thing. But sometimes we have to think others ways. Thanks for your comment :) @ChrisSunami
      $endgroup$
      – Hafsa Elif Özçiftci
      yesterday










    • $begingroup$
      Yeah, that's what I thought actually. @PeregrineRook
      $endgroup$
      – Hafsa Elif Özçiftci
      yesterday



















    3












    $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.







    share|improve this answer











    $endgroup$









    • 1




      $begingroup$
      Nit-pick: the people are standing in a circle.    :-)    ⁠
      $endgroup$
      – Peregrine Rook
      Apr 19 at 22:28



















    2












    $begingroup$

    And now for something completely different:




    A and B both speak a language
    (for sake of completeness, let’s say Vulcan)
    that none of the others know. 
    But the others can repeat Vulcan phonetically. 
    So A whispers their salary in Vulcan to the person to his right,
    who relays it (phonetically) to the next person, …. 
    Eventually it reaches B, who is the only person who can understand it.







    share|improve this answer









    $endgroup$





















      1












      $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







      share|improve this answer









      $endgroup$





















        1












        $begingroup$

        Try this




        B tell his salary to one who sits beside him, and when A receive that, A add that number with his salary, and pass it to one who sits next to him and add a message saying that B have to subtract with his salary. Say B salary is 20K and A was 30K then A tells the person next to him as 50K minus B salary.







        share|improve this answer









        $endgroup$









        • 1




          $begingroup$
          How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
          $endgroup$
          – Peregrine Rook
          Apr 19 at 22:43












        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.










        draft saved

        draft discarded


















        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

























        9 Answers
        9






        active

        oldest

        votes








        9 Answers
        9






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        16












        $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).







        share|improve this answer









        $endgroup$













        • $begingroup$
          You’ve over-complicated it. See JonMark Perry’s answer and Chris Sunami’s answer for the same idea, but simpler.
          $endgroup$
          – Peregrine Rook
          2 days ago
















        16












        $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).







        share|improve this answer









        $endgroup$













        • $begingroup$
          You’ve over-complicated it. See JonMark Perry’s answer and Chris Sunami’s answer for the same idea, but simpler.
          $endgroup$
          – Peregrine Rook
          2 days ago














        16












        16








        16





        $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).







        share|improve this answer









        $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).








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 19 at 10:46









        JayJay

        2,9342922




        2,9342922












        • $begingroup$
          You’ve over-complicated it. See JonMark Perry’s answer and Chris Sunami’s answer for the same idea, but simpler.
          $endgroup$
          – Peregrine Rook
          2 days ago


















        • $begingroup$
          You’ve over-complicated it. See JonMark Perry’s answer and Chris Sunami’s answer for the same idea, but simpler.
          $endgroup$
          – Peregrine Rook
          2 days ago
















        $begingroup$
        You’ve over-complicated it. See JonMark Perry’s answer and Chris Sunami’s answer for the same idea, but simpler.
        $endgroup$
        – Peregrine Rook
        2 days ago




        $begingroup$
        You’ve over-complicated it. See JonMark Perry’s answer and Chris Sunami’s answer for the same idea, but simpler.
        $endgroup$
        – Peregrine Rook
        2 days ago











        13












        $begingroup$

        Although many people have given this same general idea, it seems like they have all over-complicated a very simple solution. Assuming the other members of the circle are cooperative, and pass along messages accurately:




        All B needs to do is pick any random number and pass it to the right. When A receives it, he subtracts it from his own salary and passes along the new number. When that reaches B he can reconstruct the original. Only A & B know both numbers. People between A and B (to the right of A) know the encoded salary only, people between B and A (to the left of A) know only the code number.




        The instructions can be passed quite openly around the circle assuming the other members are cooperative, honest and accurate.






        share|improve this answer









        $endgroup$


















          13












          $begingroup$

          Although many people have given this same general idea, it seems like they have all over-complicated a very simple solution. Assuming the other members of the circle are cooperative, and pass along messages accurately:




          All B needs to do is pick any random number and pass it to the right. When A receives it, he subtracts it from his own salary and passes along the new number. When that reaches B he can reconstruct the original. Only A & B know both numbers. People between A and B (to the right of A) know the encoded salary only, people between B and A (to the left of A) know only the code number.




          The instructions can be passed quite openly around the circle assuming the other members are cooperative, honest and accurate.






          share|improve this answer









          $endgroup$
















            13












            13








            13





            $begingroup$

            Although many people have given this same general idea, it seems like they have all over-complicated a very simple solution. Assuming the other members of the circle are cooperative, and pass along messages accurately:




            All B needs to do is pick any random number and pass it to the right. When A receives it, he subtracts it from his own salary and passes along the new number. When that reaches B he can reconstruct the original. Only A & B know both numbers. People between A and B (to the right of A) know the encoded salary only, people between B and A (to the left of A) know only the code number.




            The instructions can be passed quite openly around the circle assuming the other members are cooperative, honest and accurate.






            share|improve this answer









            $endgroup$



            Although many people have given this same general idea, it seems like they have all over-complicated a very simple solution. Assuming the other members of the circle are cooperative, and pass along messages accurately:




            All B needs to do is pick any random number and pass it to the right. When A receives it, he subtracts it from his own salary and passes along the new number. When that reaches B he can reconstruct the original. Only A & B know both numbers. People between A and B (to the right of A) know the encoded salary only, people between B and A (to the left of A) know only the code number.




            The instructions can be passed quite openly around the circle assuming the other members are cooperative, honest and accurate.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 19 at 14:26









            Chris SunamiChris Sunami

            40128




            40128























                7












                $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".







                share|improve this answer









                $endgroup$









                • 2




                  $begingroup$
                  Good solution. But I was looking for more of an addition-subtraction based solution, if any.
                  $endgroup$
                  – ace
                  Apr 19 at 8:53






                • 2




                  $begingroup$
                  DH kex is only safe against eavesdropping. In this case, the messages in the network can be actively controlled by the adversaries, and since A and B don't have a way to authenticate theirselves to each other, MITM (impersonation) attacks will thwart any attempt of establishing secure communications.
                  $endgroup$
                  – Bass
                  Apr 20 at 11:20










                • $begingroup$
                  But the question is only asking for confidentiality.  None of the other answers (except perhaps mine) defend against an attack on integrity.
                  $endgroup$
                  – Peregrine Rook
                  2 days ago
















                7












                $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".







                share|improve this answer









                $endgroup$









                • 2




                  $begingroup$
                  Good solution. But I was looking for more of an addition-subtraction based solution, if any.
                  $endgroup$
                  – ace
                  Apr 19 at 8:53






                • 2




                  $begingroup$
                  DH kex is only safe against eavesdropping. In this case, the messages in the network can be actively controlled by the adversaries, and since A and B don't have a way to authenticate theirselves to each other, MITM (impersonation) attacks will thwart any attempt of establishing secure communications.
                  $endgroup$
                  – Bass
                  Apr 20 at 11:20










                • $begingroup$
                  But the question is only asking for confidentiality.  None of the other answers (except perhaps mine) defend against an attack on integrity.
                  $endgroup$
                  – Peregrine Rook
                  2 days ago














                7












                7








                7





                $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".







                share|improve this answer









                $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".








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 19 at 7:58









                trolley813trolley813

                1,32638




                1,32638








                • 2




                  $begingroup$
                  Good solution. But I was looking for more of an addition-subtraction based solution, if any.
                  $endgroup$
                  – ace
                  Apr 19 at 8:53






                • 2




                  $begingroup$
                  DH kex is only safe against eavesdropping. In this case, the messages in the network can be actively controlled by the adversaries, and since A and B don't have a way to authenticate theirselves to each other, MITM (impersonation) attacks will thwart any attempt of establishing secure communications.
                  $endgroup$
                  – Bass
                  Apr 20 at 11:20










                • $begingroup$
                  But the question is only asking for confidentiality.  None of the other answers (except perhaps mine) defend against an attack on integrity.
                  $endgroup$
                  – Peregrine Rook
                  2 days ago














                • 2




                  $begingroup$
                  Good solution. But I was looking for more of an addition-subtraction based solution, if any.
                  $endgroup$
                  – ace
                  Apr 19 at 8:53






                • 2




                  $begingroup$
                  DH kex is only safe against eavesdropping. In this case, the messages in the network can be actively controlled by the adversaries, and since A and B don't have a way to authenticate theirselves to each other, MITM (impersonation) attacks will thwart any attempt of establishing secure communications.
                  $endgroup$
                  – Bass
                  Apr 20 at 11:20










                • $begingroup$
                  But the question is only asking for confidentiality.  None of the other answers (except perhaps mine) defend against an attack on integrity.
                  $endgroup$
                  – Peregrine Rook
                  2 days ago








                2




                2




                $begingroup$
                Good solution. But I was looking for more of an addition-subtraction based solution, if any.
                $endgroup$
                – ace
                Apr 19 at 8:53




                $begingroup$
                Good solution. But I was looking for more of an addition-subtraction based solution, if any.
                $endgroup$
                – ace
                Apr 19 at 8:53




                2




                2




                $begingroup$
                DH kex is only safe against eavesdropping. In this case, the messages in the network can be actively controlled by the adversaries, and since A and B don't have a way to authenticate theirselves to each other, MITM (impersonation) attacks will thwart any attempt of establishing secure communications.
                $endgroup$
                – Bass
                Apr 20 at 11:20




                $begingroup$
                DH kex is only safe against eavesdropping. In this case, the messages in the network can be actively controlled by the adversaries, and since A and B don't have a way to authenticate theirselves to each other, MITM (impersonation) attacks will thwart any attempt of establishing secure communications.
                $endgroup$
                – Bass
                Apr 20 at 11:20












                $begingroup$
                But the question is only asking for confidentiality.  None of the other answers (except perhaps mine) defend against an attack on integrity.
                $endgroup$
                – Peregrine Rook
                2 days ago




                $begingroup$
                But the question is only asking for confidentiality.  None of the other answers (except perhaps mine) defend against an attack on integrity.
                $endgroup$
                – Peregrine Rook
                2 days ago











                6












                $begingroup$


                B starts the conversation with any number B. When it gets to A, A says SA+B, where SA is A's salary. When this gets back to B, B now knows A's salary (and no-one other than A does).







                share|improve this answer











                $endgroup$













                • $begingroup$
                  How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:29










                • $begingroup$
                  @PeregrineRook; that was the major difference, but I've just noticed that B could say any number.
                  $endgroup$
                  – JonMark Perry
                  Apr 20 at 3:54
















                6












                $begingroup$


                B starts the conversation with any number B. When it gets to A, A says SA+B, where SA is A's salary. When this gets back to B, B now knows A's salary (and no-one other than A does).







                share|improve this answer











                $endgroup$













                • $begingroup$
                  How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:29










                • $begingroup$
                  @PeregrineRook; that was the major difference, but I've just noticed that B could say any number.
                  $endgroup$
                  – JonMark Perry
                  Apr 20 at 3:54














                6












                6








                6





                $begingroup$


                B starts the conversation with any number B. When it gets to A, A says SA+B, where SA is A's salary. When this gets back to B, B now knows A's salary (and no-one other than A does).







                share|improve this answer











                $endgroup$




                B starts the conversation with any number B. When it gets to A, A says SA+B, where SA is A's salary. When this gets back to B, B now knows A's salary (and no-one other than A does).








                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 20 at 3:55

























                answered Apr 19 at 11:16









                JonMark PerryJonMark Perry

                20.9k64199




                20.9k64199












                • $begingroup$
                  How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:29










                • $begingroup$
                  @PeregrineRook; that was the major difference, but I've just noticed that B could say any number.
                  $endgroup$
                  – JonMark Perry
                  Apr 20 at 3:54


















                • $begingroup$
                  How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:29










                • $begingroup$
                  @PeregrineRook; that was the major difference, but I've just noticed that B could say any number.
                  $endgroup$
                  – JonMark Perry
                  Apr 20 at 3:54
















                $begingroup$
                How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                $endgroup$
                – Peregrine Rook
                Apr 19 at 22:29




                $begingroup$
                How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                $endgroup$
                – Peregrine Rook
                Apr 19 at 22:29












                $begingroup$
                @PeregrineRook; that was the major difference, but I've just noticed that B could say any number.
                $endgroup$
                – JonMark Perry
                Apr 20 at 3:54




                $begingroup$
                @PeregrineRook; that was the major difference, but I've just noticed that B could say any number.
                $endgroup$
                – JonMark Perry
                Apr 20 at 3:54











                4












                $begingroup$

                This can be :)




                B sits on the left of A and ask A's salary. And no one know what
                B ask to A. Then A whispers his own salary to the person on the right.
                Finally B get's answer! :)







                share|improve this answer










                New contributor




                Hafsa Elif Özçiftci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                $endgroup$









                • 2




                  $begingroup$
                  +1 Good thinking outside the box. I can't say more without giving away your answer, but in many ways I think this is the best answer, although not a mathematical one.
                  $endgroup$
                  – Chris Sunami
                  Apr 19 at 14:34






                • 2




                  $begingroup$
                  Sounds like security through obscurity. Or am I missing something?
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:36










                • $begingroup$
                  Maybe math calculate every thing. But sometimes we have to think others ways. Thanks for your comment :) @ChrisSunami
                  $endgroup$
                  – Hafsa Elif Özçiftci
                  yesterday










                • $begingroup$
                  Yeah, that's what I thought actually. @PeregrineRook
                  $endgroup$
                  – Hafsa Elif Özçiftci
                  yesterday
















                4












                $begingroup$

                This can be :)




                B sits on the left of A and ask A's salary. And no one know what
                B ask to A. Then A whispers his own salary to the person on the right.
                Finally B get's answer! :)







                share|improve this answer










                New contributor




                Hafsa Elif Özçiftci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                $endgroup$









                • 2




                  $begingroup$
                  +1 Good thinking outside the box. I can't say more without giving away your answer, but in many ways I think this is the best answer, although not a mathematical one.
                  $endgroup$
                  – Chris Sunami
                  Apr 19 at 14:34






                • 2




                  $begingroup$
                  Sounds like security through obscurity. Or am I missing something?
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:36










                • $begingroup$
                  Maybe math calculate every thing. But sometimes we have to think others ways. Thanks for your comment :) @ChrisSunami
                  $endgroup$
                  – Hafsa Elif Özçiftci
                  yesterday










                • $begingroup$
                  Yeah, that's what I thought actually. @PeregrineRook
                  $endgroup$
                  – Hafsa Elif Özçiftci
                  yesterday














                4












                4








                4





                $begingroup$

                This can be :)




                B sits on the left of A and ask A's salary. And no one know what
                B ask to A. Then A whispers his own salary to the person on the right.
                Finally B get's answer! :)







                share|improve this answer










                New contributor




                Hafsa Elif Özçiftci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                $endgroup$



                This can be :)




                B sits on the left of A and ask A's salary. And no one know what
                B ask to A. Then A whispers his own salary to the person on the right.
                Finally B get's answer! :)








                share|improve this answer










                New contributor




                Hafsa Elif Özçiftci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer








                edited Apr 19 at 12:21









                Narlore

                1915




                1915






                New contributor




                Hafsa Elif Özçiftci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Apr 19 at 12:14









                Hafsa Elif ÖzçiftciHafsa Elif Özçiftci

                413




                413




                New contributor




                Hafsa Elif Özçiftci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Hafsa Elif Özçiftci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Hafsa Elif Özçiftci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.








                • 2




                  $begingroup$
                  +1 Good thinking outside the box. I can't say more without giving away your answer, but in many ways I think this is the best answer, although not a mathematical one.
                  $endgroup$
                  – Chris Sunami
                  Apr 19 at 14:34






                • 2




                  $begingroup$
                  Sounds like security through obscurity. Or am I missing something?
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:36










                • $begingroup$
                  Maybe math calculate every thing. But sometimes we have to think others ways. Thanks for your comment :) @ChrisSunami
                  $endgroup$
                  – Hafsa Elif Özçiftci
                  yesterday










                • $begingroup$
                  Yeah, that's what I thought actually. @PeregrineRook
                  $endgroup$
                  – Hafsa Elif Özçiftci
                  yesterday














                • 2




                  $begingroup$
                  +1 Good thinking outside the box. I can't say more without giving away your answer, but in many ways I think this is the best answer, although not a mathematical one.
                  $endgroup$
                  – Chris Sunami
                  Apr 19 at 14:34






                • 2




                  $begingroup$
                  Sounds like security through obscurity. Or am I missing something?
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:36










                • $begingroup$
                  Maybe math calculate every thing. But sometimes we have to think others ways. Thanks for your comment :) @ChrisSunami
                  $endgroup$
                  – Hafsa Elif Özçiftci
                  yesterday










                • $begingroup$
                  Yeah, that's what I thought actually. @PeregrineRook
                  $endgroup$
                  – Hafsa Elif Özçiftci
                  yesterday








                2




                2




                $begingroup$
                +1 Good thinking outside the box. I can't say more without giving away your answer, but in many ways I think this is the best answer, although not a mathematical one.
                $endgroup$
                – Chris Sunami
                Apr 19 at 14:34




                $begingroup$
                +1 Good thinking outside the box. I can't say more without giving away your answer, but in many ways I think this is the best answer, although not a mathematical one.
                $endgroup$
                – Chris Sunami
                Apr 19 at 14:34




                2




                2




                $begingroup$
                Sounds like security through obscurity. Or am I missing something?
                $endgroup$
                – Peregrine Rook
                Apr 19 at 22:36




                $begingroup$
                Sounds like security through obscurity. Or am I missing something?
                $endgroup$
                – Peregrine Rook
                Apr 19 at 22:36












                $begingroup$
                Maybe math calculate every thing. But sometimes we have to think others ways. Thanks for your comment :) @ChrisSunami
                $endgroup$
                – Hafsa Elif Özçiftci
                yesterday




                $begingroup$
                Maybe math calculate every thing. But sometimes we have to think others ways. Thanks for your comment :) @ChrisSunami
                $endgroup$
                – Hafsa Elif Özçiftci
                yesterday












                $begingroup$
                Yeah, that's what I thought actually. @PeregrineRook
                $endgroup$
                – Hafsa Elif Özçiftci
                yesterday




                $begingroup$
                Yeah, that's what I thought actually. @PeregrineRook
                $endgroup$
                – Hafsa Elif Özçiftci
                yesterday











                3












                $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.







                share|improve this answer











                $endgroup$









                • 1




                  $begingroup$
                  Nit-pick: the people are standing in a circle.    :-)    ⁠
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:28
















                3












                $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.







                share|improve this answer











                $endgroup$









                • 1




                  $begingroup$
                  Nit-pick: the people are standing in a circle.    :-)    ⁠
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:28














                3












                3








                3





                $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.







                share|improve this answer











                $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.








                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 19 at 11:03

























                answered Apr 19 at 10:56









                btwbtw

                1486




                1486








                • 1




                  $begingroup$
                  Nit-pick: the people are standing in a circle.    :-)    ⁠
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:28














                • 1




                  $begingroup$
                  Nit-pick: the people are standing in a circle.    :-)    ⁠
                  $endgroup$
                  – Peregrine Rook
                  Apr 19 at 22:28








                1




                1




                $begingroup$
                Nit-pick: the people are standing in a circle.    :-)    ⁠
                $endgroup$
                – Peregrine Rook
                Apr 19 at 22:28




                $begingroup$
                Nit-pick: the people are standing in a circle.    :-)    ⁠
                $endgroup$
                – Peregrine Rook
                Apr 19 at 22:28











                2












                $begingroup$

                And now for something completely different:




                A and B both speak a language
                (for sake of completeness, let’s say Vulcan)
                that none of the others know. 
                But the others can repeat Vulcan phonetically. 
                So A whispers their salary in Vulcan to the person to his right,
                who relays it (phonetically) to the next person, …. 
                Eventually it reaches B, who is the only person who can understand it.







                share|improve this answer









                $endgroup$


















                  2












                  $begingroup$

                  And now for something completely different:




                  A and B both speak a language
                  (for sake of completeness, let’s say Vulcan)
                  that none of the others know. 
                  But the others can repeat Vulcan phonetically. 
                  So A whispers their salary in Vulcan to the person to his right,
                  who relays it (phonetically) to the next person, …. 
                  Eventually it reaches B, who is the only person who can understand it.







                  share|improve this answer









                  $endgroup$
















                    2












                    2








                    2





                    $begingroup$

                    And now for something completely different:




                    A and B both speak a language
                    (for sake of completeness, let’s say Vulcan)
                    that none of the others know. 
                    But the others can repeat Vulcan phonetically. 
                    So A whispers their salary in Vulcan to the person to his right,
                    who relays it (phonetically) to the next person, …. 
                    Eventually it reaches B, who is the only person who can understand it.







                    share|improve this answer









                    $endgroup$



                    And now for something completely different:




                    A and B both speak a language
                    (for sake of completeness, let’s say Vulcan)
                    that none of the others know. 
                    But the others can repeat Vulcan phonetically. 
                    So A whispers their salary in Vulcan to the person to his right,
                    who relays it (phonetically) to the next person, …. 
                    Eventually it reaches B, who is the only person who can understand it.








                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Apr 19 at 22:52









                    Peregrine RookPeregrine Rook

                    4,63921938




                    4,63921938























                        1












                        $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







                        share|improve this answer









                        $endgroup$


















                          1












                          $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







                          share|improve this answer









                          $endgroup$
















                            1












                            1








                            1





                            $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







                            share|improve this answer









                            $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








                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Apr 19 at 9:13









                            NovargNovarg

                            3,4271229




                            3,4271229























                                1












                                $begingroup$

                                Try this




                                B tell his salary to one who sits beside him, and when A receive that, A add that number with his salary, and pass it to one who sits next to him and add a message saying that B have to subtract with his salary. Say B salary is 20K and A was 30K then A tells the person next to him as 50K minus B salary.







                                share|improve this answer









                                $endgroup$









                                • 1




                                  $begingroup$
                                  How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                                  $endgroup$
                                  – Peregrine Rook
                                  Apr 19 at 22:43
















                                1












                                $begingroup$

                                Try this




                                B tell his salary to one who sits beside him, and when A receive that, A add that number with his salary, and pass it to one who sits next to him and add a message saying that B have to subtract with his salary. Say B salary is 20K and A was 30K then A tells the person next to him as 50K minus B salary.







                                share|improve this answer









                                $endgroup$









                                • 1




                                  $begingroup$
                                  How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                                  $endgroup$
                                  – Peregrine Rook
                                  Apr 19 at 22:43














                                1












                                1








                                1





                                $begingroup$

                                Try this




                                B tell his salary to one who sits beside him, and when A receive that, A add that number with his salary, and pass it to one who sits next to him and add a message saying that B have to subtract with his salary. Say B salary is 20K and A was 30K then A tells the person next to him as 50K minus B salary.







                                share|improve this answer









                                $endgroup$



                                Try this




                                B tell his salary to one who sits beside him, and when A receive that, A add that number with his salary, and pass it to one who sits next to him and add a message saying that B have to subtract with his salary. Say B salary is 20K and A was 30K then A tells the person next to him as 50K minus B salary.








                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Apr 19 at 13:29









                                Casablanca KookieCasablanca Kookie

                                1545




                                1545








                                • 1




                                  $begingroup$
                                  How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                                  $endgroup$
                                  – Peregrine Rook
                                  Apr 19 at 22:43














                                • 1




                                  $begingroup$
                                  How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                                  $endgroup$
                                  – Peregrine Rook
                                  Apr 19 at 22:43








                                1




                                1




                                $begingroup$
                                How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                                $endgroup$
                                – Peregrine Rook
                                Apr 19 at 22:43




                                $begingroup$
                                How is this different from btw’s answer (aside from the fact that it doesn’t include the irrelevant stipulation that B sits on the left of A)?
                                $endgroup$
                                – Peregrine Rook
                                Apr 19 at 22:43










                                ace is a new contributor. Be nice, and check out our Code of Conduct.










                                draft saved

                                draft discarded


















                                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.




                                draft saved


                                draft discarded














                                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





















































                                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







                                Popular posts from this blog

                                Plaza Victoria

                                Puebla de Zaragoza

                                Musa