I want to prove the following identity: $$\dfrac{\sin(z)}{\sin(\pi z)} = \dfrac{1}{\pi} + \dfrac{z}{\pi}\sum_{n \neq 0}(-1)^n \dfrac{\sin(n)}{n(z-n)} $$
using Mittag-Leffler. I'm able to show that we have $$\dfrac{\sin(z)}{\sin(\pi z)} = \dfrac{z}{\pi}\sum_{n \neq 0}(-1)^n \dfrac{\sin(n)}{n(z-n)} +g(z)$$ whee $g(z)$ is entire, so the goal would be to show that $g$ is bounded, hence constant. I don't see any periodicity conditions here that would help me.
what kind of observations should I make here?
Look at the limits as $\Im(z) \to \pm \infty$. Since $\pi>1$, the left-hand side tends to zero. If you can show that the sum on the right-hand side is bounded as $\Im(z) \to \pm \infty$, then $g$ is entire and bounded away from the real line, so must be constant.