Example of series solution about regular singular point

Find series solution about $x=0$ of $$ 4xy'' + 2(1-x^2)y' - xy = 0. $$

Since $x=0$ is a regular singular point, Fuchs' theorem states that we should try $$ y(x) = \sum_{n=0}^\infty a_n x^{n+\sigma}, \qquad a_0 \neq 0. $$ Multiply the equation by $x$ for convenience, $$ 4(x^2y'') + 2(1-x^2)(xy') - x^2 y = 0. $$ Substituting into the equation, $$\begin{align*} 0 = \sum_{n=0}^\infty a_nx^{n+\sigma}\big(4(n+\sigma)(n+\sigma-1) + 2(1-x^2)(n+\sigma) -x^2) \end{align*}$$

Equating coefficients, for the $x^\sigma$ term, we get the indicial equation for index $\sigma$: $$\begin{align*} a_0(4\sigma(\sigma-1) + 2\sigma) &= 0 \\ 4\sigma^2 - 2\sigma &= 0 &a_0\neq0 \\ \sigma &= 0, \tfrac12. \end{align*}$$

For the $x^{\sigma+1}$ term, we have $$\begin{align*} a_1(4(\sigma+1)(\sigma) + 2(\sigma+1) &= 0 \\ 2a_1(\sigma+1)(2\sigma+1) &= 0 \\ a_1 &= 0 &&\text{for both }\sigma=0,\tfrac12. \end{align*}$$

TODO