The problem is:
Let $f$ be a function taking the positive integers to the positive integers, such that
(i) $f$ is increasing (i.e. $f(n + 1) > f(n)$ for all positive integers $n$)
(ii) $f(mn) = f(m) f(n)$ for all positive integers $m$ and $n,$ and
(iii) if $m \neq n$ and $m^n = n^m,$ then $f(m) = n$ or $f(n) = m.$ Find the sum of all possible values of $f(30).$
Using what the problem gives us, I was able to get that $f(1)=1, f(2)=4, f(4)=16,$ and $f(8)=64$ so I got some bounds for what $f(3)$ and $f(5)$ could be. Also, I found that $f(5) < 4f(3).$ I guess I could use casework to find all possible triples $(f(2), f(3), f(5))$ and then find all possible products of them and sum these up but I'm sure there's an easier way...
Thanks in advance.