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}$$
Remember, that the positional notation in some base $b$ makes use of (integer) powers of $b$. If you use the base as the variable, you get equations with a variable $b$ to solve for:
For example, your first exercise leads to:
This is a simple quadratic equation with solutions 0 and 4. Since 0 is no valid base, 4 is the answer. Hope it will help...
Update: I can't really figure out, what the idea behind the other two problems is. Since both of them only use 1 digit numbers, solutions should actually be independent of the base. Unless 4 in base 4 would be defined as 4 mod 4 = 0 or something like that. But otherwise the second example is unsolveable for a real variable $x$.