• When we write a positive integer in decimal notation, say 237, we mean that . This can be written in any base, however, e.g. .
  • The notation extends from integers to positive real numbers by writing further digits (possibly an infinite amount) after a point, as we’re used to with base 10, e.g. .
  • As we can see, the pattern for notation is like so: let a number be denoted by its digits in base . Thus, .
  • Converting integers from any base into a decimal is trivial - either by definition, as demonstrated before, or with the following arrangement derived by factorising out the base (to reduce the number of operations):
  • There are also tabular arrangements (based on Ruffini’s Rule): Horner’s Method
  • Reversing this procedure converts from decimal to any base - keep dividing by the base, ignoring the remainder, e.g. converting 14950 to base 7:
  • The digits in base 7 are then the remainders, read from the bottom up: . Note that this looks similar to the Euclidean algorithm (original note), but it is completely different in terms of the numbers carried forward in each division.
  • Extending both parts into the real set of numbers is fairly simple, just first remove any numbers after their point by multiplying/dividing by a number (, where is the base and is the number of digits after the point), then divide/multiply by the same number after the conversion. If there are infinitely many digits after the point, then just take an approximation.