# Revision history [back]

Does there exist a method in Sage's symbolic ring that would be able to (automatically) rewrite expressions such as $3^{\log n}$ into $n^{\log 3}$?
Does there exist a method in Sage's symbolic ring that would be able to (automatically) rewrite expressions such as $3^{\log n}$ into $n^{\log 3}$? 3}$? Here I assume that$n\$ is a positive integer.
sage: [bool(3^(log(i)) == i^(log(3))) for i in range(1, 12)]