✓ Mathematica : cpu = 0.192038 (sec), leaf count = 19
DSolve[x^(-2 + 2*n) - (-1 + n)*x^(-1 + n)*y[x] + y[x]^2 + x^n*Derivative[1][y][x] == 0,y[x],x]
✓ Maple : cpu = 0.049 (sec), leaf count = 17
dsolve(x^n*diff(y(x),x)+y(x)^2-(n-1)*x^(n-1)*y(x)+x^(2*n-2) = 0,y(x))