Determine the value of base x if $(211)_x=(152)_8$

542 Views Asked by At

$(211)_x=(152)_8$

I did:

$$2*x^2+x^1+1 = 1*8^2+5*8+2 \Leftrightarrow \\ 2x^2+x-104 = 0$$

Only this gives me 2 non integer roots. What did I do wrong and how can I solve this?