For distinct primes p and q the Chinese Remainder problem is

For distinct primes p and q the Chinese Remainder problem is: Find x, 0

Solution

xp= x mod p

and xq= x mod q

x = np+xp and also x = mq+xq for m and n integers

np -mq + xp-xq=0

xp-xq = mq-np

qinv= q-1 mod p

Or qinv= q-1+pn\' for an integer n\'

(xp-xq ) qinv = (mq-np)( q-1+pn\') = m-npq-1+mqpn\'-npq-1-nn\'

(xp-xq ) qinv mod p =m-nn\'

Hence xq +hq = xq +m-nn\'

= x

Hence proved

 For distinct primes p and q the Chinese Remainder problem is: Find x, 0 Solutionxp= x mod p and xq= x mod q x = np+xp and also x = mq+xq for m and n integers n

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site