I'm trying to prove: $$\int_{-1}^1 x^n P_n(x) dx = \frac{2^{n+1}n!^2}{(2n+1)!}$$
My attempt consisted in applying the Rodrigues formula: $$\int_{-1}^1 x^n P_n(x)dx = \dfrac{1}{2^n n!} \int_{-1}^1 x^n \dfrac{d^n}{dx^n}(x^2-1)^ndx$$
and integrating by parts n times:
$$\int_{-1}^1 x^nP_n(x)dx=\dfrac{1}{2^n n!}\left(x^n \dfrac{d^{n-1}}{dx^{n-1}}(x^2-1)^n \bigg|_{-1}^1 + (-1)^{n} n!\int_{-1}^1 (x^2-1)^ndx\right)$$
The first term vanishes at the extremes. And the remaining integral I solved through substitution:
$$t = x^{2} \rightarrow dx = \dfrac{dt}{2\sqrt{t}}$$
$$\dfrac{1}{2}\int^{1}_{0}(t - 1)^{n}\dfrac{dt}{2\sqrt{t}} = \dfrac{1}{2}\int^{1}_{0}(t - 1)^{n} t^{-1/2} dt$$
Using the beta function: $$(-1)^{n}\dfrac{1}{2}\int^{1}_{0}(1 - t)^{n} t^{-1/2} dt =\dfrac{(-1)^{n}}{2}\beta(1/2, n + 1) =\dfrac{(-1)^{n}}{2}\dfrac{\Gamma(1/2)\Gamma(n + 1)}{\Gamma(n + 3/2)}$$
I rewrote the gamma functions as
$$\Gamma(1/2) = \sqrt{\pi}$$
$$\Gamma(n + 1) = n!$$
and $$\Gamma(n + 3/2) = \dfrac{(n+1)(2n)!\sqrt{\pi}}{2^{2n}n!}$$
Finally I reached:
$$(-1)^{n} n!\int_{-1}^1 x^{n-1} \dfrac{d^{n-1}}{dx^{n-1}}(x^2-1)^ndx = \dfrac{(-1)^{n}n!2}{2^{n}n!}\dfrac{(-1)^{n}}{2}\dfrac{\sqrt{\pi}2^{2n}n!n!}{(n+1)(2n)!\sqrt{\pi}} = \dfrac{2^{n}n!n!}{(n+1)(2n)!}$$
I tried simplifying furter, but I didn't get anywhere