I have the function $f(x) = e^{2x}$ in the interval $(0,2\pi]$
Using the formula $\int_0^{2\pi } e^{2x} e^{-inx}\, dx $
I get that $ {\mathbf{\gamma}}^{}_{n}= \frac1{2\pi} \frac{(e^{4\pi}-1)}{(2-in)} $
To complete the fourier serie I have $f(x) =\sum_{-\infty}^{+\infty} {\mathbf{\gamma}}^{}_{n} e^{inx} $
Now my problem is that I have to calculate the sums of:
$$ \sum_{-\infty}^{+\infty} {\mathbf{\gamma}}^{}_{n}.$$ This is easy I think, because I use $x=0$ here $f(x) =\sum_{-\infty}^{+\infty} {\mathbf{\gamma}}^{}_{n} e^{inx} $ and I get the summatory by calculating the lateral limits in the function
$$ \sum_{-\infty}^{+\infty} (-1)^n{\mathbf{\gamma}}^{}_{n}$$ Here I dont know what to do, I was thinking on dividing the summatory in negative and positive terms, but I dont know how to go after that.