Académique Documents
Professionnel Documents
Culture Documents
Now
notice that following representations, using just 0 and 1, are unique for each
number from 0 to 7, ie, there are no other ways of representing numbers
from 0 to 7, by only using 10 s and 00 s in this notation.
(0, 0, 0) = 0
(0, 0, 1) = 1
(0, 1, 0) = 2
(0, 1, 1) = 3
(1, 0, 0) = 4
(1, 0, 1) = 5
(1, 1, 0) = 6
(1, 1, 1) = 7
.
Let m = (dn−1 dn−2 . . . d0 )8 be a number in base 8 notation, which means
0 ≤ di ≤ 7.
Then
n−1
X n−1
X
(dn−1 dn−2 . . . d0 )8 = di 8i = (xi , yi , zi )8i
i=0 i=0
n−1
X n−1
X n−1
X
=( xi 8i , yi 8 i , zi 8i ) = (x, y, z)
i=0 i=0 i=0