Math Problem Statement

Which is the smallest number that when divided by 15, 18 and 20 leaves a reminder of 13, 16 and 18 respectively?

Solution

We are asked to find the smallest number NN such that:

N13 (mod 15)N \equiv 13 \ (\text{mod} \ 15) N16 (mod 18)N \equiv 16 \ (\text{mod} \ 18) N18 (mod 20)N \equiv 18 \ (\text{mod} \ 20)

This is a problem of finding the smallest number satisfying these three simultaneous congruences. Let's solve it step by step using the Chinese Remainder Theorem (CRT).

Step 1: Represent the congruences clearly

The number NN can be written as: N=15k+13N = 15k + 13 for some integer kk, because when divided by 15, NN leaves a remainder of 13.

Similarly: N=18m+16N = 18m + 16 N=20n+18N = 20n + 18 for some integers mm and nn.

Step 2: Solving two congruences at a time

Let's first focus on the congruences modulo 15 and 18.

  1. From N=15k+13N = 15k + 13, substitute this into N16 (mod 18)N \equiv 16 \ (\text{mod} \ 18): 15k+1316 (mod 18)15k + 13 \equiv 16 \ (\text{mod} \ 18) Simplifying this: 15k3 (mod 18)15k \equiv 3 \ (\text{mod} \ 18) Now, divide both sides by 3: 5k1 (mod 6)5k \equiv 1 \ (\text{mod} \ 6) The inverse of 5 modulo 6 is 5 (since 5×5251 (mod 6)5 \times 5 \equiv 25 \equiv 1 \ (\text{mod} \ 6)). Thus, multiplying both sides of the equation by 5: k5 (mod 6)k \equiv 5 \ (\text{mod} \ 6) So, k=6p+5k = 6p + 5 for some integer pp.

Step 3: Substitute back into the first congruence

Now substitute k=6p+5k = 6p + 5 into N=15k+13N = 15k + 13: N=15(6p+5)+13=90p+75+13=90p+88N = 15(6p + 5) + 13 = 90p + 75 + 13 = 90p + 88 Thus, N=90p+88N = 90p + 88.

Step 4: Solve with the third congruence

Now use N=90p+88N = 90p + 88 in the third congruence N18 (mod 20)N \equiv 18 \ (\text{mod} \ 20): 90p+8818 (mod 20)90p + 88 \equiv 18 \ (\text{mod} \ 20) Simplify: 90p+8818 (mod 20)90p + 88 \equiv 18 \ (\text{mod} \ 20) 10p+818 (mod 20)10p + 8 \equiv 18 \ (\text{mod} \ 20) 10p10 (mod 20)10p \equiv 10 \ (\text{mod} \ 20) Dividing both sides by 10: p1 (mod 2)p \equiv 1 \ (\text{mod} \ 2) Thus, p=2q+1p = 2q + 1 for some integer qq.

Step 5: Substitute back into the expression for NN

Substitute p=2q+1p = 2q + 1 into N=90p+88N = 90p + 88: N=90(2q+1)+88=180q+90+88=180q+178N = 90(2q + 1) + 88 = 180q + 90 + 88 = 180q + 178 Thus, N=180q+178N = 180q + 178.

Step 6: Find the smallest solution

The smallest solution occurs when q=0q = 0, so the smallest NN is: N=178N = 178

Thus, the smallest number that satisfies all the given conditions is N=178N = 178.

Would you like more details, or do you have any questions?

Here are 5 related questions to deepen your understanding:

  1. How does the Chinese Remainder Theorem apply to solving simultaneous congruences?
  2. Can you find the general solution for all NN in this problem?
  3. How would the method change if we had more than three congruences?
  4. What would happen if the moduli were not pairwise coprime?
  5. How can we verify if the solution found is correct?

Tip: Always check that your solution satisfies all original congruences to ensure it's correct.

Ask a new question for Free

By Image

Drop file here or Click Here to upload

Math Problem Analysis

Mathematical Concepts

Number Theory
Modular Arithmetic
Chinese Remainder Theorem

Formulas

N ≡ a (mod m) represents a congruence where N leaves a remainder a when divided by m
Chinese Remainder Theorem formula for solving simultaneous congruences

Theorems

Chinese Remainder Theorem

Suitable Grade Level

Grades 10-12