Get Sequence
get_sequenceFetch a single OEIS integer sequence by its A-number (e.g. "A000045" for the Fibonacci numbers, "A000040" for the primes). Accepts the A-number with or without the "A" prefix and zero-padding ("A000045", "45", and "000045" are all valid). Returns the full record: name, terms (data), comments, formulas, keywords, offset, author, and reference count. Use this to get the formula or mathematical description of a known sequence.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "A000045"
},
"name": "get_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | An OEIS A-number such as "A000045", or just "45" / "000045". |