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,
The next are thusly,
and 8.
Hope this helps :)
1.6m questions
2.0m answers