Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.