in Quantitative Aptitude
266 views
1 vote
1 vote

ans is 0??

in Quantitative Aptitude
266 views

4 Comments

edited by
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
0
ashwin here this not work r cannot go beyond of 2 since P < a
1
1
Ohh yes sorry my bad :(
1
1

1 Answer

0 votes
0 votes
6^2=36mod 3=0

So the ans is 0.