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: 11 months 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 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T14:22:04.000Z (about 2 years ago)
- Last Synced: 2025-01-31T03:02:34.056Z (over 1 year 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.