collatz_length

Crates.iocollatz_length
lib.rscollatz_length
version0.1.1
sourcesrc
created_at2022-02-09 14:16:37.650029
updated_at2022-02-09 15:09:26.860907
descriptionCalculate the length of the Collatz sequence for a given number
homepagehttps://github.com/ellygaytor/collatz
repositoryhttps://github.com/ellygaytor/collatz
max_upload_size
id529723
size3,313
Dani (ellygaytor)

documentation

README

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.

Commit count: 13

cargo fmt