I found the following formula in the solution of an exercise and I'm not able to understand where it come from and if it is correct. $$\sum_{x=0}^\infty\binom{n}{x} p^x(1-p)^{-x} = \left(1+\frac{p}{1-p}\right)^n $$
Could someone explain me how to get such a result (if is correct)?
It comes from the Binomial theorem. If you have $(1+a)^n=\sum _{k=0}^n\binom{n}{k}a^k.$ Take $a=p(1-p)^{-1}.$ Notice also that $\binom{n}{k}=0$ if $k>n$(How can you select more objects that you originally have?).