This is LaTeX code:

[latex]
m-n=(m-p)+(p-n)=3^a\cdot(u+3^{b-a}\cdot v)
[/latex]