For each element of x, compute the probability density function (PDF) at x of the Pascal (negative binomial) distribution with parameters n and p.
The number of failures in a Bernoulli experiment with success probability p before the n-th success follows this distribution.