Crate simple_colatz

Source
Expand description

§Simple colatz

simple is a group of crate that simplifies functions for beginners with clean non-terse documentation. This package allows you to compute the colatz conjecture

Functions§

multi_step_recursive_colatz
single_step_colatz
this function uses a number computes the next number by useing a if condition: If the number doesent have a remainder when its divided by 2 then, divide the number by 2, and return said number, else we multipy and add 1 to the number and return said number.