# 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 only be viewed under the following conditions:**

- The questioner was satisfied with and accepted the answer, or
- The answer was evaluated as being 100% correct by the judge.

Bromster

94

The answer is accepted.

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

- answered
- 725 views
- $6.00

### Related Questions

- Find Mean, Variance, and Distribution of Recursively Defined Sequence of Random Variables
- Find a number for 𝛼 so f(x) is a valid probability density function
- Promotional Concept (Probability)
- What are the odds of drawing the two tarot cards that I wanted, then reshuffling the pack, and drawing them both again straight away, in the same order?
- Determining which excel T-Test to use
- Draw a token from a bag of 9 blue tokens and 1 red token
- Slot Machine Probability
- Applied Probability