y''(x)=-\frac{y(x) \left(-a^2 \left(x^2-1\right)^2-m^2-n (n+1) \left(x^2-1\right)\right)}{\left(x^2-1\right)^2}-\frac{2 x y'(x)}{x^2-1}