Let's say I give you a number: 2985984, which is equal to $x^y$, where both $x$ and $y$ are integers. How would you find $x$ and $y$ (hint: the answer is 12^6)?
Now, let's say I'll say that $x$ is 12. then you can write:
$12^y = 2985984$.
$log(12^y) = log(2985984)$
$y\times log(12) = log(2985984)$
$y = \frac{log(2985984)}{log(12)}$
$y=6$
A more general form would be:
$y = \frac{log(2985984)}{log(x)}$
How would I find which integer values of $x$ and $y$ would solve this equation?