\[ \int \frac {\sqrt {-1+x^3} \left (-2+x^3+2 x^6\right )}{x^{10}} \, dx \]
Optimal antiderivative \[ -\frac {2 \sqrt {x^{3}-1}\, \left (3 x^{6}+x^{3}-1\right )}{9 x^{9}}+\frac {2 \arctan \left (\sqrt {x^{3}-1}\right )}{3} \]
command
integrate((x**3-1)**(1/2)*(2*x**6+x**3-2)/x**10,x)
Sympy 1.10.1 under Python 3.10.4 output
\[ \frac {2 \operatorname {atan}{\left (\sqrt {x^{3} - 1} \right )}}{3} - \frac {2 \sqrt {x^{3} - 1}}{3 x^{3}} - \frac {2 \left (x^{3} - 1\right )^{\frac {3}{2}}}{9 x^{9}} \]
Sympy 1.8 under Python 3.8.8 output
\[ \text {Timed out} \]________________________________________________________________________________________