The answer of this integral
$$\int{\frac{x^2-1}{x^4+3x^3+5x^2+3x+1}}dx$$
is
$$\frac{2}{\sqrt{3}}\arctan\left[\frac{2}{\sqrt{3}}(x+\frac{1}{x})+\sqrt{3}\right]+C$$
But, I couldn’t figure out how I would solve it. I tried to use partial fraction, but the denominator
$$x^4+3x^3+5x^2+3x+1$$
can't be easily factored.
I also tried to use WolframAlpha to solve it, but it can't give a useful answer for this integral.