1 votes 1 votes ans is 0?? ADITYA CHAURASIYA 5 asked Jan 11, 2018 ADITYA CHAURASIYA 5 474 views answer comment Share Follow See all 7 Comments See all 7 7 Comments reply Show 4 previous comments Ashwin Kulkarni commented Jan 11, 2018 i edited by Ashwin Kulkarni Jan 11, 2018 reply Follow Share If p > a then, if a and p are coprime then $a^{p-1} = 1 mod p$ If a and p are not coprime then $a^{p-1} = a mod p$ But here not the case 0 votes 0 votes Anu007 commented Jan 11, 2018 reply Follow Share ashwin here this not work r cannot go beyond of 2 since P < a 1 votes 1 votes Ashwin Kulkarni commented Jan 11, 2018 reply Follow Share Ohh yes sorry my bad :( 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes 6^2=36mod 3=0 So the ans is 0. Avik Chowdhury answered Feb 19, 2018 Avik Chowdhury comment Share Follow See all 0 reply Please log in or register to add a comment.