3n + 1 sequence

by Ricardo Fernández Serrata

Version 1 (July 8, 2022)

Download (6 downloads)

The Hailstone sequence of a number is the result of applying the Collatz function repeatedly (AKA Collatz Algorithm). Supports negatives!

This flow is what some people would call a "Collatz calculator".

The "Skip evens" removes all binary trailing zeros from every integer in the sequence.

https://en.wikipedia.org/wiki/Collatz_conjecture

LICENSE: https://unlicense.org