1
$\begingroup$

I wanna solve this simple equation using base-2 number system.

$(1010001)_{2}/(11)_{2}=?$

I can't remember how to do that, normally I would start with $101/11$ but what should I do this base-2 numbers?

Sorry if this question might be silly.

Thanks a lot

2 Answers 2

3

using long division:

1010001 / 11 -11||||  | 11011  --||||  100|||  -11|||   --|||   0100|    -11|     --|      11     -11      --       0 
  • 0
    @TonyK fixed the stray 02011-11-12
2

In binary $10-1=1$.

Thus $101-11=10$. This first digit is $1$.

Next $100-11=1$. The second digit is $1$.

$10-0=10$. The next digit is $0$.

$100-11=1$. The next digit is $1$.

Finally $11-11=0$ the last digit is $1$.

Hence $(1010001)_{2}/(11)_{2}=11011_{2} \,.$