Chinese Remainder Theorem

Find the least positive integer that leaves a remainder of 1, 2, and 3 when divided by 3,5 , and 7 respectively.


The answer is 52.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Tran Quoc Dat
Mar 25, 2016

Let A A is the smallest positive integer that fulfill the conditions. A 1 ( m o d 3 ) 2 A + 1 3 0 ( m o d 3 ) A \equiv 1 \pmod 3 \Rightarrow 2A+1 \equiv 3 \equiv 0 \pmod 3 . By doing the same thing we have 2 A + 1 0 ( m o d 5 ) 2A+1 \equiv 0 \pmod 5 and 2 A + 1 0 ( m o d 7 ) 2A+1 \equiv 0 \pmod 7 . To find the smallest value of A A , let 2 A + 1 = l c m ( 3 , 5 , 7 ) = 105 A = 52 2A+1 = lcm(3,5,7) = 105 \Rightarrow A = \boxed{52} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...