Discrete Math Quiz: Chinese Remainder Theorem
14 questions · exam conditions
0:00
Chinese Remainder TheoremQuestion 1 of 14

A student solving x4(mod9)x ≡ 4 \pmod{9} and x6(mod15)x ≡ 6 \pmod{15} writes x=9s+4x = 9s + 4 for some integer ss, then substitutes to get 9s+46(mod15)9s + 4 ≡ 6 \pmod{15}. Simplifying gives 9s2(mod15)9s ≡ 2 \pmod{15}. What is the next step?

Since gcd(9,15)=3\gcd(9,15) = 3 and 323 \nmid 2, conclude that the system has no solution and stop the calculation process
Divide the entire congruence by gcd(9,15)=3\gcd(9,15) = 3 to obtain 3s23(mod5)3s ≡ \frac{2}{3} \pmod{5}, which requires fractional arithmetic
Recognize that gcd(9,15)=3\gcd(9,15) = 3 and 323 \nmid 2, so the original system is inconsistent and has no integer solutions
Find the multiplicative inverse of 99 modulo 1515 by using the extended Euclidean algorithm, ignoring the gcd condition entirely
← Back to quizzes

Discrete Math Quiz

Discrete Math Quiz: Chinese Remainder Theorem

Practice Chinese Remainder Theorem in Discrete Math with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Chinese Remainder Theorem, giving you a quick way to practice the rules, question types, and explanations that matter most for Discrete Math.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

A student solving x4(mod9)x ≡ 4 \pmod{9} and x6(mod15)x ≡ 6 \pmod{15} writes x=9s+4x = 9s + 4 for some integer ss, then substitutes to get 9s+46(mod15)9s + 4 ≡ 6 \pmod{15}. Simplifying gives 9s2(mod15)9s ≡ 2 \pmod{15}. What is the next step?

  1. Since gcd(9,15)=3\gcd(9,15) = 3 and 323 \nmid 2, conclude that the system has no solution and stop the calculation process
  2. Divide the entire congruence by gcd(9,15)=3\gcd(9,15) = 3 to obtain 3s23(mod5)3s ≡ \frac{2}{3} \pmod{5}, which requires fractional arithmetic
  3. Recognize that gcd(9,15)=3\gcd(9,15) = 3 and 323 \nmid 2, so the original system is inconsistent and has no integer solutions (correct answer)
  4. Find the multiplicative inverse of 99 modulo 1515 by using the extended Euclidean algorithm, ignoring the gcd condition entirely
Explanation: The congruence 9s2(mod15)9s ≡ 2 \pmod{15} has a solution if and only if gcd(9,15)\gcd(9,15) divides 22. Since gcd(9,15)=3\gcd(9,15) = 3 and 323 \nmid 2, this congruence has no solution. This means the original system is inconsistent. We can verify: if a solution existed, we'd need 46(modgcd(9,15))=46(mod3)4 ≡ 6 \pmod{\gcd(9,15)} = 4 ≡ 6 \pmod{3}, but 41(mod3)4 ≡ 1 \pmod{3} while 60(mod3)6 ≡ 0 \pmod{3}. A restates the same conclusion but suggests stopping calculation rather than understanding the inconsistency. B incorrectly suggests fractional congruences. D ignores the fundamental issue that 99 has no multiplicative inverse modulo 1515.

Question 2

In applying CRT to find xx such that x2(mod3)x ≡ 2 \pmod{3}, x1(mod4)x ≡ 1 \pmod{4}, and x3(mod5)x ≡ 3 \pmod{5}, a student first solves the subsystem x2(mod3)x ≡ 2 \pmod{3} and x1(mod4)x ≡ 1 \pmod{4}, obtaining x5(mod12)x ≡ 5 \pmod{12}. What is the final answer?

  1. x53(mod60)x ≡ 53 \pmod{60} after solving x5(mod12)x ≡ 5 \pmod{12} and x3(mod5)x ≡ 3 \pmod{5} using standard CRT methods (correct answer)
  2. x17(mod60)x ≡ 17 \pmod{60} since this is the smallest positive value satisfying all three original congruence conditions
  3. x29(mod60)x ≡ 29 \pmod{60} obtained by systematically applying CRT to the reduced system with moduli 1212 and 55
  4. x41(mod60)x ≡ 41 \pmod{60} which represents the unique solution when combining the intermediate result with the third constraint
