I have an equation for the probability generating function of a negative binomial $(n,p)$ distribution:
$$G(x)= \Biggl(\frac{px}{1-(1-p)x}\Biggr)^n$$
I'd like to solve for $x$ in the following equation:
$$x =\Biggl(\frac{px}{1-(1-p)x}\Biggr)^n$$
But i'm not sure how to solve it. I tried this:
$$x^{1-n}= \frac{p^n}{(1-(1-p)x)^n}$$ but that's all to where i got to. How do I solve for $x$ here?