GATE Computer ScienceHardGATE CSE · UGC NET

How many solutions does x² ≡ 1 (mod 120) have among the residues 0 ≤ x < 120?

  1. A. 8
  2. B. 16
  3. C. 4
  4. D. 32

Correct answer: B. 16

By CRT, 120 = 8·3·5: mod 8 there are 4 square roots of 1, mod 3 there are 2, mod 5 there are 2, so 4·2·2 = 16.

More Discrete Mathematics questions

Exams that ask this topic