search_terms
Search OEIS sequences for a consecutive run of terms, similar to the OEIS search box. Use it to identify sequences, find partial matches, or handle queries with a wrong term or different start.
Instructions
Find sequences containing the given terms consecutively, like the OEIS search box.
terms: comma-separated integers, e.g. "1, 2, 5, 14, 42, 132". At least 4 consecutive terms with some
|term| >= 10 are needed (shorter or tinier queries are too generic to index).
ext: search DATA plus b-file terms instead of DATA only.
sub: instead of the whole query, report every maximal common run of >= min_run terms between the query
and a sequence (useful when the query has a wrong term or a different start), longest first.
Each hit gives the A-number, name, keywords, offset, and where the match starts: at is the index into
the sequence's terms (0-based), n the corresponding n (offset + at).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | No | ||
| sub | No | ||
| limit | No | ||
| terms | Yes | ||
| min_run | No |