search_text
Find OEIS sequences by matching a word, phrase, or regex against text fields such as names, comments, formulas, and authors, with case-insensitive searching and snippet context.
Instructions
Find sequences whose text fields match a word, phrase or regex (case-insensitive).
pattern: a plain word/phrase (fast literal scan) or a Python regex, e.g. "Catalan", "plane partitions", r"\bLyndon words?\b", "Sloane, \d{4}". fields: any of name, comments, formula, xrefs, links, author, programs, keywords; or ["all"]. Default: ["name"]. Hits are in A-number order. Each gives the name and keywords, and, when the match is outside the name, a snippet around the first match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| fields | No | ||
| pattern | Yes | ||
| snippet_chars | No |