Define a periodic DT signal and compute its Fourier series coefficients.
For DT,
$ x[n]=\sum_{k=0}^{N-1} a_k e^{jk\frac{2\pi}{N} n} $
where
$ a_k=\frac{1}{N}\sum_{n=0}^{N-1} x[n] e^{-jk\frac{2\pi}{N} n} $.
Let the signal be
For DT,
$ x[n]=\sum_{k=0}^{N-1} a_k e^{jk\frac{2\pi}{N} n} $
where
$ a_k=\frac{1}{N}\sum_{n=0}^{N-1} x[n] e^{-jk\frac{2\pi}{N} n} $.
Let the signal be