710 views

1 Answer

Best answer
1 votes
1 votes

Method I
191^15 % 719 
m=191
n=719 
e=15 write in binary 01111
d= binary bits
Three rule to be followed during process 
1.intially d = 1 
2.if d=0 do d^2%n and write it as new d
3.if d=1 do d^2*m % n and write it as new d
 

  0 1 1 1 1
intial d=1 do d^2%n 1 1 531 326 403
m * 191 191 191 191
d*m%n=new d 1 191 42 432 40

therefore 191^15%719 = 40

Method II(but it wont work for prime power)

191^15 %719 
=(191^3%719)^5
=(42^5%719)
=40
 

edited by

Related questions

0 votes
0 votes
2 answers
1
shekhar chauhan asked Apr 16, 2016
838 views
(a) Compute (7*11*711*777) mod 13 by modular arithmetic.(b) Compute (666^77) mod 11.Please tell me the procedure to solve such a question not just Answer .I know the ...
2 votes
2 votes
0 answers
2
Rohit Gupta 8 asked Jan 14, 2018
1,542 views
Solve for x :(103*x) mod 360 = 1.Please explain how to solve this step by step.The answer is 7.
0 votes
0 votes
0 answers
3
rawan asked Jan 10, 2019
406 views
For example, is there a way to calculate the value of $(7 \times 11 \times 13 \times 17) \% 5$ in terms of the values of $7\%5, 11\%5, 13\%5,$ and $17\%5 $ ?