Identify integer sequence (OEIS)
identify_sequenceIdentify named sequences from ≥4 integer terms by exact contiguous match against a local OEIS copy.
Instructions
Match an integer sequence against a LOCAL OEIS copy by EXACT contiguous term-match (no fuzzy scoring; honest UNDETERMINED if the data files are absent). Use when you have >= 4 integer terms and want the named sequence. Args: terms (list of integers), max_results (default 5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes | the integer sequence to identify, e.g. [1,1,2,3,5,8,13,21] (give >= 4 terms) | |
| max_results | No | max OEIS matches to return (default 5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| identified | Yes | ||
| matches | Yes | ||
| data_dir | No | ||
| note | No | ||
| remediation | No | present iff local OEIS data is missing — how to get it |