Find the smallest whole number that, when divided by 5, 7, 9, and 11, gives remainders of 1, 2, 3, and 4, respectively.
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.
We need to find the smallest number x such that x ≡ 1 ( m o d 5 ) , x ≡ 2 ( m o d 7 ) , x ≡ 3 ( m o d 9 ) , and x ≡ 4 ( m o d 1 1 ) . Let y 1 = 7 ∗ 9 ∗ 1 1 = 6 9 3 ≡ 3 ( m o d 5 ) , y 2 = 5 ∗ 9 ∗ 1 1 = 4 9 5 ≡ 5 ( m o d 7 ) , y 3 = 5 ∗ 7 ∗ 1 1 = 3 8 5 ≡ 7 ( m o d 9 ) , and y 4 = 5 ∗ 7 ∗ 9 = 3 1 5 ≡ 7 ( m o d 5 ) .
Then, according to the proof of Chinese Remainder Theorem a solution x of the simultaneous congruences above can be obtained in the form x = 1 ∗ y 1 ∗ x 1 + 2 ∗ y 2 ∗ x 2 + 3 ∗ y 3 ∗ x 3 + 4 ∗ y 4 ∗ x 4 , where y 1 ∗ x 1 , y 2 ∗ x 2 , y 3 ∗ x 3 , and y 4 ∗ x 4 are congruent to 1 modulus 5, 7, 9, and 11, respectively. There is a systematic way of finding x 1 , x 2 , x 3 , and x 4 by using the Euclid extended algorithm, but in this case we can find them just by trial and errors. For example, since y 1 ≡ 3 ( m o d 5 ) , then 3 ∗ x 1 ≡ ( m o d 5 ) , replacing x 1 by 1, 2, 3, and 4, we get that the value that solves the latter congruence is 2. Similarly, we obtain that x 2 = 3 , x 3 = 4 , x 4 = 8 .
So, according to the expression of x that we mention above, we obtain that x = 1 ∗ 6 9 3 ∗ 2 + 2 ∗ 4 9 5 ∗ 3 + 3 ∗ 3 8 5 ∗ 4 + 4 ∗ 3 1 5 ∗ 8 = 1 9 0 5 6 . Then according to the Chinese Remainder Theorem, any solution of the given congruences must be congruent to 19056 modulus 5 ∗ 7 ∗ 9 ∗ 1 1 = 3 4 6 5 . The smallest number satisfying this condition is the remainder of the division of 19056 by the 3465,which is 1731.
You've made a typo while calculating y4.
Start by searching for numbers that give you a remainder of 1 when divided by 5. These are numbers that end in either 1 or 6. Then, try to find numbers that end in 1 or 6 that give you a remainder of 2 when you divide by 7. The first number of this kind turns out to be 16. In order to find other numbers that satisfy this property, notice that if X = 1 6 + ( 5 × 7 ) × n , dividing by 5 still leaves remainder 1 and dividing by 7 still leaves remainder 2. This means if we keep adding by 5 × 7 = 3 5 , our first two properties are maintained. Now, search for a number that satisfies the first 3 properties using this method. The first number that works is 1 6 + 3 5 × 4 = 1 5 6 . Again we find the pattern, AKA then number we can add by to maintain our properties. Let X = 1 5 6 + ( 5 × 7 × 9 ) × n and as you can see the properties hold. Now add 5 × 7 × 9 = 3 1 5 to 156 continuously to find the first instance of a number that works with your fourth and final property. The first value that comes up is 1 5 6 + 3 1 5 × 5 = 1 7 3 1 , giving us our final answer.
why is the multiple sign in 16+(35x4)=156 gone? and so on in the remaining numbers, this solution is very confusing, [Now add 579=315 to 156]? [X=16+(57)n], shouldnt it be x=16+(5x7)n
Log in to reply
Sorry about that Hau You, I wrote this while I was in the process of learning how to use Latex to write answers so some things became a bit garbled in the solution. I've edited my answer, it should make a bit more sense now!
Let number is X. X=11k+4=3(mod9) So k=9a+4 X=11(9a+4)+4=99a+48 Now X=99a+48=2(mod7) a=7b+3 Put value of a we will get X=693b+345=1(mod5) So here b=2 for smallest number X=693×2+345=1731
X = 1 mod 5
X = 2 mod 7
X = 3 mod 9
X = 4 mod 11
The Chinese remainder theorem, we will get this 19056=1731 mod 3465 the smallest number is 1731.
Since Chinese Remainder Theorem is the most conventional approach for this kind of problem, can you write out a full solution?
Bonus question : Can you think of another way that doesn't implore Chinese Remainder Theorem?
how does this work actually? how to get 19056? pls help tq
Chck for 191
Log in to reply
no its wrong it doesn't gives 3 rem. when div by 9 @Shiv Tavker
Can anyone send me the full solution by using Chinese remainder theorem
Problem Loading...
Note Loading...
Set Loading...
Let n be the number we are trying to find. We know that
5 ∣ n + 4 ⇒ 5 ∣ 2 n + 8 ⇒ 5 ∣ 2 n + 3
7 ∣ n + 5 ⇒ 7 ∣ 2 n + 1 0 ⇒ 7 ∣ 2 n + 3
9 ∣ n + 6 ⇒ 9 ∣ 2 n + 1 2 ⇒ 9 ∣ 2 n + 3
1 1 ∣ n + 7 ⇒ 1 1 ∣ 2 n + 1 4 ⇒ 1 1 ∣ 2 n + 3
Since 5, 7, 9 and 11 are co-primes, the smallest number that is divisible by all of them is 5 × 7 × 9 × 1 1 = 3 4 6 5
2 n + 3 = 3 4 6 5 ⇒ n = 1 7 3 1