Decimal System
The decimal system is a base-10 numbering system that uses digits from 0 to 9.
To convert a number from decimal to another number system base-:
- Find and write it down at the rightmost digit.
- Floor divide by n such that and repeat.
Then, to reverse the conversion,
where is the length of the string in base-, and is its -th digit.