+0  
 
0
89
1
avatar

Find an integer n such that \(0\leq n<398\) and n is a multiplicative inverse to 7 modulo 398.

 Dec 13, 2020
 #1
avatar
0

i=1;a=7;m=398;b=a%m; if(b*i % m==1,goto5, goto6);print"The mmi = ",i;i++;if(i<=(m-1), goto3, discard=0;

 

 

OUTPUT = 57 Modular Multiplicative Inverse of 7 modulo 398.

 Dec 13, 2020

48 Online Users

avatar
avatar