Optimal antiderivative
command
Integrate[(-5*x^6 + E*x^6 + (320 - 240*x + 60*x^2 - 5*x^3 + E*(-64 + 48*x - 12*x^2 + x^3))/E^((3*x)/(-5 + E)) + (-240*x^2 + 120*x^3 - 15*x^4 + E*(48*x^2 - 24*x^3 + 3*x^4))/E^((2*x)/(-5 + E)) + (-320*x^3 + 132*x^4 - 23*x^5 + E*(64*x^3 - 20*x^4 + 3*x^5))/E^(x/(-5 + E)))/(-5*x^6 + E*x^6 + (320 - 240*x + 60*x^2 - 5*x^3 + E*(-64 + 48*x - 12*x^2 + x^3))/E^((3*x)/(-5 + E)) + (-240*x^2 + 120*x^3 - 15*x^4 + E*(48*x^2 - 24*x^3 + 3*x^4))/E^((2*x)/(-5 + E)) + (60*x^4 - 15*x^5 + E*(-12*x^4 + 3*x^5))/E^(x/(-5 + E))),x]
Mathematica 13.1 output
Mathematica 12.3 output