All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Colored Candy Choice (Posted on 2016-05-25) Difficulty: 3 of 5
I have 6 pieces of candy: two each of 3 different colors. They taste especially good if eaten two at a time, provided the colors are different.

These candies are in an opaque bag from which I pick two at a time. If they are different colors I eat them together (yum) but if they are the same I put them back in and draw again. I will repeat this process to eat two more.

What is the probability the last two candies will be of differing colors?

Repeat with two each of 4 colors.
Repeat with two each of 5 colors.

No Solution Yet Submitted by Jer    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): Second part | Comment 8 of 10 |
(In reply to re: Second part by Charlie)

Thanks for the test and for the text.


It is possible I'm misunderstanding below your solution post containing the formulas. If that would be the case I apologize. 

Four colours candies: in the beginning there are 4d and 0s. 

First valid choose: Applying your third formula the P of going from 4d to (2d 2s) is 1. 

Second valid choose: From (2d 2s) applying your formulas the P of going to: 
2d=1/13 (first formula)
1d 2s=8/13 (second formula)
4s=4/13    (third)                     Total P=1

Third valid choose
From 2d to 2s: P=1  (third formula)
From (1d 2s) to 2s:  P=0.8 (second formula)
From 4s to 2s:  P=1 (first formula)

Then to finish with 2s in the bag P=1/13*1+8/13*0,8+4/13*1=0,87692 (1)

But I don't find this P when I try to do it manually (counting global outcomes and substracting those who finish with the same color in the bag). This is because 2d, (1d 2s) and 4s have each of them a different number of outcomes (4, 5 and 6 respectively), despite the fact that they are always four candies. 



  Posted by armando on 2016-05-26 10:07:33
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (8)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information