(a) x≡5(mod7),x≡7(mod11),x≡3(mod13)
(b) x≡3(mod10),x≡8(mod15),x≡5(mod84)
for (a) I have a rough idea how to do it, its like:
n1=7,n2=11,n3=13 then n=7·11·13=1001
10017·k1≡1mod(7)
100111·k2≡1mod(11)
100113·k3≡1mod(13)
Hence, k1=[5],k2=[4],k3=[12]
x0=(11·13)·5·5+(7·13)·4·7+(7·11)·(−1)·3=287
the solution set is x=x0+kn,k←Z,x=887+k(1001)
Im not sure if im correct, but i just follow the standard procedure
(b) for this one, what should I do the the n's are not coprime, or prime???
Thank you!!
Answer
You've got the idea...
Apply prime factorization to each of the moduli n, omit common factors, proceed in much the way you did for (a), and transform each statement in the system into equivalent congruences for the prime powers: (i.e. to a prime residue system). E.g. x≡3(mod10)⟺x≡3(mod2)andx≡3(mod5).
And of course, you'll then want to use the Chinese Remainder Theorem and/or the extended CRT.
No comments:
Post a Comment