Could someone help in how to calculate PQ-1 mod 1000000007 , where P,Q are positive integers and Q-1 denotes the multiplicative of Q mod 1000000007 .
2 Likes
thank You !
Could someone help in how to calculate PQ-1 mod 1000000007 , where P,Q are positive integers and Q-1 denotes the multiplicative of Q mod 1000000007 .
thank You !