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

x/collatz/lib/esm/index.mjs>assertSaneParameterisation

Functions related to the Collatz/Syracuse/3N+1 problem.
Latest
function assertSaneParameterisation
Re-export
import { assertSaneParameterisation } from "https://deno.land/x/collatz@javascript-v1.2.0/lib/esm/index.mjs";

Assert Sane Parameters

Parameters

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