Problem 182 easy

Chocolates and jelly beans

A machine drops candies one after another. After a chocolate, the next candy is a jelly bean with probability and a chocolate otherwise. After a jelly bean, the next candy is a chocolate with probability and a jelly bean otherwise.

In the long run, what fraction of the candies are jelly beans?

Answer

Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.

Hints 0/2

h

Solution

s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.