DSolve[(c1 + b1*x^n + a1*x^(2*n))*y[x] + x*(b + a*x^n)*Derivative[1][y][x] + x^2*Derivative[2][y][x] == 0,y[x],x]