Calculating if I'm going to have my gift swapped












1












$begingroup$


My company is doing something...strange for the christmas party. Its sort of a yankee swap, but with a twist.




Roll The Dice Swap!



Roll a 1 – keep your gift



Roll a 2 – steal anyone’s gift



Roll a 3 – everyone passes their gift to the left



Roll a 4 – everyone passes their gift to the right



Roll a 5 – keep your gift



Roll a 6 – steal anyone’s gift




I'm trying to figure out the probability of your gift (assuming you have one already) getting swapped out.
It looks like keeping your gift is 33%, a gift being stolen is 33% and gifts shifting is 33%. What I'd like to do is find out, each round, what the chance is that the gift you have is either shifted away or stolen.



It seems like it would be 1/3 + integral of (dn/(N-n)) for each person after you n out of N people have drawn and assuming axiom of choice of the gift (with respect to motivation to swap) but I can't get the numbers to work out.



Can someone help me specifically understand how to calculate this sort of nonsense?



EDIT: I'm not sure what the plan is. Before we've done an ordinary Yankee Swap where we draw lots for order, then each person either takes a present from the pool or takes someone else's. I would think it works that way with presents shifting only to those who already have presents (effectively the pool of present-holders grows incrementally). Although they could also decide to just randomly assign the presents and then each person in turn rolls the dice. In that case I think the probability would just be 1/3+1/N?



EDIT 2: Lets say that no person ends up with more than one gift.



EDIT 3: For simplicity, I'm assuming each present is equally desirable (knowing my company, its probably booze) and that each person gets one roll of the die. Further, once they get "steal a gift" they get to chose which gift to take.










share|cite|improve this question











$endgroup$












  • $begingroup$
    For clarity: Under the "steal anyone's gift" rolls, do you steal from everyone with equal probability? Can you steal your own gift? Also, are you assuming gifts are initially given to all $N$ people, and we proceed sequentially with the rolling thereafter? Another variation would be that the gifts are in the middle and we progressively pick gifts (so we can only steal from people who have picked before us), but there is no dice roll for "pick a gift from the middle."
    $endgroup$
    – Michael
    Dec 20 '18 at 18:28












  • $begingroup$
    If you steal a gift, do you have two gifts, or do you swap your gift with theirs?
    $endgroup$
    – zahbaz
    Dec 20 '18 at 18:32










  • $begingroup$
    I'm going to say when someone steals your gift, they give you what they had before.
    $endgroup$
    – Kevin Milner
    Dec 20 '18 at 18:35










  • $begingroup$
    Related: Assuming we pick a gift from the middle before each roll, but then we roll a "shift left" it means the next person (who has not yet picked from the middle) gets a free gift and a chance to pick from the middle, meaning that person will have two gifts before his/her roll of the dice.
    $endgroup$
    – Michael
    Dec 20 '18 at 18:36










  • $begingroup$
    I'm starting to think that the powers that be may not have thought through this scheme.
    $endgroup$
    – Kevin Milner
    Dec 20 '18 at 18:39
















1












$begingroup$


My company is doing something...strange for the christmas party. Its sort of a yankee swap, but with a twist.




Roll The Dice Swap!



Roll a 1 – keep your gift



Roll a 2 – steal anyone’s gift



Roll a 3 – everyone passes their gift to the left



Roll a 4 – everyone passes their gift to the right



Roll a 5 – keep your gift



Roll a 6 – steal anyone’s gift




I'm trying to figure out the probability of your gift (assuming you have one already) getting swapped out.
It looks like keeping your gift is 33%, a gift being stolen is 33% and gifts shifting is 33%. What I'd like to do is find out, each round, what the chance is that the gift you have is either shifted away or stolen.



It seems like it would be 1/3 + integral of (dn/(N-n)) for each person after you n out of N people have drawn and assuming axiom of choice of the gift (with respect to motivation to swap) but I can't get the numbers to work out.



Can someone help me specifically understand how to calculate this sort of nonsense?



EDIT: I'm not sure what the plan is. Before we've done an ordinary Yankee Swap where we draw lots for order, then each person either takes a present from the pool or takes someone else's. I would think it works that way with presents shifting only to those who already have presents (effectively the pool of present-holders grows incrementally). Although they could also decide to just randomly assign the presents and then each person in turn rolls the dice. In that case I think the probability would just be 1/3+1/N?



EDIT 2: Lets say that no person ends up with more than one gift.



EDIT 3: For simplicity, I'm assuming each present is equally desirable (knowing my company, its probably booze) and that each person gets one roll of the die. Further, once they get "steal a gift" they get to chose which gift to take.










share|cite|improve this question











