{"id":20160155,"url":"https://github.com/trizen/oeis-autoload","last_synced_at":"2026-05-13T09:02:40.259Z","repository":{"id":195166599,"uuid":"692387683","full_name":"trizen/oeis-autoload","owner":"trizen","description":"Use OEIS sequences as functions in computer programs.","archived":false,"fork":false,"pushed_at":"2024-08-06T22:10:29.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T02:28:31.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trizen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-16T10:28:10.000Z","updated_at":"2024-08-06T22:10:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3376971-462b-4af3-9fb8-bd195ec6db25","html_url":"https://github.com/trizen/oeis-autoload","commit_stats":null,"previous_names":["trizen/oeis-autoload"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trizen/oeis-autoload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trizen%2Foeis-autoload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trizen%2Foeis-autoload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trizen%2Foeis-autoload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trizen%2Foeis-autoload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trizen","download_url":"https://codeload.github.com/trizen/oeis-autoload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trizen%2Foeis-autoload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32975183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T00:12:29.952Z","updated_at":"2026-05-13T09:02:40.241Z","avatar_url":"https://github.com/trizen.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oeis-autoload\n\n**OEIS autoload** is a [Sidef](https://github.com/trizen/sidef) command-line tool and a library that implements support for using [OEIS](https://oeis.org) sequences as functions.\n\nUsage example:\n\n```console\n$ sidef oeis.sf 'A060881(n)' 0 9    # display first 10 terms of A060881\n```\n\nSeveral other usage examples:\n\n```console\n$ sidef oeis.sf 'A033676(n)^2 + A033677(n)^2'              # first 10 terms\n$ sidef oeis.sf 'A033676(n)^2 + A033677(n)^2' 5            # 5-th term\n$ sidef oeis.sf 'A033676(n)^2 + A033677(n)^2' 5 20         # terms 5..20\n```\n\nThe ID of a [OEIS](https://oeis.org) sequence can be called like any other function:\n\n```console\n$ sidef oeis.sf 'sum(1..n, {|k| A000330(k) })'\n$ sidef oeis.sf 'sum(0..n, {|k| A048994(n, k) * A048993(n+k, n) })'\n```\n\nThe `OEIS.sm` library can also be used inside Sidef scripts, by placing it in the same directory with the script:\n\n```ruby\ninclude OEIS\nsay map(1..10, {|k| A000330(k) })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrizen%2Foeis-autoload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrizen%2Foeis-autoload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrizen%2Foeis-autoload/lists"}