Naz N.

asked • 09/16/19

math problem what is best answer

In a giant bin, we stir together 2019 red jelly beans and 2019 green jelly beans. We pull 3 jelly beans out of the bin at a time. There are two possibilities – they are all the same color or there are 2 of one color (and one of the other). In the first case (3 of the same color), we eat all 3 jelly beans. In the second case (2 of one color), we put 1 jelly bean back of the majority color and eat the other 2. 

If we repeat this process until there are fewer than 3 jelly beans left in the bin, there are these possibilities 

1.    No jelly beans. 

2.    One red jelly bean. 

3.    One green jelly bean. 

4.    Two red jelly beans. 

5.    Two green jelly beans. 

6.    One red and one green jelly bean

Which of these outcomes is most likely? Which is least likely? 


1 Expert Answer

By:

Jacob B. answered • 09/16/19

Tutor
5 (1)

UCLA Perfect Scorer (1600) w/ 7+ Years of SAT Teaching Expertise

Naz N.

I get some error in if (Math.random() <= proportionReds && reds > 0) , any idea about that ?
Report

09/20/19

Jacob B.

Not sure. Code runs fine for me. That said, you don't need to use any code to figure this problem out. I give an explanation of this at the end of the video.
Report

09/20/19

Al P.

Nice explanation Jacob. Thanks!
Report

09/20/19

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.