Number Bases

Introduction

The following table shows the equivalents of the first few decimal numbers.

Decimal Binary Trinary Octal Hexadecimal
0 0 0 0 0
1 1 1 1 1
2 10 2 2 2
3 11 10 3 3
4 100 11 4 4
5 101 12 5 5
6 110 20 6 6
7 111 21 7 7
8 1000 22 10 8
9 1001 30 11 9
10 1010 31 12 A
11 1011 32 13 B
12 1100 40 14 C
13 1101 41 15 D
14 1110 42 16 E
15 1111 50 17 F