Converting number bases
Computer number system: base 2 (binary)
Base (radix) k = 2, digits di = (0, 1)
Given: 13ten
Find: binary representation
b5 b4 b3 b2 b1 b0
weight 25 24 23 22 21 20
digit 0 0 1 1 0 1 8 + 4 + 1 = 13ten
result remainder
start 13
13/2 6 1 b0
6/2 3 0 b1
3/2 1 1 b2
1/2 0 1 b3