The Chinese Remainder Theorem (the CRT)

In summary, the problem is to find the lowest number that has a remainder of 1 when divided by 2, 2 when divided by 3, 3 when divided by 4, 4 when divided by 5, and 5 when divided by 6. The solution involves using the Chinese Remainder Theorem and finding the least common multiple minus one, which is 59. This problem highlights the relationship between the CRT and the computation of the greatest common divisor using the Euclidean algorithm.
  • #1
DeaconJohn
122
0
Find the lowest number that has a remainder of
1 when divided by 2,
2 when divided by 3,
3 when divided by 4,
4 when divided by 5, and
5 when divided by 6.

It is possible to solve this by applying the general algorithm that solves Chinese Remainder problems. But, for this special case of the CRT, there is an much quicker way. You just have to look at it right and the answer pops out. ...

Naturally, the point of this problem is more about finding the trick than it is about finding the right answer.

Hints:
6=3x2 and 4 = 2x2.
Problem Source:
Problem 35 on p. 11 in Chp. 1 of Carter and Russell, "The Complete Book of Fun Maths"
 
Physics news on Phys.org
  • #2
Is it 59?
 
  • #3
daskalou said:
Is it 59?

Yes!

Solution Explained:

If you multiply all the numbers in the right hand column together and subtract one, you get a number that satisfies all the conditions, except there are smaller numbers that work too.

The least common multiple minus one is the smallest number that works. And that is 59.


Relationship with the Chinese Remainder Theorem spelled out:

To solve the problem using the usual proof of the CRT, one applies the Eucledian algorithm. The Eucledian algorithm is often first introduced as a method of computing the gcd, and, given the gcd, one can easily compute the lcd. [I forget how this last demonstration goes. If someone could remind me, that would be great.]

Hence this problem presents the CRT as a generalization of the computation of the gcd using the Eucledian algorithm.
 
Last edited:
  • #4
Solution:

Ah, I've seen this trick before. Denote the number we're looking for as x and view the problem in terms of congruencies and it should be evident what happens when you add 1 to x. Then find the lcm of the product of the divisors in the problem. Count 2, 3, another 2 (for 4), 5, and 6 is covered. So x+1 = 2*2*3*5 => x = 59.
 
  • #5
snipez90 said:
Solution:

Ah, I've seen this trick before. Denote the number we're looking for as x and view the problem in terms of congruencies and it should be evident what happens when you add 1 to x. Then find the lcm of the product of the divisors in the problem. Count 2, 3, another 2 (for 4), 5, and 6 is covered. So x+1 = 2*2*3*5 => x = 59.

Snipez90,

All I can say is "Excellent." Really, a nice explanation.

DJ
 
  • #6
thx very much. Your soln is very useful
 

FAQ: The Chinese Remainder Theorem (the CRT)

1. What is the Chinese Remainder Theorem (CRT)?

The Chinese Remainder Theorem (CRT) is a mathematical concept that deals with finding a solution to a system of congruences. It states that if we have a set of congruences with relatively prime moduli, we can find a unique solution that satisfies all the congruences.

2. How does the CRT work?

The CRT works by breaking down a system of congruences into smaller, simpler congruences with prime moduli. These simpler congruences can then be solved individually, and the solutions can be combined to find the solution to the original system of congruences.

3. What is the significance of the Chinese Remainder Theorem?

The CRT has numerous applications in mathematics, computer science, and cryptography. It is used in number theory to study prime numbers and in coding theory to detect and correct errors in data transmission. It also has applications in public key cryptography, where it is used to generate secret keys.

4. Are there any limitations to using the CRT?

One limitation of the CRT is that it only works for systems of congruences with relatively prime moduli. If the moduli are not relatively prime, the solution to the system may not exist or may not be unique. Additionally, the CRT can only be applied to congruences with integer coefficients.

5. Can the CRT be extended to more than two congruences?

Yes, the CRT can be extended to any number of congruences. The key is to ensure that the moduli of the congruences are relatively prime. The Chinese Remainder Theorem for more than two congruences is also known as the Chinese Remainder Theorem for Rings.

Similar threads

Replies
3
Views
1K
Replies
1
Views
897
Replies
15
Views
3K
Replies
5
Views
2K
Replies
11
Views
3K
Back
Top