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