Exercise: Prove that the computational complexity of the binomial coefficient \begin{equation*} \binom{m}{n} \end{equation*} is O($m^{2}$$\log^{2}n$). using the fact that the computanional complexity of the product of s+1 integers is O($s^{2}\log^{2}M$) where M is the max of them and that T($m!$)=O($m^{2}\log^{2}m$). I tried with this \begin{equation*} \binom{m}{n} = \frac{m!}{n!(m-n)!}=\frac{m(m-1)\dots(m-n+1)}{n!} \end{equation*}
So for the numerator we have a computaniol complexity O($(n+2)^{2}\log^{2}m$) because we have n+2 product of integers smaller than m and for the denominator we have a computational complexity O($n^{2}\log^{2}n^{2}$). Now i know that the coast of the division between two number is T($m=qn+r$)=O($\log q\log n$)=O($\log^{2}n$) since $q<n$. From now on i don't know how to proceed.