I'm trying to find the residue of $$f(z) = \frac{4}{(z-2)(e^z-e^2)} + \frac{z+4}{z^4 + 2^4} $$ in $$z=2$$
I know that the second part of the function doesn't affect the residue, what I don't understand is which formula to apply, since for both $(z-2)$ and $(e^z-e^2)$, $z=2$ is a simple pole, but when evaluating one or the other I get that the residue is equal to $\infty$.