The book defines the probability of the negative binomial as:
$$P\{X=k\}={{k-1}\choose{n-1}} p^k (1-p)^{k-n}$$
but where does the ${k-1}\choose{n-1}$ come from? It's quite different to wikipedia's definition and I'm not sure what the probability is for here, the book doesn't say.
Let it be that there is a probability of $p$ on succes by independent experiments. Then $X$ denotes the number of experiments needed to come to exactly $n$ successes.
We have $X=k$ if and only if the $k$-th experiment results in a succes and among the foregoing $k-1$ experiments there are exactly $n-1$ successes.
There are $\binom{k-1}{n-1}$ ways to choose $k-1$ experiments ('destined' to be successes) out of $n-1$.
All possibilities (including that the $k$-th experiment is a succes) have a probability of $p^n(1-p)^{k-n}$ to occur so that $$P(X=k)=\binom{k-1}{n-1}p^n(1-p)^{k-n}$$ (as Stef remarked in his comment).