The question is given in the title:
Find the remainder when 231 is divided by 5.
My friend explained me this way:
22 gives −1 remainder.
So, any power of 22 will give −1 remainder.
So, 230 gives −1 remainder.
So, 230×2 or 231 gives 3 remainder.
Now, I cannot understand how he said the last line. So, please explain this line.
Also, how can I do this using modular congruency?
Answer
Your friend is wrong in one statement. Indeed you have 22≡−1(mod5). But this implies that (22)n≡(−1)n(mod5) not that any power of 22 will give −1 remainder.
However you get (22)15=230≡(−1)15=−1(mod5). And therefore 231≡2⋅230=−2=3(mod5).
No comments:
Post a Comment