Explanation: We solve x5(mod12)x ≡ 5 \pmod{12} and x3(mod5)x ≡ 3 \pmod{5}. Let x=12k+5x = 12k + 5. Then 12k+53(mod5)12k + 5 ≡ 3 \pmod{5}, so 12k23(mod5)12k ≡ -2 ≡ 3 \pmod{5}. Since 122(mod5)12 ≡ 2 \pmod{5}, we need 2k3(mod5)2k ≡ 3 \pmod{5}. Since 23=61(mod5)2 \cdot 3 = 6 ≡ 1 \pmod{5}, we have k334(mod5)k ≡ 3 \cdot 3 ≡ 4 \pmod{5}. So k=5j+4k = 5j + 4 and x=12(5j+4)+5=60j+53x = 12(5j + 4) + 5 = 60j + 53. Thus x53(mod60)x ≡ 53 \pmod{60}. Verify: 53=173+253 = 17 \cdot 3 + 2, 53=134+153 = 13 \cdot 4 + 1, 53=105+353 = 10 \cdot 5 + 3. The other options give incorrect remainders when checked.

Question 3

A student applies the Chinese Remainder Theorem to solve x3(mod7)x ≡ 3 \pmod{7} and x5(mod11)x ≡ 5 \pmod{11} by finding M1=11M_1 = 11, M2=7M_2 = 7, then computing y1y_1 such that 11y11(mod7)11y_1 ≡ 1 \pmod{7}. What is the value of y1y_1?

  1. y1=2y_1 = 2 since 114(mod7)11 ≡ 4 \pmod{7} and 42=81(mod7)4 \cdot 2 = 8 ≡ 1 \pmod{7} (correct answer)
  2. y1=5y_1 = 5 since we need the multiplicative inverse of 1111 modulo 77, which is 55
  3. y1=6y_1 = 6 since 114(mod7)11 ≡ 4 \pmod{7} and 46=243(mod7)4 \cdot 6 = 24 ≡ 3 \pmod{7}
  4. y1=3y_1 = 3 since 113=3311 \cdot 3 = 33 and 335(mod7)33 ≡ 5 \pmod{7}, matching our target remainder
Explanation: We need 11y11(mod7)11y_1 ≡ 1 \pmod{7}. Since 114(mod7)11 ≡ 4 \pmod{7}, we need 4y11(mod7)4y_1 ≡ 1 \pmod{7}. Testing: 42=81(mod7)4 \cdot 2 = 8 ≡ 1 \pmod{7}, so y1=2y_1 = 2. B is wrong because 45=206(mod7)14 \cdot 5 = 20 ≡ 6 \pmod{7} ≠ 1. C is wrong because 46=243(mod7)14 \cdot 6 = 24 ≡ 3 \pmod{7} ≠ 1. D is wrong because it confuses the process - we need the coefficient that makes the product ≡ 1, not ≡ 5.

Question 4

A system of congruences has solutions x2(mod5)x ≡ 2 \pmod{5} and x3(mod7)x ≡ 3 \pmod{7}. If x=17x = 17 is the unique solution modulo 3535, what happens when we add the congruence x1(mod6)x ≡ 1 \pmod{6} to this system?

  1. The system has no solution since gcd(5,6)=1\gcd(5,6) = 1 and gcd(7,6)=1\gcd(7,6) = 1 but the original solution fails the new constraint
  2. The system has a unique solution modulo 210210 since all three moduli are pairwise coprime and x=17x = 17 satisfies all conditions
  3. The system has no solution since 175(mod6)17 ≡ 5 \pmod{6} but we need x1(mod6)x ≡ 1 \pmod{6}, creating an inconsistency (correct answer)
  4. The system has infinitely many solutions since the Chinese Remainder Theorem doesn't apply when more than two congruences are present
