I have a question about what seems to be modular arithmetic, but I can't quite get the answer.
The problem goes along the lines of: It is often said Earthlings use the decimal system because they have ten fingers. We see a Martian write down the equation:
$$ x^2 - 19x + 76 = 0 $$
When asked to write down the difference between the larger and smaller root, the Martian writes 9. How many fingers do Martians have? Note: Martians write numbers between 0 and 9 exactly as we do.
Hint:
Let $x_1$ and $x_2$ be the roots of the polynomial ($x_1 > x_2$) and let $b$ be the base martians use. Then:
$(x-x_1)(x-x_2) = x^2 - (x_1 + x_2) x + x_1\cdot x_2 = x^2 - 19_bx + 76_b$
And knowing that $x_1 - x_2 = 9$ then
$$\begin{cases} x_1 - x_2 = 9 & \\ x_1 + x_2 = 1\cdot b + 9 & \\ x_1\cdot x_2 = 7\cdot b + 6 & \\ \end{cases} $$