Find the limet value of the residue when in to the function .

I shuffled around a bit and used the geometric series and the expansion of and got this.

Now, I don't quite know how to simplify this expression... Ah well, here goes nothing!

=

So, I'm not sure of how to simplify the expression with al the sums. And finally, I'm not sure of how to get further now...