I recall doing this integral during the academic year, and I remember getting it right after working on it for quite some time. Out of curiosity, is there any way to calculate it quickly, or is it just tedious integration by parts multiple times?

Integral(x^2*arctan(x))