ODE No. 1122

\[ -\left (x^2-x-2\right ) y'(x)+x y''(x)-x (x+3) y(x)=0 \] Mathematica : cpu = 0.190959 (sec), leaf count = 57

DSolve[-(x*(3 + x)*y[x]) - (-2 - x + x^2)*Derivative[1][y][x] + x*Derivative[2][y][x] == 0,y[x],x]
 

\[\left \{\left \{y(x)\to c_2 e^{\frac {x^2}{2}} \int _1^x\frac {e^{-\frac {1}{2} K[1]^2-K[1]}}{K[1]^2}dK[1]+c_1 e^{\frac {x^2}{2}}\right \}\right \}\] Maple : cpu = 0.133 (sec), leaf count = 28

dsolve(x*diff(diff(y(x),x),x)-(x^2-x-2)*diff(y(x),x)-x*(x+3)*y(x)=0,y(x))
 

\[y \left (x \right ) = {\mathrm e}^{\frac {x^{2}}{2}} \left (\left (\int \frac {{\mathrm e}^{-\frac {x \left (x +2\right )}{2}}}{x^{2}}d x \right ) c_{2}+c_{1}\right )\]