Collatz sequence/Starting with 100/Head/Exercise

From Wikiversity
Jump to navigation Jump to search

Compute the Collatz sequence

for the initial value in your head, until the value is reached.