Find the Laurent Serie(and residue) aroud $z_0=0$ of the function
$f(z) = \frac{1}{1-\cos z}$.
Progress:
It looks very trivial but it seems to get complicated so I'll only try with 3-4 terms:
We can use that $\cos z = 1- \frac{z^2}{2!}+\frac{z^4}{4!}-\frac{z^6}{6!}+...+\sum_{0}^{\infty}\frac{(-1)^k z^{2k}}{(2k)!}$ and hence
$f(z) = \frac{1}{1-\cos z} = \frac{1}{1-(1- \frac{z^2}{2!}+\frac{z^4}{4!}-\frac{z^6}{6!}+...+\sum_{0}^{\infty}\frac{(-1)^k z^{2k}}{(2k)!})} \Rightarrow f(z)= \frac{1}{\frac{z^2}{2!}-\frac{z^4}{4!}+\frac{z^6}{6!}} $
This is not correct apparently so I tried to factor out $z^2$ and$\frac{z^2}{2!}$ but I was unable to proceed. I suspect that I'll arrive to a nestled sum.
Since we're interested only around $\,z=0\,$ we can try the following using what you've already done:
$$\frac1{1-\cos z}=\frac1{\frac{z^2}2\left(1-\frac{z^2}{12}+\mathcal O(z^4)\right)}=\frac2{z^2}\left(1+\frac{z^2}{12}+\frac{z^4}{12^2}+\ldots\right)=$$
$$\frac2{z^2}+\frac16+\frac{2z^2}{12^2}+\ldots$$
We used, of course, the development
$$\frac1{1-z}=1+z+z^2+\ldots\;\;,\;\;|z|<1$$