Explanation: First verify that x=17x = 17 satisfies the original system: 172(mod5)17 ≡ 2 \pmod{5} (since 17=35+217 = 3 \cdot 5 + 2) and 173(mod7)17 ≡ 3 \pmod{7} (since 17=27+317 = 2 \cdot 7 + 3). Now check the new constraint: 175(mod6)17 ≡ 5 \pmod{6} (since 17=26+517 = 2 \cdot 6 + 5). Since we need x1(mod6)x ≡ 1 \pmod{6} but 175(mod6)17 ≡ 5 \pmod{6}, the system becomes inconsistent. A is wrong because it incorrectly focuses on coprimality without checking the actual constraint. B is wrong because it assumes x=17x = 17 works without verification. D is wrong because CRT can handle multiple congruences when moduli are pairwise coprime.

Question 5

Consider the system xa(mod12)x ≡ a \pmod{12} and xb(mod20)x ≡ b \pmod{20} where aa and bb are chosen so that a solution exists. If the solution is x16(mod60)x ≡ 16 \pmod{60}, which of the following could be the values of aa and bb?

  1. a=16a = 16 and b=4b = 4 which reduces to a=4a = 4 and b=4b = 4 after taking appropriate modular reductions
  2. a=8a = 8 and b=12b = 12 since these values satisfy the gcd compatibility requirement and give the stated solution
  3. a=4a = 4 and b=8b = 8 since 164(mod12)16 ≡ 4 \pmod{12} and we need b4(modgcd(12,20))b ≡ 4 \pmod{\gcd(12,20)} for consistency
  4. a=4a = 4 and b=16b = 16 since 164(mod12)16 ≡ 4 \pmod{12} and 1616(mod20)16 ≡ 16 \pmod{20} with proper compatibility conditions (correct answer)
Explanation: When you encounter a system of linear congruences, you're working with the Chinese Remainder Theorem. The key insight is that if x16(mod60)x ≡ 16 \pmod{60}, then this value of xx must also satisfy both original congruences when you reduce modulo 12 and 20 respectively. Let's check what x=16x = 16 gives us in each modulus. For the first congruence: 164(mod12)16 ≡ 4 \pmod{12} (since 16=12+416 = 12 + 4). For the second congruence: 1616(mod20)16 ≡ 16 \pmod{20} (since 16<2016 < 20). Therefore, we need a=4a = 4 and b=16b = 16. Let's verify why the other options fail. Option A claims a=16a = 16 and b=4b = 4, but 164(mod12)16 ≡ 4 \pmod{12}, so aa should be 4, not 16. More critically, if b=4b = 4, then x4(mod20)x ≡ 4 \pmod{20}, which contradicts our solution where x16(mod20)x ≡ 16 \pmod{20}. Option B suggests a=8a = 8 and b=12b = 12, but 168(mod12)16 ≢ 8 \pmod{12} and 1612(mod20)16 ≢ 12 \pmod{20}. Option C proposes b=8b = 8, but 168(mod20)16 ≢ 8 \pmod{20}. Only option D gives the correct values: a=4a = 4 and b=16b = 16, which directly correspond to reducing our solution x16(mod60)x ≡ 16 \pmod{60} under each modulus. Strategy tip: When verifying solutions to congruence systems, always check that your proposed solution satisfies each individual congruence by direct substitution and modular reduction.

Question 6

In a CRT problem with xa1(modm1)x ≡ a_1 \pmod{m_1}, xa2(modm2)x ≡ a_2 \pmod{m_2}, and xa3(modm3)x ≡ a_3 \pmod{m_3} where m1=7m_1 = 7, m2=11m_2 = 11, m3=13m_3 = 13, a student computes M=1001M = 1001 and M1=143M_1 = 143. What should y1y_1 satisfy?

  1. 1001y1143(mod7)1001y_1 ≡ 143 \pmod{7} which reduces to 0y13(mod7)0 \cdot y_1 ≡ 3 \pmod{7} giving no solution for y1y_1
  2. 143y11(mod1001)143y_1 ≡ 1 \pmod{1001} since we need the multiplicative inverse of M1M_1 modulo the total product MM
  3. 7y11(mod143)7y_1 ≡ 1 \pmod{143} since we're finding the inverse of m1m_1 modulo M1M_1 in the CRT construction
  4. 143y11(mod7)143y_1 ≡ 1 \pmod{7} which simplifies to 3y11(mod7)3y_1 ≡ 1 \pmod{7} since 143=207+3143 = 20 \cdot 7 + 3 (correct answer)
