Integrate[ArcTan[x/(1 - (-n + x)^2)],n]