DSolve[Derivative[2][y][x] == -((-n + v)*(1 + n + v)*y[x]) - (1 + 2*n)*Cot[x]*Derivative[1][y][x],y[x],x]