Numeral System

記數系統決定如何使用一組符號來表示數(number)。

The Types of Numeral Systems

Positional Numeral System 進位制

The Standard Positional Numeral System

$$ \def\arraystretch{1.2} \begin{array}{|c:c:c:c|} \hline \color{darksalmon}\textsf{Decimal} & \color{darksalmon}\space\textsf{Binary}\space & \color{darksalmon}\space\space\textsf{Octal}\space\space & \color{darksalmon}\textsf{Hexadecimal} \\ \hline 0 & 0000 & 0 & 0\\ \hdashline 1 & 0001 & 1 & 1\\ \hdashline 2 & 0010 & 2 & 2\\ \hdashline 3 & 0011 & 3 & 3\\ \hdashline 4 & 0100 & 4 & 4\\ \hdashline 5 & 0101 & 5 & 5\\ \hdashline 6 & 0110 & 6 & 6\\ \hdashline 7 & 0111 & 7 & 7\\ \hdashline 8 & 1000 & 10 & 8\\ \hdashline 9 & 1001 & 11 & 9\\ \hdashline 10 & 1010 & 12 & \textsf{A}\\ \hdashline 11 & 1011 & 13 & \textsf{B}\\ \hdashline 12 & 1100 & 14 & \textsf{C}\\ \hdashline 13 & 1101 & 15 & \textsf{D}\\ \hdashline 14 & 1110 & 16 & \textsf{E}\\ \hdashline 15 & 1111 & 17 & \textsf{F}\\ \hline \end{array} $$

Base Conversion

Any base to decimal

Decimal to any base

Reference