I just learned that I can post LaTeX in WordPress (sorry, I’m slow).
Here’s the support page if you want to learn more.
The sum can be expressed as the asymptotic series
in the case where and are fixed and .
In the case , we may apply the residue theorem to replace the sum by the integral
for some suitably chosen integration path .