Is there a way to systematically determine all the ways a number can be expressed as an exponentiation of two natural numbers? For example,
64 = 64^1 = 8^2 = 4^3 = 2^6
, but how would I determine this without brute-forcing through roots or logarithms?
If you are allowed to factorise the number, you would find the prime factorisation, and the highest common factor $d$ of all the exponents - any factor of $d$ works.
So in your example you get $2^6$.
$6=2^1\times 3^1$ and there will be $(1+1)\times (1+1)=4$ possibilities