Montgomery inverse