Let $f(z)$ be a complex polynomial of degree at least $2$ and $R$ be a positive number such that $f(z) \neq 0$ for all $|z| \geq R$. Show that $\int_{|z|=R} \frac{dz}{f(z)}=0$ and deduce that $\sum_{k=1}^n \dfrac{1}{\prod_{j\neq k}(a_k-a_j)}=0$ where $a_i$ is $n$ distinct roots of $f$
I can indicate $\sum_{k=1}^n \dfrac{1}{\prod_{j\neq k}(a_k-a_j)}=0$ by Residue but I wonder why $\int_{|z|=R} \frac{dz}{f(z)}=0$?