The last example, called a binomial expansion is valid even when $p$ is not a positive integer. You may not know the meaning of $p!$ in these cases, but it does have a definition. If necessary, just use the first line of the power series for $(1+z)^p$ instead of the second line.