I was wondering how one could find the values of $n$ such that the area between $0$ to infinity under the graph $\frac{1}{x^n+1}$ converges. So far I've worked out that it does converge when $n = 2$ because it just becomes tan inverse which converges. For $n = 1$ however, it will diverge, as it becomes a log when integrated. For anything less than $0$ it will obviously also diverge.
I'm interested in the behavior of this area between $n=1$ and $n=2$ and I want to know how one could prove that there are other points of divergence bigger than $n=1$ and how you could find them. Or otherwise, prove there are no other points of divergence.
Any help with this question is much appreciated.