$endgroup$












  • $begingroup$
    For clarity: Under the "steal anyone's gift" rolls, do you steal from everyone with equal probability? Can you steal your own gift? Also, are you assuming gifts are initially given to all $N$ people, and we proceed sequentially with the rolling thereafter? Another variation would be that the gifts are in the middle and we progressively pick gifts (so we can only steal from people who have picked before us), but there is no dice roll for "pick a gift from the middle."
    $endgroup$
    – Michael
    Dec 20 '18 at 18:28












  • $begingroup$
    If you steal a gift, do you have two gifts, or do you swap your gift with theirs?
    $endgroup$
    – zahbaz
    Dec 20 '18 at 18:32










  • $begingroup$
    I'm going to say when someone steals your gift, they give you what they had before.
    $endgroup$
    – Kevin Milner
    Dec 20 '18 at 18:35










  • $begingroup$
    Related: Assuming we pick a gift from the middle before each roll, but then we roll a "shift left" it means the next person (who has not yet picked from the middle) gets a free gift and a chance to pick from the middle, meaning that person will have two gifts before his/her roll of the dice.
    $endgroup$
    – Michael
    Dec 20 '18 at 18:36










  • $begingroup$
    I'm starting to think that the powers that be may not have thought through this scheme.
    $endgroup$
    – Kevin Milner
    Dec 20 '18 at 18:39














1












1








1





$begingroup$


My company is doing something...strange for the christmas party. Its sort of a yankee swap, but with a twist.




Roll The Dice Swap!



Roll a 1 – keep your gift



Roll a 2 – steal anyone’s gift



Roll a 3 – everyone passes their gift to the left



Roll a 4 – everyone passes their gift to the right



Roll a 5 – keep your gift



Roll a 6 – steal anyone’s gift




I'm trying to figure out the probability of your gift (assuming you have one already) getting swapped out.
It looks like keeping your gift is 33%, a gift being stolen is 33% and gifts shifting is 33%. What I'd like to do is find out, each round, what the chance is that the gift you have is either shifted away or stolen.



It seems like it would be 1/3 + integral of (dn/(N-n)) for each person after you n out of N people have drawn and assuming axiom of choice of the gift (with respect to motivation to swap) but I can't get the numbers to work out.



Can someone help me specifically understand how to calculate this sort of nonsense?



EDIT: I'm not sure what the plan is. Before we've done an ordinary Yankee Swap where we draw lots for order, then each person either takes a present from the pool or takes someone else's. I would think it works that way with presents shifting only to those who already have presents (effectively the pool of present-holders grows incrementally). Although they could also decide to just randomly assign the presents and then each person in turn rolls the dice. In that case I think the probability would just be 1/3+1/N?



EDIT 2: Lets say that no person ends up with more than one gift.



EDIT 3: For simplicity, I'm assuming each present is equally desirable (knowing my company, its probably booze) and that each person gets one roll of the die. Further, once they get "steal a gift" they get to chose which gift to take.










share|cite|improve this question











$endgroup$




My company is doing something...strange for the christmas party. Its sort of a yankee swap, but with a twist.




Roll The Dice Swap!



Roll a 1 – keep your gift



Roll a 2 – steal anyone’s gift



Roll a 3 – everyone passes their gift to the left



Roll a 4 – everyone passes their gift to the right



Roll a 5 – keep your gift



Roll a 6 – steal anyone’s gift




I'm trying to figure out the probability of your gift (assuming you have one already) getting swapped out.
It looks like keeping your gift is 33%, a gift being stolen is 33% and gifts shifting is 33%. What I'd like to do is find out, each round, what the chance is that the gift you have is either shifted away or stolen.



It seems like it would be 1/3 + integral of (dn/(N-n)) for each person after you n out of N people have drawn and assuming axiom of choice of the gift (with respect to motivation to swap) but I can't get the numbers to work out.



Can someone help me specifically understand how to calculate this sort of nonsense?



EDIT: I'm not sure what the plan is. Before we've done an ordinary Yankee Swap where we draw lots for order, then each person either takes a present from the pool or takes someone else's. I would think it works that way with presents shifting only to those who already have presents (effectively the pool of present-holders grows incrementally). Although they could also decide to just randomly assign the presents and then each person in turn rolls the dice. In that case I think the probability would just be 1/3+1/N?



EDIT 2: Lets say that no person ends up with more than one gift.



EDIT 3: For simplicity, I'm assuming each present is equally desirable (knowing my company, its probably booze) and that each person gets one roll of the die. Further, once they get "steal a gift" they get to chose which gift to take.







probability combinatorics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 20 '18 at 18:40







Kevin Milner

















asked Dec 20 '18 at 18:24









Kevin MilnerKevin Milner

1255




