Cracking the Code: A Deep Dive into the Chinese Remainder Theorem

Join Trial or Access Free Resources

I want to discuss the 'idea behind the famous Chinese Remainder Theorem. Let us leave the jargon and start our exploration by a problem.

Find a number that leaves the remainder 1, when divided by 5, 7 and 13.

Clearly, such a number can be found by trial. A stupid method is to check out all the numbers (at least some of them) which leaves 1 as the remainder when divided by 5 (we choose 5 because it is the smallest).

6, 11, 16, 21, 26, 31, 36, 41,...

The above sequence of numbers leaves 1 as a remainder when divided by 5. Now the second condition is that our required number must generate 1 as a remainder when divided by 7. Clearly, that number is one of the numbers of the above sequence. We check out the remainder when divided by 7.

NumberRemainder when divided by 7
66
114
162
210
265
313
361 (WHOA!)

So 36 is the first number that fulfills the second condition. It leaves remainder 1 when divided by 5 as well as 13. Note that 36 is the first number with such a character. 71, 106, etc. are other numbers with such characteristics.

Anyway, we move to the third condition now. The number must leave a remainder of 1 when divided by 13. A little introspection will bring the idea of product + 1 to the forefront. Note that 36 = 5*7 + 1; 70=5*7(*2)+1; 106 = 5*7(*3)+1; i.e. each of the numbers which leaves remainder 1 when divided by 5 and 7, contains 5 and 7 (as prime factors) and 1 more (rightly so!).

Therefore our required number is 13*5*7*(any number from 1 toward infinity) +1. In short, we write 455k + 1 where k is any natural number.

Now we move forward with the second problem.

Find all integers that leave a remainder of 3 when divided by 5, a remainder of 5 when divided by 7, and a remainder of 7 when divided by 11. 

A brain-breaker idea will be to check out all the numbers that produce a remainder of 3 when divided by 5. The following is the least of such numbers.

3, 8, 13, 18, 23, 28, 33, 38,

Then we shoot the numbers of the above sequence by 7 and find that 33 is a number that produces the remainder 5 when divided by 7 (33=4*7 + 5). Can we guess a second number that produces the remainder of 5 when divided by 7? Clearly, 68 is a second number with the same feature. Let's try 1 more (and while we do this let us ask our brain the method it is using to compute the number). 103! Yes, we add 35 to the preceding number (we still need to REASON why this works). But before that let us assure ourselves that 103 = 5*20 + 3 and 103 = 7*14 + 5. Also, we need to be convinced that when we jumped 35 we did not miss any number with 3 and 5 as remainders when divided by 5 and 7 respectively.

NumberRemainder when divided by 7
33
81
136
184
232
280
335
383
431
486
534
582
630
685
733
781
836
884
932
980
1035

So we did not miss any numbers. Hmm, that is good. And one more observation. The remainder is repeating (3164205 3164205 ... so on). We will learn later that this is a beautiful (and logical) consequence of the concept of division.

So far so good. Our brain tells us to find the first number with the character (remainder 3, 5, 7 when divided by 5, 7, 11) and add 5*7*11 to that to find all such numbers. The challenge is however to find that FIRST NUMBER.

More Posts
A Major Milestone in Young Research: Aaditya Punatar and Muskan Sadana Publish in JEI

A Major Milestone in Young Research: Aaditya Punatar and Muskan Sadana Publish in JEI

October 11, 2026

Publishing original scientific research in a peer-reviewed journal is an achievement many scholars work toward for years. Achieving this feat early in one's academic journey requires exceptional intellectual rigor, creativity, and persistence. Aaditya Punatar and Muskan Sadana have reached this remarkable milestone, successfully publishing their collaborative research paper in the prestigious Journal of Emerging Investigators […]

Read More
Prishaa Shrimali Named Grand Finalist at Regeneron ISEF 2026 for Quantum-Powered Urban Planning Research

Prishaa Shrimali Named Grand Finalist at Regeneron ISEF 2026 for Quantum-Powered Urban Planning Research

October 6, 2026

Her project on quantum-accelerated Steiner trees for 15-minute cities earned a place among the finalists at the world's largest pre-college STEM competition. Prishaa Shrimali of Marymount School of New York, was selected as a Grand Finalist at the 2026 Regeneron International Science and Engineering Fair (ISEF) in Phoenix, Arizona. Her project was Optimizing Urban Accessibility: […]

Read More
ISI M.Stat Entrance Success Story 2026

ISI M.Stat Entrance Success Story 2026

June 27, 2026

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's M.Stat Entrance. They ranked within the first 50 in the entire country in these entrances. I.S.I. M.Stat Entrance

Read More
ISI B.Stat-B.Math and CMI BSc. Math Entrance Success Story 2026

ISI B.Stat-B.Math and CMI BSc. Math Entrance Success Story 2026

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's B.Stat Entrance and Chennai Mathematical Institute's B.Sc. Math Entrance. They ranked within the first 200 in the entire country in these entrances. Most of these students attended the problem solving workshops regularly, which happen 5 days every week. CMI B.Sc. Math Entrance […]

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2010 - 2025, Cheenta Academy. All rights reserved.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram