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=34234∗10+2=34234∗2∗5+2
So you have
342342≡2(mod5)
Then, remember that
∀a,b,c,n∈N,a≡b(modn)⟹ac≡bc(modn)
Therefore,
3423421001≡21001(mod5)
Finaly, note that 1001=1000+1=4∗250+1 and try to conclude
No comments:
Post a Comment