Whole Tablet, Half Tablet
Posted on Thu 31 August 2017 in misc
• Tagged with
Probability, Ipython, Mathematics, Markov Chains, Five Thirty Eight, Riddlerr
Five Thirty Eight - Riddler Express (August 25th)¶
You take half of a vitamin every morning. The vitamins are sold in a bottle of 100 (whole) tablets, so at first you have to cut the tablets in half. Every day you randomly pull one thing from the bottle — if it’s a whole tablet, you cut it in half and put the leftover half back in the bottle. If it’s a half-tablet, you take the vitamin. You just bought a fresh bottle. How many days, on average, will it be before you pull a half-tablet out of the bottle?