Quantcast
Channel: Articles– GeeksforGeeks
Viewing all articles
Browse latest Browse all 339

Modular multiplicative inverse

$
0
0

Given two integers ‘a’ and ‘m’, find modular multiplicative inverse of ‘a’ under modulo ‘m’. The modular multiplicative inverse is an integer ‘x’ such that. a x ≡ 1 (mod m) The value of x should be in {0, 1, 2, … m-1}, i.e., in the ring of integer modulo m. The multiplicative inverse of… Read More »

The post Modular multiplicative inverse appeared first on GeeksforGeeks.


Viewing all articles
Browse latest Browse all 339

Trending Articles