GATE 2021 EC – Question 21
If $(1235)_x=(3033)_y$, where $x$ and $y$ indicate the bases of the corresponding numbers, then
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) $x=8$ and $y=6$
Explanation
Convert each digit string to decimal.
For $x=8,\ y=6$: $(1235)_8=1\cdot512+2\cdot64+3\cdot8+5=669$ and $(3033)_6=3\cdot216+0\cdot36+3\cdot6+3=669$. They are equal.
(The other pairs give different values, e.g. $x=7,y=5$: $(1235)_7=467$ but $(3033)_5=393$.)