I need to convert input expressions with explicit powers e.g.:
- $x^2 + 2*y^6$
to this format:
- $xx + 2 y y y y y y$
or this:
- $x*x + 2*y*y*y*y*y*y$
and then preserve this new format for other conversions using HoldForm[...]. Is any way how to do this as easily as possible? I have idea to do some parsing in cycle in this way:
- $2*y^6$ >> $2*y^5*y$ >> $2*y^4*y*y$ >> ... >> $2*y*y*y*y*y*y$
But it seems to be too complicated.