src/Maths/Arithmetic/Helper.php
public static function EuclideanDivision($a, $b)
    {
        if ($b==0) {
            throw new \InvalidArgumentException('Division by 0 is not allowed!');
        }
        $divisor    = floor($a / $b);
        $rest       = ($a % $b);
        return array($divisor, $rest);
    }
public static function EuclideanDivision($a, $b)
    {
        if ($b==0) {
            throw new \InvalidArgumentException('Division by 0 is not allowed!');
        }
        $divisor    = floor($a / $b);
        $rest       = ($a % $b);
        return array($divisor, $rest);
    }
Make the "euclidean division" `a / b` having a result like `array( divisor , rest )`

@param $a
@param $b
@return array
@throws \InvalidArgumentException if `$b == 0`