collatz is a CLI for printing the hailstone sequence of a number.
Archives of precompiled binaries
for collatz
are available for Windows, macOS and Linux.
collatz
is written in Rust, so you'll need to grab a Rust installation
in order to compile it. To build collatz
, run:
git clone git@github.com:rodmoioliveira/collatz.git
cd collatz
make install
collatz --help
Prints the hailstone sequence of a number
Usage: collatz <NUMBER>
Arguments:
<NUMBER>
A positive integer between 0 and 340282366920938463463374607431768211455
Options:
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version