This site is supported by donations to The OEIS Foundation.

Decimal numeral system

From OeisWiki
(Redirected from Decimal)
Jump to: navigation, search

This article page is a stub, please help by expanding it.


The decimal numeral system is a place-value notation for the representation of numbers using the powers of 10. It has become the numeral system of choice for humans, which could conveniently use their two hands times five fingers for counting.

The decimal representation of a real number corresponds to the series

with decimal digits , where the first term is the fractional part and the second term is the integer part.

Computers of course typically use the binary numeral system (although some have used the balanced ternary numeral system) for their internal computations, while input/output is conveniently done in decimal.

Most of Mathematica's built-in digit manipulation functions can use bases from 2 to 36, but when the user does not specify a base, those functions default to decimal. Users can mimic this behavior for their own user-defined functions by including something like b_:10 in their function definition.

Most of the keyword:base sequences in the OEIS pertain to decimal. For example, A004086, which takes the decimal digits of and reinterprets them read backwards.