Skip to main content
Module

x/collatz/src/utilities.ts

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

Enums

SequenceState for Cycle Control

Variables

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

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.