Given \(x\left ( t\right ) \), a periodic signal, such as \(\cos \Omega _{0}t\), we want to find its \(X\left ( \Omega \right ) \), then this is the algorithm
For example \(\cos \Omega _{0} t = \frac{e^{j\Omega _{0} t}+e^{-j\Omega _{0} t}}{2}\), hence \(c(-1) = \frac{1}{2}\) and \(c(1)= \frac{1}{2}\), therefore \begin{align*} X(\Omega ) & = 2\pi \left ( \frac{1}{2} \delta \left ( \Omega + \Omega _{0} \right ) + \frac{1}{2} \delta \left ( \Omega -\Omega _{0}\right ) \right ) \\ & = \pi \left ( \delta \left ( \Omega + \Omega _{0} \right ) +\delta \left ( \Omega - \Omega _{0} \right ) \right ) \end{align*}
Therefore, we see that all periodic functions in time, will have fourier transform which is a pulse train.