Periodic DT Signal
The following plot shows two periods of the periodic DT signal $ x[n] $, a sawtooth:
Fourier Series Coefficients
$ a_{k} = \frac{1}{N} \sum_{n=0}^{N-1} x[n] e^{-jk \frac{2 \pi}{N} n} $
From the plot above, N = 4:
$ a_{k} = \frac{1}{4} \sum_{n=0}^{3} x[n] e^{-jk \frac{\pi}{2} n} $