Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onlyf0ur/collatz-conjecture
Simple "Collatz Conjecture" step counter in multiple programming languages.
https://github.com/onlyf0ur/collatz-conjecture
collatz-conjecture collatz-problem mathematics
Last synced: 1 day ago
JSON representation
Simple "Collatz Conjecture" step counter in multiple programming languages.
- Host: GitHub
- URL: https://github.com/onlyf0ur/collatz-conjecture
- Owner: OnlyF0uR
- Created: 2021-10-24T10:25:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T14:22:04.000Z (11 months ago)
- Last Synced: 2024-11-24T00:26:00.630Z (2 months ago)
- Topics: collatz-conjecture, collatz-problem, mathematics
- Language: Rust
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# collatz-conjecture
Simple "Collatz Conjecture" scripts.## What is the Collatz Conjecture?
It's a mathematical problem that has not been solved yet.
It follows the following two rules:* When a number is even: divide it by 2.
* When a number is odd: multiply it by 3 and add 1.After an x amount steps the number 1 will be the result, that's where we stop our program. However, we are not sure whether this is the case for every possible number.