See also: Base Conversion
Decimal
- Base 10
- All integers
can be written as
Decimal is just the base that we most commonly use but we can use any base
Arbitrary Base
- Base
- All integers
can be written as - Larger the base, less digits required for larger numbers, but also more unique digits required
in base is - Base
has unique digits 0 -
Binary
- Base 2
- Each digit is either 1 or 0
Example
What is the decimal expansion of the integer that has
| 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 |
|---|---|---|---|---|---|---|---|---|
Octal
- Base 8
Example
Hexadecimal
- Base 16
- 0-9,A-F
- A-F ~ 10-15