Modular Inverse Calculator Wolfram, ModularInverse [k, n] gives the modular inverse of k modulo n.