Mathematical functions and equations for testing provess in algortihmic thinking. Just some math in TypeScript.