I would like to solve the following:
$$\int\limits_{|z|=\sqrt[3]{n+\frac{1}{2}}} \frac{z^2}{e^{2\pi i z^3}-1}\operatorname dz$$
I'm given an hint: "use a transformation $w=z^3$"
I would make use of the following theorem:
If $w$ holomorphic on $\Gamma$ and $f$ continous on $w(\Gamma)$ then $$\int\limits_{w(\Gamma)} f(w) \operatorname dw = \int\limits_\Gamma f(w(z)) w'(z) \operatorname dz$$
But I'm a bit confused as to the contour itself. Is the following right?
($\Gamma_1$ is the circle with radius $\sqrt[3]{n+\frac{1}{2}}$ and center $O$, while $\Gamma_2$ had a radius of $n+\frac{1}{2}$)
$$\begin{align} \int_{\Gamma_1} \frac{z^2}{e^{2\pi i z^3}-1}\operatorname dz &= \int_{\Gamma_2} \frac{w^{\frac{2}{3}}}{e^{2\pi i w}-1} \cdot \frac{1}{3}\cdot w^{-\frac{2}{3}}\operatorname dw\\ &= \frac{1}{3} \int_{\Gamma_2} \frac{\operatorname dw}{e^{2\pi i w}-1}\\ \end{align}$$
Using the residue theorem ($\operatorname*{res}_{w=k} f(w) = \frac{-i}{2\pi}$)
$$\int_{\Gamma_1} \frac{z^2}{e^{2\pi i z^3}-1}\operatorname dz = 1$$
Question
This looks to good to be true ;)
Could someone verify? Have I applied the theorem right?
Let $w=z^3$. Then since $\frac1{e^{2\pi iw}-1}$ has a residue of $\frac1{2\pi i}$ at each integer, we get $$ \begin{align} \int_{|z|=\left(n+\frac12\right)^{1/3}}\frac{z^2\,\mathrm{d}z}{e^{2\pi iz^3}-1} &=\frac13\cdot3\int_{|w|=n+\frac12}\frac{\mathrm{d}w}{e^{2\pi iw}-1}\\ &=2\pi i(2n+1)\frac1{2\pi i}\\ &=2n+1 \end{align} $$ since there are $2n+1$ integers inside $|w|=n+\frac12$. The factor of $3$ is because for each time $z$ traces the circle, $w=z^3$ circles it $3$ times.