Using this in the context of Fourier transforms. This should probably be an easy derivation for you guys, but I forget how to derive it.
$$ \sum_{n=0}^{L-1}e^{-j\frac{2\pi k}{L}n} = \frac{1-e^{-j2\pi k}}{1-e^{\frac{-j2\pi k}{L}}} $$
which somehow can also be reduced to $$L\delta [k] $$