I have been given some exercises in which I'm given some equation that doesn't hold in base ten, and I need to figure out in which base the equation does hold.
For example:
$\sqrt{41} = 5$ which I guessed by trial and error and concluded base 6.
However, there are some more complicated exercises and it would be cumbersome to try with every possible base. I am not sure how to approach these problems. Is there a way to solve them algorithmically?
Here are some other examples:
$$\frac{302}{20} = 12.1$$ $$9x^2+9x+4=0$$ $$\frac{x+3}{2x-7} = \frac{2x-1}{x-3}$$