I'm trying solve a tricky problem where I need to find a function $f(z)$ such that the residue at every positive integer $n$ is equal to $\frac{1}{n(n+1)}$
For example, the function would have a pole at $z=3$ with the residue being equal to $\frac{1}{12}$ and so on.
My guess is that the function would look like $\frac{1}{\sin(\pi z)}$ times some other function $g(z)$ to generate poles at integer values of $z$.
To summarize: I need help finding a function $f(z)$, undefined at positive integers, such that $\lim_{z\rightarrow n}f(z)(z-n)=\frac{1}{n(n+1)}$
(I don't even know if a function like this is even possible but I hope so)