GATE Computer ScienceModerateGATE CS · ISRO

What is the smallest positive integer x with x ≡ 2 (mod 3), x ≡ 3 (mod 5) and x ≡ 2 (mod 7)?

  1. A. 15
  2. B. 23
  3. C. 38
  4. D. 73

Correct answer: B. 23

By the Chinese remainder theorem the solution is unique modulo 105; checking gives x = 23.

More Discrete Mathematics questions

Exams that ask this topic