Javascript library for calculations related to Collatz Conjecture