Skip to main content
Module

x/collatz/src/FailedSaneParameterCheck.ts>assertSaneParameterisation

Functions related to the Collatz/Syracuse/3N+1 problem.
Latest
function assertSaneParameterisation
import { assertSaneParameterisation } from "https://deno.land/x/collatz@javascript-v1.2.0/src/FailedSaneParameterCheck.ts";

Assert Sane Parameters

Parameters

P: bigint
  • Modulus used to devide n, iff n is equivalent to (0 mod P).
a: bigint
  • Factor by which to multiply n.
_b: bigint