\[ -\left ((n-1) x^{n-1} y(x)\right )+x^{2 n-2}+x^n y'(x)+y(x)^2=0 \] ✓ Mathematica : cpu = 0.244603 (sec), leaf count = 19
\[\left \{\left \{y(x)\to x^{n-1} \tan (-\log (x)+c_1)\right \}\right \}\] ✓ Maple : cpu = 0.044 (sec), leaf count = 17
\[y \relax (x ) = \tan \left (-\ln \relax (x )+c_{1}\right ) x^{n -1}\]