# Can you solve this riddle? #2

**URL:** <https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240>\
**Category:** In My Humble Opinion\
**Created:** [May 4, 2015, 2:07pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240 "2015-05-04T14:07:12Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![RitterSport](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/rittersport/32/6326_2.png) [@RitterSport](https://boards.straightdope.com/u/RitterSport)\
**Post date:** [May 4, 2015, 8:31pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/101 "2015-05-04T20:31:48Z")

</div>

> [@Terr](#):
>
> Thank you. This makes it clear. Yes, one should stay. 2/3 chance - 1/3+1/6 vs 1/3

1/3 + 1/6 is 1/2, not 2/3.

I’m getting really confused by some people explaining the original problem, some people explaining the new problem, and some people explaining what they think the new problem is.

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [May 4, 2015, 8:32pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/102 "2015-05-04T20:32:07Z")

</div>

> [@folly](#):
>
> now we’re getting somewhere. Why are the probabilities of your two possibilities different? Like you said, there is nothing special about the person selected.

PLAY THE FUCKING GAME! Do you tell him:

1. Switch! He’ll switch.
2. It doesn’t matter! He’ll switch.
3. Stay! He’ll stay.

Argue afterward, but first, PLAY THE FUCKING GAME!

---

<div class="post-metadata">

**Author:** ![Folly](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/folly/32/3219_2.png) [@Folly](https://boards.straightdope.com/u/Folly)\
**Post date:** [May 4, 2015, 8:34pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/103 "2015-05-04T20:34:48Z")

</div>

> [@Left\_Hand\_of\_Dorkness](#):
>
> PLAY THE GAME!
> 
> Either advise that 9 of spades dude, or corral your own minions and select 51 cards for a new game. Just trust me long enough to try it–you can argue after the game is over, to your heart’s content, but please just try it.

Fine, me and 50 others choose all cards but the Ace of Spades. We are holding our cards. You are Monty Hall. You have a sticky note in your hand. The sticky note says The winning card is “…” We are all looking down at our cards. \*

- We move north. We are eaten by a grue.

---

<div class="post-metadata">

**Author:** ![bup](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bup](https://boards.straightdope.com/u/bup)\
**Post date:** [May 4, 2015, 8:34pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/104 "2015-05-04T20:34:52Z")

</div>

Oh, I feel dumb.

I wrote a simulation (C#) . Inspect it and see if I wrote anything wrong in the model:

```auto

    class Program
    {
        static void Main(string[] args)
        {
            int[] totalCurtainsHoldingGoodPrize = new int[3];
            int[] myGuesses = new int[3];

            int wins = 0;
            int losses = 0;
            int seed = (int) DateTime.Now.Ticks % int.MaxValue;
            Random randomInts = new Random(seed);

            for (int simulation = 0; simulation < 1000000; simulation++)
            {
                int goodPrize = randomInts.Next((int)3);
                totalCurtainsHoldingGoodPrize[goodPrize]++; // sanity check - make sure each curtain gets the prize a fair amount

                int theirGuess = randomInts.Next((int)3);

                int myGuess = randomInts.Next((int)3);
                while (theirGuess == myGuess)
                {
                    myGuess = randomInts.Next((int)3);
                }
                myGuesses[myGuess]++; // another sanity check

                if (theirGuess == goodPrize)
                {
                    // Monty shows my curtain. I don't get to guess
                    continue;
                }
                else if (myGuess == goodPrize)
                {
                    // Monty shows me their guess. I'm going to stay pat and WIN!
                    wins++;
                }
                else
                {
                    // we both picked wrong.
                    // Monty shows one of us the other person's, at random.
                    int montyEliminatesThem = randomInts.Next((int)2);

                    if (montyEliminatesThem == 1)
                    {
                        // I'm going to stay pat on mine and lose.
                        losses++;
                    }
                    else
                    {
                        // Monty eliminated me. Another push.
                        continue;
                    }
                }

            }

            System.Diagnostics.Debug.WriteLine("The prizes were distributed like this: {0}, {1}, {2}", totalCurtainsHoldingGoodPrize[0], totalCurtainsHoldingGoodPrize[1], totalCurtainsHoldingGoodPrize[2]);
            System.Diagnostics.Debug.WriteLine("My guesses were distributed like this: {0}, {1}, {2}", myGuesses[0], myGuesses[1], myGuesses[2]);

            System.Diagnostics.Debug.WriteLine("I won {0}, and I lost {1}", wins, losses);
            float percent = (float) wins / (float) (losses+wins);

            System.Diagnostics.Debug.WriteLine("That's {0} percent", percent*100);

        }
    }

```

Here are the results (one million runs):

The prizes were distributed like this: 334035, 333505, 332460  
My guesses were distributed like this: 334049, 332764, 333187  
I won 332990, and I lost 166330  
**That’s 66.6887 percent**.

So, yes, I’m back to ‘it’s better to stay put.’

---

<div class="post-metadata">

**Author:** ![Greg\_Charles](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@Greg\_Charles](https://boards.straightdope.com/u/Greg_Charles)\
**Post date:** [May 4, 2015, 8:35pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/105 "2015-05-04T20:35:15Z")

</div>

> [@Terr](#):
>
> Do explain again. In scenario 1, Monty has to pick Bob, 100%. In scenario 2, Monty has to pick Bob, 100%. In scenario 3. Monty has to pick me, 100% and I am eliminated.

Well, by pick, I meant pick you for “the deal”, not pick your curtain to show you already lost. It seems like you understand it now anyway, thanks to zut’s excellent explanation.

---

<div class="post-metadata">

**Author:** ![Don\_t\_Panic](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/don_t_panic/32/398_2.png) [@Don\_t\_Panic](https://boards.straightdope.com/u/Don_t_Panic)\
**Post date:** [May 4, 2015, 8:36pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/106 "2015-05-04T20:36:36Z")

</div>

> [@Left\_Hand\_of\_Dorkness](#):
>
> That doesn’t quite work as a scale-up, because on the off-chance that the unpicked door has the car, you’d have Monty open all the contestants’ doors.

In the OP’s scenario:

If the unpicked door has the car, Monty opens 1 door (which has no car).  
If your door has the car, Monty opens 1 door (which has no car).

For the scale-up:

If the unpicked door has the car, Monty opens 98 doors (with no car).  
If your door has the car, Monty opens 98 doors (with no car).

Seems to work for me.

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [May 4, 2015, 8:38pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/107 "2015-05-04T20:38:29Z")

</div>

> [@Folly](#):
>
> Fine, me and 50 others choose all cards but the Ace of Spades. We are holding our cards. You are Monty Hall. You have a sticky note in your hand. The sticky note says The winning card is “…” We are all looking down at our cards. \*
> 
> - We move north. We are eaten by a grue.

THANK YOU!

Okay. All of y’all, stand up. Hold on, lady up front holding the King of Clubs? You stay there. Everyone else, move north.

CRUNCH CRUNCH CRUNCH

BURP

Yikes.

Thanks for your patience, lady holding the King of Clubs. You may choose to stick with your King of Clubs, or you may choose to switch to the Ace of Spades. If you end up with the right card, YOU WIN! If you end up with the wrong one, you’re moving north, too.

**Folly** , that lady grabs your hand. Do you tell her to switch or to stay put? Keep in mind that if you tell her it doesn’t matter, she’s gonna switch. If she loses, you’re going north with her.

[edit: I just noticed that you included yourself in that group of 51, which would mean you’re getting eaten anyway. Who cares, that lady is really nice, what advice are you gonna give her before you go North?]

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [May 4, 2015, 8:39pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/108 "2015-05-04T20:39:36Z")

</div>

> [@Martian Bigfoot](#):
>
> In the OP’s scenario:
> 
> If the unpicked door has the car, Monty opens 1 door (which has no car).  
> If your door has the car, Monty opens 1 door (which has no car).
> 
> For the scale-up:
> 
> If the unpicked door has the car, Monty opens 98 doors (with no car).  
> If your door has the car, Monty opens 98 doors (with no car).
> 
> Seems to work for me.

Except in the scale-up you said:

> [@](#):
>
> Monty then opens all the doors for the contestants who picked doors with goats.

If the unpicked door has the car, that’s gonna result in 99 doors opening.

---

<div class="post-metadata">

**Author:** ![Don\_t\_Panic](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/don_t_panic/32/398_2.png) [@Don\_t\_Panic](https://boards.straightdope.com/u/Don_t_Panic)\
**Post date:** [May 4, 2015, 8:43pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/109 "2015-05-04T20:43:12Z")

</div>

> [@Left\_Hand\_of\_Dorkness](#):
>
> If the unpicked door has the car, that’s gonna result in 99 doors opening.

Sorry, you’re right: I meant to say all picked doors with goats, except your door. You get to keep standing either way, or there’s no game.

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [May 4, 2015, 8:44pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/110 "2015-05-04T20:44:23Z")

</div>

> [@Martian Bigfoot](#):
>
> No, I said that Monty opens all the \*picked \*doors with goats. He doesn’t open the unpicked door, goat or no goat.

Right.

Let’s say that I pick door 1, and the douchebags pick doors 2-99, and the car is behind door 100. How many doors does Monty open?

---

<div class="post-metadata">

**Author:** ![Folly](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/folly/32/3219_2.png) [@Folly](https://boards.straightdope.com/u/Folly)\
**Post date:** [May 4, 2015, 8:45pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/111 "2015-05-04T20:45:34Z")

</div>

> [@Left\_Hand\_of\_Dorkness](#):
>
> THANK YOU!
> 
> Okay. All of y’all, stand up. Hold on, lady up front holding the King of Clubs? You stay there. Everyone else, move north.
> 
> CRUNCH CRUNCH CRUNCH
> 
> BURP
> 
> Yikes.
> 
> Thanks for your patience, lady holding the King of Clubs. You may choose to stick with your King of Clubs, or you may choose to switch to the Ace of Spades. If you end up with the right card, YOU WIN! If you end up with the wrong one, you’re moving north, too.
> 
> **Folly** , that lady grabs your hand. Do you tell her to switch or to stay put? Keep in mind that if you tell her it doesn’t matter, she’s gonna switch. If she loses, you’re going north with her.
> 
> [edit: I just noticed that you included yourself in that group of 51, which would mean you’re getting eaten anyway. Who cares, that lady is really nice, what advice are you gonna give her before you go North?]

I tell the lady, you were either chosen at random (good thing, what with the grues) because the sticky note has Ace of Spades written on it. Or the Stick note has King of Clubs written and on it and therefore you were not chosen at random.

Then I ask the lady. Do you think you were chosen at random or not chosen at random. And what do you think are the probabilities of each scenario?

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [May 4, 2015, 8:47pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/112 "2015-05-04T20:47:36Z")

</div>

> [@Folly](#):
>
> I tell the lady, you were either chosen at random (good thing, what with the grues) because the sticky note has Ace of Spades written on it. Or the Stick note has King of Clubs written and on it and therefore you were not chosen at random.
> 
> Then I ask the lady. Do you think you were chosen at random or not chosen at random. And what do you think are the probabilities of each scenario?

She panics at your babble and switches, because you didn’t tell her anything useful.

OH NO! KING OF CLUBS WAS RIGHT! Seriously, when I drew a card at random, that’s the card that came up. Your poor understanding of the odds led to her gruesome demise.

Want to try again? If your understanding is correct, and we try this game ten times, and each time you try to Socratic method the poor schmuck instead of giving them advice, half the time their decision to switch will lead to salvation.

Let’s go: this time, what card doesn’t get picked?

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [May 4, 2015, 8:51pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/113 "2015-05-04T20:51:19Z")

</div>

**Folly** , that guy with the nine of spades is watching. What do you tell him: switch to the six of spades, stay, or “how do you feel”? I already know which card is right.

---

<div class="post-metadata">

**Author:** ![Don\_t\_Panic](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/don_t_panic/32/398_2.png) [@Don\_t\_Panic](https://boards.straightdope.com/u/Don_t_Panic)\
**Post date:** [May 4, 2015, 8:52pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/114 "2015-05-04T20:52:09Z")

</div>

> [@Left\_Hand\_of\_Dorkness](#):
>
> Right.
> 
> Let’s say that I pick door 1, and the douchebags pick doors 2-99, and the car is behind door 100. How many doors does Monty open?

Damn it. You had time to quote me before my edit. I do hate it when that happens. Yes, I made a slight boo-boo at first. But the revised scale-up still works.

---

<div class="post-metadata">

**Author:** ![RitterSport](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/rittersport/32/6326_2.png) [@RitterSport](https://boards.straightdope.com/u/RitterSport)\
**Post date:** [May 4, 2015, 8:53pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/115 "2015-05-04T20:53:20Z")

</div>

LHOD – are you saying you should stick or switch? Also, are you saying that it doesn’t matter that sometimes a given contestant will be eliminated before being asked?

I don’t know the answer, but it seems that since there are times when a given contestant will be eliminated that the odds should change from the original Monty Hall problem.

---

<div class="post-metadata">

**Author:** ![Bootis](https://avatars.discourse-cdn.com/v4/letter/b/e8c25b/32.png) [@Bootis](https://boards.straightdope.com/u/Bootis)\
**Post date:** [May 4, 2015, 8:53pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/116 "2015-05-04T20:53:22Z")

</div>

> [@Folly](#):
>
> no it’s not. It’s really not.

If 2 doors are chosen, the odds that one will be a winner is 2 in 3

ok.

Now add a stipulation- 2 doors will be chosen. After they are chosen, one door that is a) one of the chosen doors, and b) not the winning door, will be eliminated.

knowing this will happen, does it change the odds that before it happens, there is a 2 in 3 chance that a winning door is selected with the initial 2 choices? No.

Ok, so play it out. The doors are chosen. One of the choices that is incorrect is eliminated, as stipulated. The odds that the remaining choice is the winning door is still 2 in 3. The odds therefore that the other door is the winner is 1 in 3. It doesn’t matter if it’s _you_ or _me_ or some random guy, whoever is in that position of being the remaining contestant has a 2/3 chance of winning if he doesn’t switch, and a 1/3 chance if he does switch.

---

<div class="post-metadata">

**Author:** ![Folly](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/folly/32/3219_2.png) [@Folly](https://boards.straightdope.com/u/Folly)\
**Post date:** [May 4, 2015, 8:55pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/117 "2015-05-04T20:55:20Z")

</div>

> [@Left\_Hand\_of\_Dorkness](#):
>
> She panics at your babble and switches, because you didn’t tell her anything useful.
> 
> OH NO! KING OF CLUBS WAS RIGHT! Seriously, when I drew a card at random, that’s the card that came up. Your poor understanding of the odds led to her gruesome demise.
> 
> Want to try again? If your understanding is correct, and we try this game ten times, and each time you try to Socratic method the poor schmuck instead of giving them advice, half the time their decision to switch will lead to salvation.
> 
> Let’s go: this time, what card doesn’t get picked?

Yes. Half the time, she will lose by switching. So? Half the time she’ll win by switching.

Unless of course Bup’s code up there proves me completely wrong. I’m not a coder, can’t follow it.

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [May 4, 2015, 8:57pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/118 "2015-05-04T20:57:23Z")

</div>

> [@Martian Bigfoot](#):
>
> Damn it. You had time to quote me before my edit. I do hate it when that happens. Yes, I made a slight boo-boo at first. But the revised scale-up still works.

Yeah, that’s the correction I was saying was necessary. Sorry about the premature quoting! 🙂

> [@RitterSport](#):
>
> LHOD – are you saying you should stick or switch?

Absolutely on the “stick” side.

> [@](#):
>
> Also, are you saying that it doesn’t matter that sometimes a given contestant will be eliminated before being asked?

No, it absolutely matters. The fact that Monty eliminated someone (or, with the cards, many someones) besides you is giving you additional information.

Try the card game if you’d like. You’ve got 51 minions. Which card don’t you have them pick?

---

<div class="post-metadata">

**Author:** ![bup](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bup](https://boards.straightdope.com/u/bup)\
**Post date:** [May 4, 2015, 8:59pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/119 "2015-05-04T20:59:04Z")

</div>

> [@Folly](#):
>
> Yes. Half the time, she will lose by switching. So? Half the time she’ll win by switching.

No, that’s the \*hypothesis \*(of yours). It remains to be tested if she wins half the time if you do this ten times.

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [May 4, 2015, 8:59pm UTC](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240/120 "2015-05-04T20:59:05Z")

</div>

> [@Folly](#):
>
> Yes. Half the time, she will lose by switching. So? Half the time she’ll win by switching.
> 
> Unless of course Bup’s code up there proves me completely wrong. I’m not a coder, can’t follow it.

LET’S GO, I SAID!

Try it again. First time, maybe you’re right: fifty fifty chance switching was gonna kill her. Maybe my hypothesis, that you doomed her to a 98% chance of death, is wrong.

But if you try it ten times, I’ll be a tiny bit surprised if one person lives by switching, significantly surprised if two live, and completely flabbergasted if five do.

So you’ve done it once. The nine of spades guy is asking for advice. Go ahead, tell him to switch, see what happens if you think it doesn’t matter! Then try again! Again! Again!

[Previous page](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240.md?page=5)

[Next page](https://boards.straightdope.com/t/can-you-solve-this-riddle-2/719240.md?page=7)
