Let a=N+1/2 for a positive integer N. Let CN be the anticlockwise contour defined by the square with its four vertices at a±ia and −a±ia. Let
IN=∮CNz2sin(πz)dz
Show that 1/sin(πz) is uniformly bounded on the contours CN as N→∞, and hence that IN→0 as N→∞.
Using this result, establish that
n=1∑∞n2(−1)n−1=12π2