OEIS_offset | R Documentation |
xml2
data.This line usually gives the subscript of the first term in the sequence. If the sequence gives the decimal expansion of a constant, the offset is the number of digits before the decimal point. In the OEIS web internal format, there is a second offset, which says which term (counting from the left, and starting with 1), first exceeds 1 in absolute value. This is set to 1 if all the terms are 0 or +-1
OEIS_offset(x)
x |
Can be one of the following:
|
A character vector with the OEIS sequence offsets.
In the internal format for a sequence the offset line (the contains two numbers. The first is the offset as just defined. The second gives the position of first entry greater than or equal to 2 in magnitude in the sequence (or 1 if no such entry exists), starting counting at 1. The second offset is used to determine the position of the sequence in the lexicographic order in the database.
Explanation of the Different Lines
* OEIS_internal_format
* OEIS_description
* OEIS_xml
* OEIS_sequence
## Not run: id <- "A000056" internal_format <- OEIS_internal_format(id) OEIS_offset(internal_format) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.