This site is supported by donations to The OEIS Foundation.
OEIS format for decimal representation of constants
C |
Generally, the offset is the number of digits before the decimal point:
e.g.:
- for Pi = 3.14159... it is offset = 1,
- for gamma = 0.5772... it is offset = 0,
- for sin(1°) = 0.01745... it is also offset = 0,
- for alpha = 0.007297... it is again offset = 0 and
- for 1/alpha = 137.0359... it is offset = 3.
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.
Uncertainty
If a constant is known only with some uncertainty, only the digits that are valid within the whole confidence interval (typically plus-minus standard deviation) should be included. Example: according to CODATA 2022, muon-electron mass ratio A057720 equals 206.7682827(46), so only digits 2067682 should be included in the sequence entry.
Examples
- Cf. Talk:OEIS format for decimal representation of constants#Offset for the following:
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
- for sin(1°) = 0.01745... offset = –1 instead of offset = 0,
- for alpha = 0.007297... offset = –2 instead of offset = 0,
but we don't because the initial 0's are included in those sequences.