Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shlomif/collatz-conjecture

Computer programs to investigate the Collatz Conjecture (3n + 1)
https://github.com/shlomif/collatz-conjecture

collatz collatz-conjecture hacktoberfest math maths

Last synced: 26 days ago
JSON representation

Computer programs to investigate the Collatz Conjecture (3n + 1)

Awesome Lists containing this project

README

        

Computer programs by [Shlomi Fish](http://www.shlomifish.org/) to investigate
the [Collatz Conjecture](https://en.wikipedia.org/wiki/Collatz_conjecture) .

Reading from the wikipedia page:

```
The conjecture can be summarized as follows. Take any positive integer n. If n
is even, divide it by 2 to get n / 2. If n is odd, multiply it by 3 and add 1
to obtain 3n + 1. Repeat the process (which has been called "Half Or Triple
Plus One", or HOTPO[7]) indefinitely. The conjecture is that no matter what
number you start with, you will always eventually reach 1.
```