Identify OEIS Sequence
oeis_identify_sequenceIdentify integer sequences that contain a run of consecutive terms, e.g. "1, 2, 5, 14, 42". Returns up to 10 matches per page in OEIS relevance order, each with the index n at which the supplied run begins. For the best hit rate supply about 6 terms and leave off the first one or two, since sources disagree on where a sequence starts. OEIS matches only the first terms of each entry (its data line, at most about 270 characters), not its b-file, so a run from far into a sequence is not found. Takes up to 60 terms, each an integer of at most 200 digits or the wildcard _ for one unknown term.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Result offset: 0, 10, … 100 (OEIS shows at most 110 results per query). Pass nextStart from the previous page. | |
| terms | Yes | Up to 60 consecutive terms separated by commas or spaces, e.g. "1, 2, 5, 14, 42" (a bracketed list or a trailing ... is accepted). Each term is an integer of at most 200 digits, or _ for a single unknown term. | |
| matchSigns | No | false (default) matches ignoring signs, so a sign-convention difference does not hide the sequence; true requires the signs to match. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Page size: 10, fixed by OEIS. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Rows on this page. | |
| start | No | The result offset of this page as OEIS served it; below the requested start when that start was past the last result (OEIS then serves the last page). | |
| notice | No | Guidance: why nothing matched, how to narrow the query, or how to reach the next page. | |
| results | No | Candidate sequences on this page, in OEIS relevance order. | |
| nextStart | No | Pass as start for the next page; absent on the last reachable page. | |
| truncated | No | True when more rows exist than this page shows. | |
| totalCount | No | Total rows: the match count OEIS reported, or for outgoing cross-references the number of distinct A-numbers the entry names. | |
| effectiveQuery | No | The query as OEIS parsed it (lowercased upstream), e.g. seq:1,2,5,14,42. |