Jar of Jelly Beans: 20 of Each Color, How Many to Pick?

In summary, to guarantee that at least 3 jelly beans are the same color, we need to draw at least 9 jelly beans. This can be determined using the pigeonhole principle, where the minimum number of draws needed is found by multiplying the number of colors by the number of beans needed for a set of matching colors, and adding 1. In this case, with 4 colors and 3 beans needed for a set, the minimum number of draws is 9.
  • #1
yakin
42
0
A jar contains red, blue, orange and green jelly beans. There are 20 of each color. How many jelly beens must be selected to guarantee that at least 3 are the same color?
The teacher got 9 as answer, but i do not know how she got this. Anybody would like to help please?
 
Physics news on Phys.org
  • #2
yakin said:
A jar contains red, blue, orange and green jelly beans. There are 20 of each color. How many jelly beens must be selected to guarantee that at least 3 are the same color?
The teacher got 9 as answer, but i do not know how she got this. Anybody would like to help please?

I think the question is 2 of each color ?
 
  • #3
It is possible that after 8 draws, we have 2 of each of the four colors. Since the next one drawn must be one of the four colors, we will then have 3 of some color.

If, having drawn 8, we only have at most 3 colors of jelly beans, we must already have 3 of a matching color. For 3 pairs of 3 different colors is only 6 jelly beans, and we have two more, and any other combination of 6 jelly beans with 3 colors already includes 3 of one color.

It is also possible that after 8 draws, we have all four colors, but only one of some color. In this case, we have 7 jelly beans with 3 colors, and as we saw above, we can make at most 3 pairs from these, the 7th must match one of the 3 colors.

One can continue this analysis with just two colors: it can be seen that we need a mere 5 jelly beans to ensure 3 of a kind, and with only one color, we need but 3.

So no matter what, the 9th jelly bean will make (at least) the 3rd bean of some color.
 
  • #4
Assuming that we have 4 holes and each one is one of the mentioned colors. If we select a certain beans we place it at its corresponding color. The worst case scenario is having each hole filled with two beans after the 8th draw. The 9th draw will have to be the third bean at any of the holes. Pigeonhole principle.
 
  • #5
Yes, one can easily adapt that method to find the minimum draw that must have $k$ of any color, given we have $n$ colors, which is:

$n(k-1) + 1$.

This can be shown by double induction on $k$ and $n$, and in the case at hand (n = 4, k = 3) gives:

4(3 - 1) + 1 = 8 + 1 = 9.

(Assuming of course, we have enough objects to begin with).
 

Related to Jar of Jelly Beans: 20 of Each Color, How Many to Pick?

1. How many jelly beans are in the jar?

The jar contains a total of 100 jelly beans (20 of each color x 5 colors = 100).

2. What is the probability of picking a specific color jelly bean?

The probability of picking a specific color jelly bean is 20% (20 jelly beans of that color out of 100 total jelly beans).

3. How many different color combinations can be picked?

There are 5 different colors in the jar, so there are 5 different color combinations that can be picked.

4. What is the likelihood of picking at least one of each color?

The likelihood of picking at least one of each color is 100%, as all 5 colors are represented with 20 jelly beans each.

5. How does the probability of picking a specific color change if a jelly bean is removed?

The probability of picking a specific color will decrease as the number of jelly beans in the jar decreases. For example, if a red jelly bean is removed, the probability of picking a red jelly bean will decrease from 20% to 19%.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
18
Views
650
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
7
Views
2K
Replies
1
Views
2K
Replies
2
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
2K
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
Back
Top