Atlas / Skills / brycewang-stanford / Oeis Api

Oeis ApiCAUTION

skills/brycewang-stanford/oeis-api

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

Verdict
CAUTION
Grade
B
Trust score
89 /100
Version
—
Hosts
1 documented
License
NOASSERTION
Stars
4,537
01

Overview

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

Read from source at commit e1ba289846fdOBSERVED · 2026-10-08
02

Host compatibility

What the documentation claims. We have not run a compatibility test.

HostStatusNotes
openclawmentioned
03

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: oeis-api
description: "On-Line Encyclopedia of Integer Sequences API"
metadata:
  openclaw:
    emoji: "🔍"
    category: "domains"
    subcategory: "math"
    keywords: ["number theory", "algebra", "probability theory", "applied mathematics"]
    source: "https://oeis.org/eishelp1.html"
---

# OEIS API Guide

## Overview

The On-Line Encyclopedia of Integer Sequences (OEIS) is a comprehensive database of integer sequences, founded by Neil Sloane in 1964 and now containing over 370,000 entries. It is one of the most widely cited resources in mathematics, serving as the definitive reference for identifying, cataloging, and exploring integer sequences that arise in combinatorics, number theory, algebra, analysis, and applied mathematics.

The OEIS provides a web-accessible search interface that can also be used programmatically to query sequences by their terms, by A-number (the unique identifier for each sequence), or by keyword. The API returns structured data in JSON or plain text format, including the sequence terms, formulas, generating functions, references, links to related sequences, and contributed programs in various languages.

Mathematicians, computer scientists, physicists, and researchers in any quantitative discipline use the OEIS to identify unknown sequences encountered in their work, verify conjectures, discover connections between different areas of mathematics, and access formulas and programs for computing sequence terms. It is an indispensable tool for both pure and applied mathematical research.

## Authentication

No authentication required. The OEIS is a free, open resource that does not require any API key, token, or registration. All queries are publicly accessible. The OEIS Foundation operates as a non-profit and relies on voluntary contributions.

## Core Endpoints

### search: Search for Sequences

Search the OEIS database by sequence terms, keywords, A-number, or author name. This is the primary endpoint for querying the encyclopedia.

- **URL**: `GET https://oeis.org/search`
- **Parameters**:

| Parameter | Type   | Required | Description                                                   |
|-----------|--------|----------|---------------------------------------------------------------|
| q         | string | Yes      | Search query: sequence terms (comma-separated), keyword, or A-number |
| fmt       | string | No       | Output format: `json`, `text`, `html` (default)               |
| start     | int    | No       | Offset for pagination (default 0)                             |

- **Example**:

```bash
# Search by sequence terms
curl "https://oeis.org/search?q=1,1,2,3,5,8,13,21&fmt=json"

# Search by A-number
curl "https://oeis.org/search?q=A000045&fmt=json"

# Search by keyword
curl "https://oeis.org/search?q=catalan+numbers&fmt=json"
```

- **Response**: Returns a JSON object with `count` (total results), `start`, and `results` array. Each result contains `number` (A-number as integer), `name` (description), `data` (comma-separated terms), `offset`, `formula` (array of formula strings), `comment` (array), `reference` (array of bibliographic references), `link` (array of URLs), `program` (array of code implementations), and `xref` (cross-references to related sequences).

### lookup: Direct Sequence Retrieval

Retrieve a specific sequence by its A-number directly via the URL path. This provides a simpler access pattern for known sequences.

- **URL**: `GET https://oeis.org/A{number}`
- **Parameters**:

| Parameter | Type   | Required | Description                                             |
|-----------|--------|----------|---------------------------------------------------------|
| number    | int    | Yes      | The sequence A-number (in the URL path)                 |
| fmt       | string | No       | Output format: `json`, `text`, `html`                   |

- **Example**:

```bash
# Retrieve the Fibonacci sequence (A000045)
curl "https://oeis.org/A000045?fmt=json"

# Retrieve the prime numbers (A000040)
curl "https://oeis.org/A000040?fmt=json"
```

- **Response**: Returns the same structured JSON as the search endpoint but for a single sequence, including `number`, `name`, `data`, `formula`, `maple` (Maple code), `mathematica` (Mathematica code), `program` (other language implementations), and `keyword` (classification tags like `nonn`, `easy`, `nice`).

## Rate Limits

No formal rate limits are published for the OEIS. However, the service is run by a non-profit organization with limited infrastructure. Users should be respectful and avoid sending more than a few requests per second. For bulk data access, the OEIS provides downloadable data files at https://oeis.org/stripped.gz (sequence terms) and https://oeis.org/names.gz (sequence names) which are more appropriate for large-scale analysis.

## Common Patterns

### Identify an Unknown Sequence

When you encounter an integer sequence in your research and want to identify it:

```python
import requests

# You found this sequence in your combinatorial analysis
unknown_terms = "1,4,9,16,25,36,49,64"

resp = requests.get("https://oeis.org/search", params={"q": unknown_terms, "fmt": "json"})
data = resp.json()

if data["count"] > 0:
    seq = data["results"][0]
    print(f"A{seq['number']:06d}: {seq['name']}")
    print(f"Terms: {seq['data']}")
    if seq.get("formula"):
        print(f"Formula: {seq['formula'][0]}")
else:
    print("No matching sequence found in OEIS")
```

### Retrieve Formulas and Programs

Get computational formulas and reference implementations for a known sequence:

```python
import requests

# Get the Catalan numbers (A000108)
resp = requests.get("https://oeis.org/A000108", params={"fmt": "json"})
data = resp.json()
seq = data["results"][0]

print(f"Sequence: {seq['name']}")
print(f"\nFirst terms: {seq['data']}")

print("\nFormulas:")
for f in seq.get("formula", [])[:5]:
    print(f"  {f}")

print("\nPrograms:")
for p in seq.get("program", [])[:5]:
    print(f"  {p}")
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

HIGHPrompt injection · prompt.credential_read · CWE-94, CWE-1427
SKILL.md:25
No authentication required. The OEIS is a free, open resource that does not require any API key, token, or registration. All queries are publicly accessible. The OEIS Foundation operates as a non-prof
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha e1ba289846fdfull audit observations/trust-audit/skill/brycewang-stanford__oeis-api.json · Report an issue / request a re-scan
05

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-08e1ba289846fdCAUTIONB89first audit
06

Questions

What does the Oeis Api skill do?

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

Is Oeis Api safe to install?

With care. The audit graded it B (89/100) and found 1 thing worth knowing before you trust this skill, listed below with the exact line each was found on.

What can Oeis Api access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

Which assistants does Oeis Api work with?

Its documentation mentions openclaw. That is what the text claims, not a compatibility test we ran.

How current is this page?

The grade is for one exact copy of the source (e1ba289846fd), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.

Advertisement