
Similarly, binary number 100011102 can be shown as:
100011102 = 1 × 27 + 0 × 26 + 0 × 25 + 0 × 24 + 1 × 23 + 1 × 22 + 1 × 21 + 0 × 20
1.5.3 Octal Number System
In the octal number system, the valid numbers are 0, 1, 2, 3, 4, 5, 6, 7. A subscript 8 indicates that a number is in octal format. For example, the octal number 23 appears as 238.
In general, an octal number is represented as:
an × 8n + an–1 × 8n–1 + an–2 × 8n–2 + ……… + a0 × 80
For example, octal number 2378 can be shown as:
2378 = 2 × 82 + 3 × 81 + 7 × 80
Similarly, octal number 17778 can be shown as:
17778 = 1 × 83 + 7 × 82 + 7 × 81 + 7 × 80
1.5.4 Hexadecimal Number System
In the hexadecimal number system, the valid numbers are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. A subscript 16 or subscript H indicates that a number is in hexadecimal format. For example, hexadecimal number 1F can be written as 1F16 or as 1FH. In general, a hexadecimal number is represented as:
an × 16n + an–1 × 16n–1 + an–2 × 16n–2 + ……… + a0 × 160
For example, hexadecimal number 2AC16 can be shown as:
2AC16 = 2 × 162 + 10 × 161 + 12 × 160
Similarly, hexadecimal number 3FFE16 can be shown as:
