Smallest 4-Digit Integer in a Coupled Remainder System (CRT)

Board: Olympiad | Grade: Olympiad | Chapter: Modular Arithmetic

Problem

Find the smallest four-digit positive integer $N$ that leaves remainders $4, 6,$ and $7$ when divided by $7, 11,$ and $13$, respectively.

Step-by-Step Textbook Solution

We are given the system of linear congruences: $$\begin{cases} N \equiv 4 \pmod 7 \ N \equiv 6 \pmod{11} \ N \equiv 7 \pmod{13} \end{cases}$$ Since $7, 11,$ and $13$ are pairwise coprime and $M = 7 \times 11 \times 13 = 1001$, the Chinese Remainder Theorem guarantees a unique solution modulo $1001$.

Write $N = 13k + 7$ for some integer $k \ge 0$. Substituting into the second congruence: $$13k + 7 \equiv 6 \pmod{11} \implies 2k \equiv -1 \equiv 10 \pmod{11} \implies k \equiv 5 \pmod{11}.$$ Thus $k = 11m + 5$, giving $$N = 13(11m + 5) + 7 = 143m + 72.$$ Now substitute into the first congruence: $$143m + 72 \equiv 4 \pmod 7.$$ Since $143 = 7 \times 20 + 3 \equiv 3 \pmod 7$ and $72 = 7 \times 10 + 2 \equiv 2 \pmod 7$: $$3m + 2 \equiv 4 \pmod 7 \implies 3m \equiv 2 \equiv 9 \pmod 7 \implies m \equiv 3 \pmod 7.$$ Setting $m = 7t + 3$ yields: $$N = 143(7t + 3) + 72 = 1001t + 429 + 72 = 1001t + 501.$$ For $t = 0$, $N = 501$ (three digits). For $t = 1$, $N = 1001 + 501 = 1502$, which is the smallest four-digit solution.

Verification: $1502 = 7(214)+4 = 11(136)+6 = 13(115)+7$. Thus $N =$ $1502$.

NityaDhi Solution (Intuitive Method)

Notice the hidden constant relationship when doubling $N$:

  • $2N \equiv 2(4) = 8 \equiv 1 \pmod 7$
  • $2N \equiv 2(6) = 12 \equiv 1 \pmod{11}$
  • $2N \equiv 2(7) = 14 \equiv 1 \pmod{13}$

Therefore, $2N - 1$ is divisible by $\operatorname{lcm}(7, 11, 13) = 1001$, meaning $2N \equiv 1 \pmod{1001}$. Adding $1001$ to $1$ gives $2N \equiv 1002 \pmod{1001}$, so $N \equiv 501 \pmod{1001}$. The smallest four-digit integer of the form $1001t + 501$ is $1001 + 501 =$ $1502$.

Common Mistakes to Avoid

  • Stopping at $N = 501$: Many students correctly solve the CRT system and forget the constraint that $N$ must be a four-digit integer, reporting $501$ instead of $501 + 1001 = 1502$.
  • Adding $143$ instead of $1001$: When looking for the next solution after $501$, adding only $11 \times 13 = 143$ breaks the modulo-$7$ condition.