1255












  • $begingroup$
    For clarity: Under the "steal anyone's gift" rolls, do you steal from everyone with equal probability? Can you steal your own gift? Also, are you assuming gifts are initially given to all $N$ people, and we proceed sequentially with the rolling thereafter? Another variation would be that the gifts are in the middle and we progressively pick gifts (so we can only steal from people who have picked before us), but there is no dice roll for "pick a gift from the middle."
    $endgroup$
    – Michael
    Dec 20 '18 at 18:28












  • $begingroup$
    If you steal a gift, do you have two gifts, or do you swap your gift with theirs?
    $endgroup$
    – zahbaz
    Dec 20 '18 at 18:32










  • $begingroup$
    I'm going to say when someone steals your gift, they give you what they had before.
    $endgroup$
    – Kevin Milner
    Dec 20 '18 at 18:35










  • $begingroup$
    Related: Assuming we pick a gift from the middle before each roll, but then we roll a "shift left" it means the next person (who has not yet picked from the middle) gets a free gift and a chance to pick from the middle, meaning that person will have two gifts before his/her roll of the dice.
    $endgroup$
    – Michael
    Dec 20 '18 at 18:36










  • $begingroup$
    I'm starting to think that the powers that be may not have thought through this scheme.
    $endgroup$
    – Kevin Milner
    Dec 20 '18 at 18:39


















  • $begingroup$
    For clarity: Under the "steal anyone's gift" rolls, do you steal from everyone with equal probability? Can you steal your own gift? Also, are you assuming gifts are initially given to all $N$ people, and we proceed sequentially with the rolling thereafter? Another variation would be that the gifts are in the middle and we progressively pick gifts (so we can only steal from people who have picked before us), but there is no dice roll for "pick a gift from the middle."
    $endgroup$
    – Michael
    Dec 20 '18 at 18:28












  • $begingroup$
    If you steal a gift, do you have two gifts, or do you swap your gift with theirs?
    $endgroup$
    – zahbaz
    Dec 20 '18 at 18:32










  • $begingroup$
    I'm going to say when someone steals your gift, they give you what they had before.
    $endgroup$
    – Kevin Milner
    Dec 20 '18 at 18:35










  • $begingroup$
    Related: Assuming we pick a gift from the middle before each roll, but then we roll a "shift left" it means the next person (who has not yet picked from the middle) gets a free gift and a chance to pick from the middle, meaning that person will have two gifts before his/her roll of the dice.
    $endgroup$
    – Michael
    Dec 20 '18 at 18:36










  • $begingroup$
    I'm starting to think that the powers that be may not have thought through this scheme.
    $endgroup$
    – Kevin Milner
    Dec 20 '18 at 18:39
















$begingroup$
For clarity: Under the "steal anyone's gift" rolls, do you steal from everyone with equal probability? Can you steal your own gift? Also, are you assuming gifts are initially given to all $N$ people, and we proceed sequentially with the rolling thereafter? Another variation would be that the gifts are in the middle and we progressively pick gifts (so we can only steal from people who have picked before us), but there is no dice roll for "pick a gift from the middle."
$endgroup$
– Michael
Dec 20 '18 at 18:28






$begingroup$
For clarity: Under the "steal anyone's gift" rolls, do you steal from everyone with equal probability? Can you steal your own gift? Also, are you assuming gifts are initially given to all $N$ people, and we proceed sequentially with the rolling thereafter? Another variation would be that the gifts are in the middle and we progressively pick gifts (so we can only steal from people who have picked before us), but there is no dice roll for "pick a gift from the middle."
$endgroup$
– Michael
Dec 20 '18 at 18:28














$begingroup$
If you steal a gift, do you have two gifts, or do you swap your gift with theirs?
$endgroup$
– zahbaz
Dec 20 '18 at 18:32




$begingroup$
If you steal a gift, do you have two gifts, or do you swap your gift with theirs?
$endgroup$
– zahbaz
Dec 20 '18 at 18:32












$begingroup$
I'm going to say when someone steals your gift, they give you what they had before.
$endgroup$
– Kevin Milner
Dec 20 '18 at 18:35




$begingroup$
I'm going to say when someone steals your gift, they give you what they had before.
$endgroup$
– Kevin Milner
Dec 20 '18 at 18:35












$begingroup$
Related: Assuming we pick a gift from the middle before each roll, but then we roll a "shift left" it means the next person (who has not yet picked from the middle) gets a free gift and a chance to pick from the middle, meaning that person will have two gifts before his/her roll of the dice.
$endgroup$
– Michael
Dec 20 '18 at 18:36




$begingroup$
Related: Assuming we pick a gift from the middle before each roll, but then we roll a "shift left" it means the next person (who has not yet picked from the middle) gets a free gift and a chance to pick from the middle, meaning that person will have two gifts before his/her roll of the dice.
$endgroup$
– Michael
Dec 20 '18 at 18:36












$begingroup$
I'm starting to think that the powers that be may not have thought through this scheme.
$endgroup$
– Kevin Milner
Dec 20 '18 at 18:39




