Search code examples
apimathsequences

Programmatic access to On-Line Encyclopedia of Integer Sequences


Is there a way to search and retrieve the results from On-Line Encyclopedia of Integer Sequences (http://oeis.org) programmatically?

I have searched their site and the results are always returned in html. They do not seem to provide an API but in the policy statement they say its acceptable to access the database programmatically. But how to do it without screen scraping?

Thanks a lot for your help.


Solution

  • A URL of the form http://oeis.org/search?fmt=text&q=2,5,14,50,233 gives a nicely formatted text output.

    But it seems there is no way to get a single sequence in text form.