Explanation: When solving systems of linear congruences using the Chinese Remainder Theorem (CRT), you need to find multiplicative inverses as part of the construction. The key insight is understanding what y1y_1 represents and which modular equation it must satisfy. In CRT, after computing M=m1m2m3=71113=1001M = m_1 \cdot m_2 \cdot m_3 = 7 \cdot 11 \cdot 13 = 1001 and M1=Mm1=10017=143M_1 = \frac{M}{m_1} = \frac{1001}{7} = 143, you need y1y_1 to be the multiplicative inverse of M1M_1 modulo m1m_1. This means M1y11(modm1)M_1 \cdot y_1 ≡ 1 \pmod{m_1}, or 143y11(mod7)143y_1 ≡ 1 \pmod{7}. Since 143=207+3143 = 20 \cdot 7 + 3, we have 1433(mod7)143 ≡ 3 \pmod{7}, so this reduces to 3y11(mod7)3y_1 ≡ 1 \pmod{7}. Answer D correctly identifies this relationship. Answer A incorrectly sets up My1M1(modm1)My_1 ≡ M_1 \pmod{m_1} instead of M1y11(modm1)M_1y_1 ≡ 1 \pmod{m_1}, and the resulting equation 0y13(mod7)0 \cdot y_1 ≡ 3 \pmod{7} has no solution, which should signal this approach is wrong. Answer B confuses the modulus - you don't need the inverse of M1M_1 modulo the entire product MM, but modulo the individual m1m_1. Answer C reverses the roles, trying to find the inverse of m1m_1 modulo M1M_1 instead of M1M_1 modulo m1m_1. Study tip: In CRT problems, always remember that yiy_i satisfies Miyi1(modmi)M_i \cdot y_i ≡ 1 \pmod{m_i} - you're finding the inverse of the "big" number modulo the "small" modulus.

Question 7

A student attempts to solve x3(mod14)x ≡ 3 \pmod{14} and x8(mod21)x ≡ 8 \pmod{21} by first reducing to x3(mod14)x ≡ 3 \pmod{14} and x8(mod21)x ≡ 8 \pmod{21}, then noting that gcd(14,21)=7\gcd(14,21) = 7. The student concludes the system has no solution because 38(mod7)3 ≢ 8 \pmod{7}. What is the error in the student's reasoning process?

  1. The gcd calculation is wrong since gcd(14,21)=1\gcd(14,21) = 1, so the standard CRT applies and a unique solution exists
  2. The compatibility check is wrong since 33(mod7)3 ≡ 3 \pmod{7} and 81(mod7)8 ≡ 1 \pmod{7}, and 31(mod7)3 ≢ 1 \pmod{7} means no solution (correct answer)
  3. The student should have checked 38(mod7)3 ≡ 8 \pmod{7} but computed 8mod78 \bmod 7 incorrectly as 88 instead of 11
  4. No computational error was made, but the student failed to show the specific modular arithmetic: 33(mod7)3 ≡ 3 \pmod{7} and 81(mod7)8 ≡ 1 \pmod{7}
Explanation: The student correctly found gcd(14,21)=7\gcd(14,21) = 7. For compatibility, we need 38(mod7)3 ≡ 8 \pmod{7}. Computing: 33(mod7)3 ≡ 3 \pmod{7} and 8=17+11(mod7)8 = 1 \cdot 7 + 1 ≡ 1 \pmod{7}. Since 31(mod7)3 ≢ 1 \pmod{7}, the system has no solution. The student's conclusion is correct, but choice B correctly identifies that the error was in not explicitly showing the modular arithmetic calculations that justify the incompatibility. A is wrong because gcd(14,21)=71\gcd(14,21) = 7 ≠ 1. C suggests an arithmetic error that wasn't made. D incorrectly suggests the reasoning was complete when the specific calculations were omitted.

