/collatz-conjecture

Golang implementation of 3N+1 problem

Primary LanguageMakefile

Collatz Conjecture

Golang implementation of 3N+1 problem where any given integer number will always end up in the number 1.

Usage

make build-<os>-<arch>
./build/collatz-<os>-<arch> <any-integer>