GATE Computer ScienceVery hardGATE CS (PYQ pattern)
For how many integers n with 2 ≤ n ≤ 60 does the congruence x² ≡ 1 (mod n) have exactly 4 solutions x in {0, 1, …, n − 1}?
- A. 17
- B. 13
- C. 20
- D. 24
Correct answer: C. 20
Write n = 2ᵃ·m with m odd. The count is s(2ᵃ)·2^ω(m), where s = 1 for a ≤ 1, 2 for a = 2, 4 for a ≥ 3. Exactly 4: m with two odd prime factors and a ≤ 1 (15, 21, 33, 35, 39, 45, 51, 55, 57, 30, 42) = 11; a = 2 and m an odd prime power (12, 20, 28, 36, 44, 52) = 6; a ≥ 3, m = 1 (8, 16, 32) = 3. Total 20.
More Discrete Mathematics questions
- How many pairwise non-isomorphic abelian groups of order 2⁵ · 3³ · 7² contain an element of order 36?
- What is the sum of the orders of all 36 elements of the group ℤ₆ × ℤ₆?
- How many group homomorphisms are there from S₃ to itself?
- How many binary operations on {a, b, c} are commutative, associative and have an identity element?
- How many monic irreducible polynomials of degree 6 over GF(2) are NOT primitive (that is, x does not have multiplicative order 63 modulo…
- An abelian group G of order 72 has an element of order 12 and an element of order 18 but no element of order 72. How many elements of…