any idea in how to solve this ?
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?