Sarah is picking candies randomly from a jar containing:
24 identical strawberry flavored candies,
18 identical lemon flavored candies, and
18 identical orange flavored candies.
She needs to ensure getting at least one candy of a specific flavor.
Lemon Flavored
We must account for the worst-case scenario where Sarah picks as many candies as possible without getting a candy of the desired flavor
There are 18 lemon flavored candies in total.
To ensure Sarah gets at least one lemon flavored candy, consider the worst-case scenario
Sarah picks all24 strawberry candies and all 18 orange candies first.
This accounts for 24+18=42
24+18=42 candies, none of which are lemon flavored.
Thus, on the
43rd candy, she is guaranteed to pick a lemon flavored candy.
Strawberry Flavored
There are 24 strawberry flavored candies in total.
To ensure Sarah gets at least one strawberry flavored candy, consider the worst-case scenario
Sarah picks all 18 lemon candies and all 18 orange candies first.
This accounts for 18+18=36 candies, none of which are strawberry flavored.
Thus, on the 37 th candy, she is guaranteed to pick a strawberry flavored candy.