Since a fair coin is considered, the probability of getting a head is 21 and the probability of getting a tail is 21. Assume that X is a random variable, which denotes a number of heads after n tosses. It has a binomial distribution. The aim is to find such n that P(X=100)=0.9. Since X has a binomial distribution, we get: P(X=100)=Cn100(21)n, where Cn100=100!(n−100)!n!=100!(n−99)(n−98)…n.
Denote f(n)=100!(n−99)(n−98)…n(21)n. The function is considered for n≥100. We point out that f(n)>0. Consider f(n)f(n+1)=(n−99)(n−98)…n(n−98)(n−97)…(n+1)⋅21=21⋅n−99n+1.Consider inequalities: 21⋅n−99n+1<1⟺n+1<2n−198⟺n>199. Thus, f(n+1)<f(n) for n>199. It means that f(200)>f(201)>f(202)…
21⋅n−99n+1>1⟺n+1>2n−198⟺n<199. Thus, f(n+1)>f(n) for n<199. It means that f(199)>f(198)>f(197)>…. Thus, it is enough to compute f(199) and f(200).
f(199)≈0.0563 and f(200)≈0.0563. Thus, the probability of getting 100 heads is always less than 6% irrespectively of the number of tosses.
Comments