modulo, pgcd, extanded euclide's algorithm... | ScratchStats