collatz_length 0.1.1

Calculate the length of the Collatz sequence for a given number
Documentation

Collatz

Calculate the length of the Collatz sequence for a given number

Crates.io DeepSource

Usage

collatz(n) returns the length of the Collatz sequence for n.