Question IN AN EXAM : $(22)_4$ + $(101)_3$ – $(20)_5$ = $(x)_4$ + $(4)_{x–1}$. The value of $x$ is ___________.
According to me the question is invalid, since the exam did not specify the base of the answer...
reason :
Unless you specify which "$x$" ,
$x$ = $12_4$ and $x$ = $6_{10}$ .
For $4_{x-1}$ ,logically, the value of $x-1$ ranges from $5$ to $infinity$ with no change
($4_{100}$ == $4_{11}$ == $4_5$ == $4_{9999}$ == $4_{16}$)
BUT
since we "always" denote a BASE/RADIX always in "to the BASE 10" form
For example we denote a hexadecimal number in the following form
<p>$34CF_{16}$ and not $34CF_{F1}$ [$16$ in Hexadecimal is $F1$] or</p> <p>$34CF_{10000}$ [16 is 10000 in binary] and vice versa)</p> <p>the value of $x-1$ is definitely $(5)_{10}$ since in $4_{x-1}, x-1$ is a BASE</p>so $x-1_{10}$ = $5_{10}$
So the answer is
$x = 12$ ( for the question $(x)_4$ )
$x - 1 = 5$ ,Thus $x=6$ ( for the question $(4)_{x-1}$ )
Is my logic correct?