Question 8

A system of congruences has solutions x2(mod5)x \equiv 2 \pmod{5} and x3(mod7)x \equiv 3 \pmod{7}. If we add a third congruence xa(mod11)x \equiv a \pmod{11} where 0a100 \leq a \leq 10, which value of aa would make the system inconsistent?

  1. There is no such value of aa since gcd(5,7,11)=1\gcd(5,7,11) = 1
  2. a=5a = 5 since this creates a contradiction with the modulus 5
  3. a=9a = 9 since this violates the Chinese Remainder Theorem conditions
  4. No value of aa can make the system inconsistent due to pairwise coprimality (correct answer)
Explanation: The Chinese Remainder Theorem guarantees a unique solution modulo 5711=3855 \cdot 7 \cdot 11 = 385 when the moduli are pairwise coprime. Since gcd(5,7)=gcd(5,11)=gcd(7,11)=1\gcd(5,7) = \gcd(5,11) = \gcd(7,11) = 1, any value of aa from 0 to 10 will result in a consistent system. The solution to the first two congruences is x17(mod35)x \equiv 17 \pmod{35}, and adding any third congruence with modulus 11 will have exactly one solution modulo 385. Choice A is incorrect because it mentions gcd(5,7,11)\gcd(5,7,11) which is not the relevant condition. Choice B incorrectly assumes a contradiction based on the value equaling a modulus. Choice C incorrectly suggests CRT conditions can be violated.

Question 9

A number leaves remainder 3 when divided by 8, remainder 5 when divided by 9, and remainder 7 when divided by 11. What is the smallest positive integer greater than 1000 that satisfies these conditions?

  1. 1019
  2. 1211 (correct answer)
  3. 1403
  4. 1595
Explanation: We solve x3(mod8)x \equiv 3 \pmod{8}, x5(mod9)x \equiv 5 \pmod{9}, x7(mod11)x \equiv 7 \pmod{11}. Since gcd(8,9)=gcd(8,11)=gcd(9,11)=1\gcd(8,9) = \gcd(8,11) = \gcd(9,11) = 1, CRT applies. The solution exists modulo 8911=7928 \cdot 9 \cdot 11 = 792. Using CRT: M1=99M_1 = 99, M2=88M_2 = 88, M3=72M_3 = 72. We need 99y11(mod8)99y_1 \equiv 1 \pmod{8}: 993(mod8)99 \equiv 3 \pmod{8}, so 3y11(mod8)3y_1 \equiv 1 \pmod{8}, giving y1=3y_1 = 3 since 33=91(mod8)3 \cdot 3 = 9 \equiv 1 \pmod{8}. For 88y21(mod9)88y_2 \equiv 1 \pmod{9}: 887(mod9)88 \equiv 7 \pmod{9}, so 7y21(mod9)7y_2 \equiv 1 \pmod{9}, giving y2=4y_2 = 4 since 74=281(mod9)7 \cdot 4 = 28 \equiv 1 \pmod{9}. For 72y31(mod11)72y_3 \equiv 1 \pmod{11}: 726(mod11)72 \equiv 6 \pmod{11}, so 6y31(mod11)6y_3 \equiv 1 \pmod{11}, giving y3=2y_3 = 2 since 62=121(mod11)6 \cdot 2 = 12 \equiv 1 \pmod{11}. Thus x3993+5884+7722=891+1760+1008=3659419(mod792)x \equiv 3 \cdot 99 \cdot 3 + 5 \cdot 88 \cdot 4 + 7 \cdot 72 \cdot 2 = 891 + 1760 + 1008 = 3659 \equiv 419 \pmod{792}. The smallest value greater than 1000 is 419+792=1211419 + 792 = 1211.

Question 10

