-1

enter image description here

I get stuck in here.
Should it be 10 11 100 101 110?
Should "21/4" lie between 101 and 110 instead of 111?
Thanks for your help!

1 Answers1

0

Yes, you're right. The integer at the right of 101 should be 110.

The reason is that $110_2 = 5<\dfrac{21}{4}<6 = 110_2<7=111_2$.

There's nothing wrong in the equation that you underlined.

$$c_0 = d_0 + p d_1 + p^2 d_2 + \cdots + p^k d_k,$$

where $d_0,d_1,\dots,d_k \in \{0,1,\dots,p-1\}$ because the formula represents $c_0$ in base $p$.

In the picture, there're some digits $0$'s and $1$'s because the figure shows the representation of $\dfrac{21}4$ in the binary system.