Finding the discrete time Fourier series for signal
Your first term in the second equation is wrong for $n=0$. You put in the term for $n=1$ . It should be
$$Y[k] = \frac{1}{N}\left(1 -\frac{1}{2} e^{-j \pi k}\right)$$