Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/collatz/lib/esm/utilities.js

Functions related to the Collatz/Syracuse/3N+1 problem.
Latest
import * as collatz from "https://deno.land/x/collatz@javascript-v1.2.0/lib/esm/utilities.js";

Variables

The four known cycles (besides 0 cycling to itself), for the default parameterisation.

SequenceState for Cycle Control

The current value up to which has been proven numerically, for the default parameterisation.

The current value down to which has been proven numerically, for the default parameterisation.

Functions

Provides the appropriate lambda to use to check if iterations on an initial value have reached either the stopping time, or total stopping time.