Monday, 18 September 2017

elementary number theory - What will be the remainder when 231 is divided by 5?




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 221(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 2312230=2=3(mod5).


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...