
I proceeded with using separation of variables:
$$\frac{T'(t)}{kT(t)}=\frac{X''(x)}{X(x)}=-λ$$
Assuming $λ=β^2>0$, I end up with:
$$X''(x)+λX(x)=0$$ and its general solution:
$$X(x)=A_n\cos(\beta x)+B_n\sin(\beta x)$$
Now, the periodic boundary conditions come to play:
$$X(L)=X(-L)$$ $$A_n\cos(\beta L)+B_n\sin(\beta L)=A_n\cos(\beta L)-B_n\sin(\beta L)$$ $2B_n\sin(\beta L)=0$ so $\beta L=n\pi, n=1,2,\ldots$
$$λ=\left(\frac{n\pi}{L}\right)^2$$ which can be derived from the second condition as well.
My question has to do with (b):
Why do we have to separate $\dfrac{A_0}{2}$ from the rest of the infinite sum and what's the problem with $n$ being $0$?
When you solved the equation $\sin\beta L=0$, your solution should be $\beta=\frac{n\pi}L$ for $n=\dots,-2,-1,0,1,2,\ldots$. So the general solution is $$\sum_{-\infty}^\infty (\text{stuff})$$Now, since this $(\text{stuff})$ is symmetric in $n$, you can group the terms to get $$\sum_{n=-\infty}^\infty (\text{stuff}) = (\text{stuff at } n=0) + 2\sum_{n=1}^\infty (\text{stuff})$$You'll find that all that $\text{stuff}$ comes out to $A_0/2$ when it is evaluated at $n=0$, which is where that comes from.