Unmasking the Trick Coin

A magician's case contains 20 20 coins: 19 19 are ordinary fair coins, and one is a trick coin with heads stamped on both faces. You pull a coin from the case uniformly at random and begin flipping it, getting heads every time. What is the smallest number of consecutive heads you must observe before the probability that you grabbed the trick coin reaches at least 95% 95\% ?

Answer

Free accounts unlock one worked solution a day. Pro includes every answer.