Number bases
Positional representation of a number
Base (radix) k, digits d
i
Digit values: 0, 1, . . . (k-1)
Number of digits: n
weight
k
(n-1)
k
2
k
1
k
0
digits
d
(n-1)
…
d
2
d
1
d
0
i = n-1
number =
sum(d
i
* k
i
)
i = 0