$begingroup$
I'm starting to think that the powers that be may not have thought through this scheme.
$endgroup$
– Kevin Milner
Dec 20 '18 at 18:39










1 Answer
1






active

oldest

votes


















1












$begingroup$

The odds that you'll lose your current item in a given roll are in $(1/3,2/3]$ with the upper bound hit for $n=2$ players.



Assume $nge2$ players. On any given turn, there is a $frac13$ chance of losing your gift through a rotation. Assuming that on a stealing roll a player is forced to exchange their gift with that of another, and assuming this decision is uniformly drawn from the remaining $n-1$ players, then there is a $frac{1}{3}left(frac{1}{n-1}right)$ chance of losing through a steal every round. So the odds you lose your current gift each round is the sum
$$frac13left(frac{n}{n-1}right)$$.



I'd say the next step is to consider the odds of losing your gift after one entire cycle of dice rolls (i.e. everyone in the game's circle gets to roll the dice once). This seems like combining a drunken walk problem with a bit of teleportation due to the stealing roll.






share|cite|improve this answer









$endgroup$













    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047832%2fcalculating-if-im-going-to-have-my-gift-swapped%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1












    $begingroup$

    The odds that you'll lose your current item in a given roll are in $(1/3,2/3]$ with the upper bound hit for $n=2$ players.



    Assume $nge2$ players. On any given turn, there is a $frac13$ chance of losing your gift through a rotation. Assuming that on a stealing roll a player is forced to exchange their gift with that of another, and assuming this decision is uniformly drawn from the remaining $n-1$ players, then there is a $frac{1}{3}left(frac{1}{n-1}right)$ chance of losing through a steal every round. So the odds you lose your current gift each round is the sum
    $$frac13left(frac{n}{n-1}right)$$.



    I'd say the next step is to consider the odds of losing your gift after one entire cycle of dice rolls (i.e. everyone in the game's circle gets to roll the dice once). This seems like combining a drunken walk problem with a bit of teleportation due to the stealing roll.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      The odds that you'll lose your current item in a given roll are in $(1/3,2/3]$ with the upper bound hit for $n=2$ players.



      Assume $nge2$ players. On any given turn, there is a $frac13$ chance of losing your gift through a rotation. Assuming that on a stealing roll a player is forced to exchange their gift with that of another, and assuming this decision is uniformly drawn from the remaining $n-1$ players, then there is a $frac{1}{3}left(frac{1}{n-1}right)$ chance of losing through a steal every round. So the odds you lose your current gift each round is the sum
      $$frac13left(frac{n}{n-1}right)$$.



      I'd say the next step is to consider the odds of losing your gift after one entire cycle of dice rolls (i.e. everyone in the game's circle gets to roll the dice once). This seems like combining a drunken walk problem with a bit of teleportation due to the stealing roll.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        The odds that you'll lose your current item in a given roll are in $(1/3,2/3]$ with the upper bound hit for $n=2$ players.



        Assume $nge2$ players. On any given turn, there is a $frac13$ chance of losing your gift through a rotation. Assuming that on a stealing roll a player is forced to exchange their gift with that of another, and assuming this decision is uniformly drawn from the remaining $n-1$ players, then there is a $frac{1}{3}left(frac{1}{n-1}right)$ chance of losing through a steal every round. So the odds you lose your current gift each round is the sum
        $$frac13left(frac{n}{n-1}right)$$.



        I'd say the next step is to consider the odds of losing your gift after one entire cycle of dice rolls (i.e. everyone in the game's circle gets to roll the dice once). This seems like combining a drunken walk problem with a bit of teleportation due to the stealing roll.






        share|cite|improve this answer









        $endgroup$



        The odds that you'll lose your current item in a given roll are in $(1/3,2/3]$ with the upper bound hit for $n=2$ players.



        Assume $nge2$ players. On any given turn, there is a $frac13$ chance of losing your gift through a rotation. Assuming that on a stealing roll a player is forced to exchange their gift with that of another, and assuming this decision is uniformly drawn from the remaining $n-1$ players, then there is a $frac{1}{3}left(frac{1}{n-1}right)$ chance of losing through a steal every round. So the odds you lose your current gift each round is the sum
        $$frac13left(frac{n}{n-1}right)$$.



        I'd say the next step is to consider the odds of losing your gift after one entire cycle of dice rolls (i.e. everyone in the game's circle gets to roll the dice once). This seems like combining a drunken walk problem with a bit of teleportation due to the stealing roll.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 20 '18 at 18:51









        zahbazzahbaz

        8,44921938




        8,44921938






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047832%2fcalculating-if-im-going-to-have-my-gift-swapped%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

            Bundesstraße 106

            Verónica Boquete

            Ida-Boy-Ed-Garten