{"id":18285812,"url":"https://github.com/toydotgame/collatz-sequence-generator","last_synced_at":"2025-04-09T06:20:17.500Z","repository":{"id":158681615,"uuid":"397181544","full_name":"toydotgame/collatz-sequence-generator","owner":"toydotgame","description":"A simple Java application to find information about a given Collatz Conjecture (also known as \"the 3x+1 Problem\") sequence of numbers.","archived":false,"fork":false,"pushed_at":"2021-09-01T00:38:44.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T00:41:29.391Z","etag":null,"topics":["3nplus1","collatz-conjecture","collatz-problem","collatz-sequences","collatzconjecture"],"latest_commit_sha":null,"homepage":"https://en.wikipedia.org/wiki/Collatz_conjecture","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toydotgame.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-08-17T09:00:58.000Z","updated_at":"2021-09-01T00:38:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"e53e9628-3434-4dde-8e2b-544c01433c95","html_url":"https://github.com/toydotgame/collatz-sequence-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toydotgame%2Fcollatz-sequence-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toydotgame%2Fcollatz-sequence-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toydotgame%2Fcollatz-sequence-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toydotgame%2Fcollatz-sequence-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toydotgame","download_url":"https://codeload.github.com/toydotgame/collatz-sequence-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987884,"owners_count":21028997,"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":["3nplus1","collatz-conjecture","collatz-problem","collatz-sequences","collatzconjecture"],"created_at":"2024-11-05T13:17:51.133Z","updated_at":"2025-04-09T06:20:17.463Z","avatar_url":"https://github.com/toydotgame.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collatz Sequence Generator\nThis is a simple program that I made as a proof of concept and simple introduction to the Collatz Conjecture (also known as _the 3x+1 Problem_).\n\n## Use\n### Requirements\n* Java (\u003e= 1.8.0\\_292)\n\n### Running\nDownload a JAR from the [_Releases_](https://github.com/toydotgame/collatz-conjecture-sequence-generator/releases) section, open a terminal in your download directory, and run this:\n```sh\njava -jar Collatz.jar\n```\n\n### Configuration\nThere are three options available currently:\n\nOption Name | Options | Description\n----------- | ------- | -----------\nShow calculation steps? | `y` or `n` | Show each individual number in the sequence of numbers calculated. If `n` is chosen, stats will be shown at the end about sequence length, and numbers of odd and even numbers.\nPrint equations? | `y` or `n` | If a number is odd, `3 * x + 1 = y` is printed; and if even `x / 2 = y` is printed. The equations printed may differ from how the numbers themselves are internally calculated, but both the output and the internals of this program follow the rules of the Collatz Conjecture exactly.\nSay if a number is odd or even? | `y` or `n` | Adds a prefix to the start of each line saying the odd/evenness of the previous number, and the new number that has been calculated \\[according to the rules\\].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoydotgame%2Fcollatz-sequence-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoydotgame%2Fcollatz-sequence-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoydotgame%2Fcollatz-sequence-generator/lists"}