Consider the system x7(mod15)x ≡ 7 \pmod{15} and x4(mod21)x ≡ 4 \pmod{21}. A student claims this has no solution because gcd(15,21)=3\gcd(15,21) = 3 and 7≢4(mod3)7 \not≡ 4 \pmod{3}. How should we evaluate this reasoning?

  1. The reasoning is correct since 71(mod3)7 ≡ 1 \pmod{3} while 41(mod3)4 ≡ 1 \pmod{3}, creating the required incompatibility for no solution
  2. The reasoning is incorrect since 71(mod3)7 ≡ 1 \pmod{3} and 41(mod3)4 ≡ 1 \pmod{3}, so the compatibility condition is satisfied (correct answer)
  3. The reasoning is flawed because the Chinese Remainder Theorem doesn't apply when moduli share common factors like 1515 and 2121
  4. The reasoning is partially correct but incomplete since we also need to check whether gcd(15,21)\gcd(15,21) divides the difference 747-4
Explanation: For the system to have a solution when gcd(15,21)=31\gcd(15,21) = 3 ≠ 1, we need 74(mod3)7 ≡ 4 \pmod{3}. Computing: 7=23+17 = 2 \cdot 3 + 1, so 71(mod3)7 ≡ 1 \pmod{3}. Also 4=13+14 = 1 \cdot 3 + 1, so 41(mod3)4 ≡ 1 \pmod{3}. Since both remainders are congruent to 11 modulo 33, the compatibility condition is satisfied and a solution exists. A is wrong because it states the condition is satisfied but concludes no solution exists. C is wrong because the generalized CRT does apply to non-coprime moduli. D is wrong because checking gcd(m1,m2)(a1a2)\gcd(m_1,m_2) | (a_1-a_2) is equivalent to checking a1a2(modgcd(m1,m2))a_1 ≡ a_2 \pmod{\gcd(m_1,m_2)}.

Question 11

Consider solving x3(mod8)x ≡ 3 \pmod{8} and x7(mod12)x ≡ 7 \pmod{12} using CRT. Since gcd(8,12)=4\gcd(8,12) = 4, we first check compatibility. Given that the system has a solution, what is xmod6x \bmod{6}?

  1. x1(mod6)x ≡ 1 \pmod{6} since the unique solution modulo 2424 can be reduced to find the remainder when divided by 66 (correct answer)
  2. x3(mod6)x ≡ 3 \pmod{6} since this matches the remainder from the first congruence and satisfies the compatibility conditions
  3. x5(mod6)x ≡ 5 \pmod{6} since the CRT solution modulo lcm(8,12)=24\text{lcm}(8,12) = 24 gives a remainder of 55 when divided by 66
  4. x7(mod6)x ≡ 7 \pmod{6} which simplifies to x1(mod6)x ≡ 1 \pmod{6} since 71(mod6)7 ≡ 1 \pmod{6} from the second congruence
Explanation: First verify compatibility: 33(mod4)3 ≡ 3 \pmod{4} and 73(mod4)7 ≡ 3 \pmod{4}, so the system has a solution. From x3(mod8)x ≡ 3 \pmod{8}, we have x=8k+3x = 8k + 3. Substituting into the second: 8k+37(mod12)8k + 3 ≡ 7 \pmod{12}, so 8k4(mod12)8k ≡ 4 \pmod{12}, which gives 2k1(mod3)2k ≡ 1 \pmod{3}. Since 22=41(mod3)2 \cdot 2 = 4 ≡ 1 \pmod{3}, we have k2(mod3)k ≡ 2 \pmod{3}. So k=3j+2k = 3j + 2 and x=8(3j+2)+3=24j+19x = 8(3j + 2) + 3 = 24j + 19. Thus x19(mod24)x ≡ 19 \pmod{24}. Finally, 19=36+119 = 3 \cdot 6 + 1, so x1(mod6)x ≡ 1 \pmod{6}. The other options give incorrect remainders.

Question 12

The system xa(mod6)x ≡ a \pmod{6} and xb(mod10)x ≡ b \pmod{10} has a unique solution modulo 3030 when a=2a = 2 and b=12b = 12. If we change bb to b=22b' = 22, what happens to the system?

  1. The system still has a unique solution modulo 3030 since 222(modgcd(6,10))=2(mod2)22 ≡ 2 \pmod{\gcd(6,10)} = 2 \pmod{2}, maintaining compatibility
  2. The system has no solution since 22(mod2)2 ≡ 2 \pmod{2} but 220(mod2)22 ≡ 0 \pmod{2}, violating the compatibility condition
  3. The system has a unique solution modulo 3030 since 20(mod2)2 ≡ 0 \pmod{2} and 220(mod2)22 ≡ 0 \pmod{2}, satisfying compatibility requirements (correct answer)
  4. The system becomes indeterminate since changing bb to an even value creates multiple solutions within the modulo 3030 range
