Parameterised inputs
Allow (P,a,b) to be optional, keyword inputs.
Optional
Factor by which to multiply n.
3n Copy
3n
Value to add to the scaled value of n.
1n Copy
1n
The value on which to perform the Collatz-esque function
Modulus used to devide n, iff n is equivalent to (0 mod P).
2n Copy
2n
Parameterised inputs
Remarks
Allow (P,a,b) to be optional, keyword inputs.