This site is supported by donations to The OEIS Foundation.

OEIS format for decimal representation of constants

The value of the constant ${\displaystyle \scriptstyle C\,}$ encoded as a sequence of decimal digits is:

${\displaystyle |C|=10^{{\rm {offset}}-1}\cdot \sum _{m=0}^{\infty }a_{n=m+{\rm {offset}}}\,10^{-m}\,}$

Generally, the offset is the number of digits before the decimal point:

${\displaystyle {\rm {offset}}={\begin{cases}0&{\text{if }}|C|<1,\\{\lfloor \log _{10}(|C|)\rfloor +1}&{\text{if }}|C|\geq 1.\end{cases}}\,}$

e.g.:

But if the number of initial zeros would be too large to reasonably include, it can be encoded as a negative offset, as A143531, which has offset -14827:

1, 8, 2, 8, 6, 4, 3, 2, ...
${\displaystyle 1.828\ldots \cdot 10^{-14828}=10^{-14827-1}\left(1\cdot 10^{0}+8\cdot 10^{-1}+2\cdot 10^{-2}+\cdots \right)}$

If the number of initial zeros is too large (in absolute value) to be recorded as the offset at all, like A160106, give the offset as 1 and record the proper offset (if possible) as a comment.

Examples

 16.789 has offset 2 1.67 has offset 1 .678 has offset 0 .0678 has offset -1 .00678 has offset -2 

According to these above examples, we could have

but we don't because the initial 0's are included in those sequences.