OEIS API guide

oeis.org

Search OEIS by keyword or a prefix of integer terms, then look up sequence previews and metadata by A-number.

Actions and inputs

oeis search

Find integer sequences by keyword or starting terms.

Inputs keyword or comma-separated terms, optional limit

oeis sequence

Retrieve a sequence preview, offset, and reference counts.

Inputs A-number

Saved OEIS sequence search in Smith

Create

Save a named OEIS sequence search in Smith.

Inputs search name, keyword or starting terms, result limit

Read

Open the saved OEIS search in Smith to view its criteria.

Inputs saved search ID

Update

Change the saved OEIS keyword, starting terms, or result limit in Smith.

Inputs saved search ID, revised criteria

Delete

Remove the saved OEIS search from Smith without changing any sequence records.

Inputs saved search ID