101.53 Problem number 10291

\[ \int \frac {e^{-2+e^{x+x^2}-6 x+x^2} \left (1-6 x+2 x^2+e^{x+x^2} \left (x+2 x^2\right )+\left (-6 x+2 x^2+e^{x+x^2} \left (x+2 x^2\right )\right ) \log (x)\right )}{x} \, dx \]

Optimal antiderivative \[ {\mathrm e}^{x \left (-6+x \right )-2+{\mathrm e}^{x^{2}+x}} \left (1+\ln \left (x \right )\right ) \]

command

integrate((((2*x**2+x)*exp(x**2+x)+2*x**2-6*x)*ln(x)+(2*x**2+x)*exp(x**2+x)+2*x**2-6*x+1)*exp(exp(x**2+x)+x**2-6*x-2)/x,x)

Sympy 1.10.1 under Python 3.10.4 output

\[ \left (\log {\left (x \right )} + 1\right ) e^{x^{2} - 6 x + e^{x^{2} + x} - 2} \]

Sympy 1.8 under Python 3.8.8 output

\[ \text {Timed out} \]________________________________________________________________________________________