When N is divided by 10, the remainder is a. When N is divided by 13, the remainder is b. What is N modulo 130, in terms of a and b? (I need my answer in the form ra+sb, where r and s are replaced by nonnegative integers less than 130.)
familiar with congruences ?
Somewhat
somewhat is enough :)
We're given \[N\equiv a\pmod{10}\\N\equiv b\pmod{13}\] second congruence is same as \(N=13k+b\tag{1}\) substitute that in first congruence and solve \(k\)
So that gives me \[10x+a=13k+b\]?
How do I solve it from there?
yes, your goal is to solve \(k\) \(10x+a=13k+b\) \(10x + a = 10k+3k+b\) \(10(x-k)+a-b = 3k\) \(10y+a-b = 3k\) fine so far ?
Yes, but how am I supposed to solve it from there?
multiply both sides by "7"
Why?
\(10y+a-b=3k\) multiply both sides by 7 and get \(10z+7(a-b) = 20k+k\) \(10w+7(a-b)=k\)
substitute that in equation \((1)\) and you're done!
Is \[N=13k+b\] equation 1?
Yep
So \[13(10w+7(a-b))\]?
well \[N=13(102+7(a-b))+b\]?
10w I menat
gah so many typos today \[N=13(10w+7(a-b))+b\]
\[\begin{align}N &= 13k+b\\~\\ &=13[10w+7(a-b)] +b\\~\\ &=130w+\color{blue}{91(a-b)+b} \end{align}\]
and to put it in the form of \[ra+sb\]? \[130w+91a-90b\]
How do I put that into the ra+sb form?
91a - 90b is the remainder when u divide N by 130
r = 91 s = -90
Oh... thank you!
ofcourse if u want positive numbers -90 is same as 40 in mod 130
r = 91 s = 40 looks more better
yeah :)
Join our real-time social learning platform and learn together with your friends!