{"id":28326601,"url":"https://github.com/jtpeller/oeis","last_synced_at":"2025-06-24T04:30:57.698Z","repository":{"id":144534100,"uuid":"435714649","full_name":"jtpeller/OEIS","owner":"jtpeller","description":"Algorithms for various integer sequences from the OEIS site. ","archived":false,"fork":false,"pushed_at":"2025-04-14T01:58:22.000Z","size":294,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T08:35:35.577Z","etag":null,"topics":["go","golang","integer-sequences","math","oeis"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtpeller.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,"zenodo":null}},"created_at":"2021-12-07T02:17:47.000Z","updated_at":"2025-04-14T01:58:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"19002373-0fe1-4706-b26c-fd1c2da3ba9d","html_url":"https://github.com/jtpeller/OEIS","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jtpeller/OEIS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2FOEIS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2FOEIS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2FOEIS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2FOEIS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtpeller","download_url":"https://codeload.github.com/jtpeller/OEIS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpeller%2FOEIS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261603888,"owners_count":23183555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["go","golang","integer-sequences","math","oeis"],"created_at":"2025-05-25T23:13:36.452Z","updated_at":"2025-06-24T04:30:57.692Z","avatar_url":"https://github.com/jtpeller.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OEIS\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/jtpeller/oeis)](https://goreportcard.com/report/github.com/jtpeller/oeis)\n[![Release](https://img.shields.io/github/release/jtpeller/oeis.svg?style=flat-square)](https://github.com/jtpeller/oeis/releases)\n[![GitHub License](https://img.shields.io/github/license/jtpeller/oeis)](https://github.com/jtpeller/oeis/blob/main/LICENSE)\n\n## Overview\n\nThe ongoing quest to program every sequence in the OEIS database (in Golang)\n\n## Content\n\n- `sequences` -- The folder containing the seq package, which contains all programmed sequences\n- `utils` -- Contains any and all utility functions that are very common (say, a PrintSequence function). Also includes any common calculations or generator functions for common sequences (such as primes or the factors of a number).\n- `go.mod` -- Handles the OEIS module\n- `main.go` -- The file containing main\n- `README.md` -- The file you're reading right now\n\n## Notes\n\nEach of the sequence functions (those functions starting with `A...`) will return:\n\n- The integer sequence that is produced. Type: `[]int64 || *big.Int`\n- The offset (aka starting position or starting index). Type: `int64`\n\nMy strategy is not completing 100% of every sequence in order, but rather program as many of the OEIS sequences as possible. There's ~350 *thousand* sequences so my goal is to just get as many programmed as possible.\n\n## Usage\n\nRun the program with `go run main.go` and some options. For example:\n\n```sh\ngo run main.go -seq A000045 -seqlen 50 -time\n```\n\nUse `go run main.go -h` or `go run main.go --help` for more information.\n\nOptions:\n\n- `-seq` -- Give the sequence ID (A000002 for example)\n- `-seqlen` -- Give the number of elements to generate. There may be limits on some of the sequences due to overflow or warnings due to rounding inaccuracies or lengthy computations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpeller%2Foeis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtpeller%2Foeis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpeller%2Foeis/lists"}