# How can I expand this

How can I expand $\dfrac{\pi \csc(z\pi)}{(2z+1)^3}$? so then I can find the residue ? thanks

You do not need any particular expansion to find the residues of: $$f(z)=\frac{\pi}{(2z+1)^3\sin(\pi z)}.$$ The zeroes of $\sin(\pi z)$ occurs at $z\in\mathbb{Z}$ and they are all simple zeroes, hence $f(z)$ has simple poles at $z\in\mathbb{Z}$ and a double pole at $z=-\frac{1}{2}$. We trivially have: $$\forall n\in\mathbb{Z},\quad\text{Res}(f(z),z=n) = \frac{(-1)^n}{(2n+1)^3}$$ and: $$\text{Res}\left(f(z),z=-\frac{1}{2}\right) = -\text{Res}\left(\frac{\pi}{8z^3\cos(\pi z)},z=0\right)=-\frac{\pi^3}{16}$$ by considering the Taylor series of $\sec(\pi z)$.
Related (classical) question: Infinite Series $\sum_{n=0}^\infty\frac{(-1)^n}{(2n+1)^{2m+1}}$.
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}