Consider the negative binomial distribution given in Definition $3.9 .$
a. Show that if $y \geq r+1, \frac{p(y)}{p(y-1)}=\left(\frac{y-1}{y-r}\right) q .$ This establishes a recursive relationship between successive negative binomial probabilities, because $p(y)=p(y-1) \times\left(\frac{y-1}{y-r}\right) q$
b. Show that $\frac{p(y)}{p(y-1)}=\left(\frac{y-1}{y-r}\right) q>1$ if $y<\frac{r-q}{1-q} .$ Similarly, $\frac{p(y)}{p(y-1)}<1$ if $y>\frac{r-q}{1-q}$
c. Apply the result in part (b) for the case $r=7, p=.5$ to determine the values of $y$ for which $p(y)>p(y-1)$