I do a command like
Table[i^5/(i^5 + 7*i + 1) Sin[x]/E^(3 i x), {i, 1, 5}]
The output shows up as
$$\left\{\frac{1}{9} e^{-3 x} \sin (x),\frac{32}{47} e^{-6 x} \sin (x),\frac{243}{265} e^{-9 x} \sin (x),\frac{1024 e^{-12 x} \sin (x)}{1053},\frac{3125 e^{-15 x} \sin (x)}{3161}\right\}$$
Compare the last two entries to the first three. The issue is that the last two entries are a fraction, while the first 3 have a rational times an expression. This is also true when I copy as $\LaTeX$.
Why is Mathematica changing the way it is displaying the output, which is quite annoying as I am manually having to make the last two match the first three? Is there any way to have it produce a consistent output?
I have noticed this on both 12.3 and 13.0 on a Windows 10, x86 machine.
$Post
and read about it in the docs, if applicable. $\endgroup$t /. Times[r_Rational, p_Power, s_Sin] :> HoldForm[HoldForm[r]*p*s]
ort /. Times[r_Rational, rem__] :> HoldForm[HoldForm[r]*rem]
$\endgroup$