\[ -x y(x)^n+x y''(x)+2 y'(x)=0 \] ✗ Mathematica : cpu = 0.0306819 (sec), leaf count = 0 , could not solve
DSolve[-(x*y[x]^n) + 2*Derivative[1][y][x] + x*Derivative[2][y][x] == 0, y[x], x]
✓ Maple : cpu = 1.092 (sec), leaf count = 125
\[\left \{y \left (x \right ) = \mathit {ODESolStruc} \left (\textit {\_a} \,{\mathrm e}^{c_{1}+\int \textit {\_}b\left (\textit {\_a} \right )d \textit {\_a}}, \left [\left \{\frac {d}{d \textit {\_a}}\mathrm {\_}\mathrm {b}\left (\textit {\_a} \right )=-\frac {\left (2 \left (n -3\right ) \textit {\_a} \textit {\_}b\left (\textit {\_a} \right )+\left (n -1\right )^{2} \textit {\_a}^{n} \textit {\_}b\left (\textit {\_a} \right )+2 n -10\right ) \textit {\_}b\left (\textit {\_a} \right )^{2}}{4}\right \}, \left \{\textit {\_a} =x^{\frac {2}{n -1}} y \left (x \right ), \textit {\_}b\left (\textit {\_a} \right )=-\frac {2 x^{-\frac {2}{n -1}}}{\left (n -1\right ) x \left (\frac {d}{d x}y \left (x \right )\right )+2 y \left (x \right )}\right \}, \left \{x ={\mathrm e}^{-\frac {\left (c_{1}+\int \textit {\_}b\left (\textit {\_a} \right )d \textit {\_a} \right ) \left (n -1\right )}{2}}, y \left (x \right )=\textit {\_a} \,{\mathrm e}^{c_{1}+\int \textit {\_}b\left (\textit {\_a} \right )d \textit {\_a}}\right \}\right ]\right )\right \}\]