if$$\alpha_m = \int^{1}_{-1}\cos \pi x (x^2-1)^m dx$$
then how do I get
$$\alpha_m = \frac{-1}{\pi^2}(2m(2m-1)\alpha_{m-1} + 4m(m-1)\alpha_{m-2})$$
I have to integrate by parts!
But $$\alpha_n = -\frac{1}{\pi^2}\int^{1}_{-1}\cos \pi x (m(m-1)(x^2-1)^{m-2}4x^2 + 2m(x^2-1)^{m-1})dx$$
I can see how I might be getting closer, but these factors of $x$ are not doing me any favours.