I'm not well aquainted with divergent series, so I'm just asking for help to see if this makes any sense at all. I know my final result is right, but the use ofindefiniteintegration with divergent series leads me to question my answer. I'm pretty sure it's flawed because of that step, but here is the meat of it:

I took the Fourier series of on arbitrary bound L, then let to get

.

My problem is here I integrate (indefinitely) giving

.

Then I just figured C = 0 (my main issue) then took the limit as z went to 0 by l'Hopital's,

by the analytic continuation of the zeta function's sum definition and its derivative, as so of course, ignoring divergence,

Thisis, quite amazingly, correct (see Wolfram eq #38), but my method of derivation seems very sketchy to me.

My problem is is that that constant C is messing me up in the integration; is there any definite integral with certain bounds of integration that would yield the same argument, except in a (more) rigorous fashion? I can't think of any. Any ideas would be appreciated, thank you!