Crates.io | collatz_length |
lib.rs | collatz_length |
version | 0.1.1 |
source | src |
created_at | 2022-02-09 14:16:37.650029 |
updated_at | 2022-02-09 15:09:26.860907 |
description | Calculate the length of the Collatz sequence for a given number |
homepage | https://github.com/ellygaytor/collatz |
repository | https://github.com/ellygaytor/collatz |
max_upload_size | |
id | 529723 |
size | 3,313 |
Calculate the length of the Collatz sequence for a given number
collatz(n)
returns the length of the Collatz sequence for n
.