# X is number of (fair) coin flips needed to land m heads OR m tails. m is arbitrary natural number. Delfine CDF of X. (in It's simplest form)

What I already know:

- $P(x=k) = {{k-1} \choose{m-1}}*(1/2)^{k-1}$

I suspect one way to get CDF is to Sum P(x=k) from k=m to x, and Mathematica evaluates that sum as:$ 2-2^{x}{{x} \choose{m-1}}*hypergeometric(1,x+1;x-m+2;1/2) $

But I would like to know how to get to that without computer. Or is there another way to get to CDF of X?

Alke10

12

## Answer

**Answers can be viewed only if**

- The questioner was satisfied and accepted the answer, or
- The answer was disputed, but the judge evaluated it as 100% correct.

Bromster

69

The answer is accepted.

Join Matchmaticians Affiliate Marketing
Program to earn up to 50% commission on every question your affiliated users ask or answer.

- answered
- 456 views
- $6.00

### Related Questions

- Finding the probability that a roughly normal distributed will have the highest value among multiple curves
- Three red balls and three green balls on a circle
- How safe is this driver?
- Applied Probability
- [Combinatorics] Selections, Distributions, and Arrangements with Multiple Restrictions
- A bag contains 3 red jewels and 7 black jewels. You randomly draw the jewels out one by one without replacement. What is the probability that the last red jewel was the 8th one withdrawn?
- Operational Research probabilistic models
- How to calculate the probability of rolling matching dice?