Optional
PModulus used to devide n, iff n is equivalent to (0 mod P).
2n
Optional
aFactor by which to multiply n.
3n
Optional
bValue to add to the scaled value of n.
1n
The value on which to perform the Collatz-esque function
Optional
maxMaximum amount of times to iterate the function, if 1 is not reached.
1000
Optional
totalWhether or not to execute until the "total" stopping time (number of iterations to obtain 1) rather than the regular stopping time (number of iterations to reach a value less than the initial value).
true
Generated using TypeDoc
Parameterised inputs
Remarks
Allows non-default (P,a,b); and other options.