I got this exercise form OCW 18.03SC - problem 1G-5b:
What is the solution of the following derivative?:
$$\dfrac{d^{p+q}}{dx^{p+q}}x^p(1+x)^q$$
I used Leibniz' formula and the only non-zero term is $$\binom{p+q}{q}p!q!=\frac{(p+q)!}{q!(p+q-q)!}p!q!=\frac{(p+q)!}{p!q!}p!q!=(p+q)!$$ Is this right?
In the solutions there is the following: $\binom{n}{p}p!q!$
I assume $n$ to be $p+q$, but is this a proper solution because there is this $\binom{n}{p}$ instead of $\binom{n}{q}$?