\[ \int e^{\frac {50}{x}+2 x} \left (2400 x^6-384 x^7-96 x^8\right ) \, dx \]
Optimal antiderivative \[ -2-48 x^{8} {\mathrm e}^{2 x} {\mathrm e}^{\frac {50}{x}} \]
command
integrate((-96*x**8-384*x**7+2400*x**6)*exp(25/x)**2*exp(x)**2,x)
Sympy 1.10.1 under Python 3.10.4 output
\[ \text {Timed out} \]
Sympy 1.8 under Python 3.8.8 output
\[ - 48 x^{8} e^{\frac {50}{x}} e^{2 x} \]