$$\int_0^\infty\frac1{(1+x^2)(1+x^p)} \; \mathrm{d}x$$
This integral should have the same value for all $p$.
I showed that it converges for all $p.$ I confirmed the result for $p=0,1,2$:
$$\int_0^\infty\frac1{(1+x^2)(1+x^p)} \; \mathrm{d}x=\frac \pi4$$
Any ideas on how to solve this in general? Integration by parts or substitution doesn't seem to work.
(I suppose $p$ is a real, but it isn't mentioned in the problem)