27,114 views
23 votes
23 votes
Help its in binary and im a small brain for that

Help its in binary and im a small brain for that-example-1
User Nick Moskalenko
by
2.8k points

1 Answer

20 votes
20 votes

The bit on the i-th position from RIGHT to LEFT has a value of 2 to the i (start counting with 0), so,

First one is,


0\cdot2^3+1\cdot2^2+0\cdot2^1+1\cdot2^0=5

The next are thusly,


2,0,6 and 8.

Hope this helps :)

User Juba Fourali
by
2.6k points