Explanation: Since gcd(6,10)=2\gcd(6,10) = 2, we need ab(mod2)a ≡ b' \pmod{2} for a solution to exist. We have a=20(mod2)a = 2 ≡ 0 \pmod{2} and b=220(mod2)b' = 22 ≡ 0 \pmod{2}. Since both are congruent to 00 modulo 22, the compatibility condition is satisfied and there is a unique solution modulo lcm(6,10)=30\text{lcm}(6,10) = 30. A is wrong because 220(mod2)22 ≡ 0 \pmod{2}, not 2(mod2)2 \pmod{2}. B is wrong because 20(mod2)2 ≡ 0 \pmod{2}, not 2(mod2)2 \pmod{2}. D is wrong because when the compatibility condition is met, there is exactly one solution modulo the lcm.

Question 13

Consider the system xa(mod12)x ≡ a \pmod{12} and xb(mod18)x ≡ b \pmod{18}. For which values of aa and bb does this system have exactly one solution modulo 3636?

  1. All values of aa and bb since lcm(12,18)=36\text{lcm}(12,18) = 36 guarantees a unique solution modulo 3636 regardless of remainders
  2. Only when ab(mod6)a ≡ b \pmod{6} since gcd(12,18)=6\gcd(12,18) = 6 requires the remainders to be congruent modulo the gcd (correct answer)
  3. Only when aa and bb are both even since the system involves even moduli and requires compatible parity conditions
  4. No values of aa and bb since the moduli 1212 and 1818 are not coprime, violating the Chinese Remainder Theorem
Explanation: Since gcd(12,18)=6\gcd(12,18) = 6, the system has a solution if and only if ab(mod6)a ≡ b \pmod{6}. When this condition holds, there is exactly one solution modulo lcm(12,18)=36\text{lcm}(12,18) = 36. This is the generalized Chinese Remainder Theorem for non-coprime moduli. A is wrong because it ignores the compatibility condition. C is wrong because parity alone isn't sufficient - we need congruence modulo 6. D is wrong because CRT can be extended to non-coprime moduli with the proper compatibility condition.

Question 14

If NN is the unique solution modulo 60 to the system x7(mod12)x \equiv 7 \pmod{12}, x11(mod20)x \equiv 11 \pmod{20}, then what is the value of N+60N + 60?

  1. 91, since the solution modulo 60 is 31 (correct answer)
  2. 111, since the solution modulo 60 is 51
  3. 131, since the solution modulo 60 is 71 reduced
  4. 151, since the solution modulo 60 is 91 reduced
Explanation: First, we check if a solution exists: gcd(12,20)=4\gcd(12,20) = 4 and we need 711(mod4)7 \equiv 11 \pmod{4}. Since 73(mod4)7 \equiv 3 \pmod{4} and 113(mod4)11 \equiv 3 \pmod{4}, the condition is satisfied. The solution exists modulo lcm(12,20)=60\text{lcm}(12,20) = 60. From x7(mod12)x \equiv 7 \pmod{12}, we have x=12k+7x = 12k + 7 for some integer kk. Substituting into the second congruence: 12k+711(mod20)12k + 7 \equiv 11 \pmod{20}, so 12k4(mod20)12k \equiv 4 \pmod{20}, which gives 3k1(mod5)3k \equiv 1 \pmod{5} (dividing by gcd(12,20)=4\gcd(12,20) = 4). Since 32=61(mod5)3 \cdot 2 = 6 \equiv 1 \pmod{5}, we have k2(mod5)k \equiv 2 \pmod{5}, so k=5j+2k = 5j + 2. Therefore x=12(5j+2)+7=60j+24+7=60j+31x = 12(5j + 2) + 7 = 60j + 24 + 7 = 60j + 31. Thus N=31N = 31 and N+60=91N + 60 = 91.