What is the full Legendre-Fourier series for $x^n$? I realize that this depends upon if $n$ is odd or even.
Progress
I wrote out the first three coefficients for the series, which are dependent upon whether $n$ is odd or even. I am obtaining the Legendre Polynomials themselves from Wikipedia.
Hint: Use the Rodrigues formula for Legendre polynomials and integration by parts in order to evaluate $$ \int_{-1}^{1} x^n P_m(x)\,dx. $$ Recall that $ \int_{0}^{1} x^k (1-x^2)^j\,dx $ depends on values of the Beta function. You should get: