2 releases
0.1.1 | Feb 9, 2022 |
---|---|
0.1.0 | Feb 9, 2022 |
#4 in #collatz
3KB
Collatz
Calculate the length of the Collatz sequence for a given number
Usage
collatz(n)
returns the length of the Collatz sequence for n
.
Calculate the length of the Collatz sequence for a given number
0.1.1 | Feb 9, 2022 |
---|---|
0.1.0 | Feb 9, 2022 |
#4 in #collatz
3KB
Calculate the length of the Collatz sequence for a given number
collatz(n)
returns the length of the Collatz sequence for n
.