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)?
- A. 15
- B. 23
- C. 38
- 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
- How many spanning trees does the complete bipartite graph K₃,₃ have?
- How many binary relations on a 4-element set are both reflexive and symmetric?
- What is the multiplicative inverse of 17 modulo 3120?
- What is Euler's totient φ(360)?
- How many integer solutions does x₁ + x₂ + x₃ + x₄ = 20 have with every xᵢ ≥ 2?
- How many integers from 1 to 1000 are divisible by exactly two of the three numbers 4, 6 and 9?