This site is supported by donations to The OEIS Foundation.

OEIS format for decimal representation of constants

From OeisWiki
Jump to: navigation, search

The value of the constant encoded as a sequence of decimal digits is:

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


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, ...

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.


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.

See also