Discrete Fourier Series Example Problems, Solution: Note that the function is defined on (0;p).