Tuesday, June 7, 2016

modular arithmetic - How can one calculate 3423421001 mod 5?



How can one calculate 3423432 mod 3? I know that the answer is 1.



And 3423421001 mod 5.



I know that



30mod5=131mod5=332mod5=433mod5=234mod5=135mod5=336mod5=4



So 1001 = 250 + 250 + 250 + 250 + 1, which is why the answer is also 1?


Answer




First, Note that
342342=3423410+2=3423425+2


So you have
3423422(mod5)



Then, remember that
a,b,c,nN,ab(modn)acbc(modn)



Therefore,
342342100121001(mod5)




Finaly, note that 1001=1000+1=4250+1 and try to conclude


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...