Omni calculator modulo. It is closely related to the Euclidean algorithm and .