Using a^(2c) mod n = (a^c)² mod n and a^(2c+1) mod n = a·(a^c)² mod n, for a = 7, b = 17 and n = 561, what is a^b mod n?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. 160
Explanation
7² = 49; 7⁴ = 2401 ≡ 157; 7⁸ = 157² ≡ 526; 7¹⁶ = 526² ≡ 103; 7¹⁷ = 7 × 103 = 721 ≡ 160 (mod 561).
More Discrete Structures and Optimization questions
- A clique in an undirected graph is a V ′ ⊆ V subset of vertices, such that u, v) ∈ E u ∈ V ′ v ∈ V ′
- Consider the following statements: S : ∀xP(x) ∨ ∀xQ(x) 1 and ∀x(P(x) ∨ Q(x)) are not logically equivalent. S : ∃xP(x) ∧ ∃xQ(x) 2 and ∃x(P(x…
- Consider the following statements : S (G, *) a ∈ G 1 : If a group is of order n, and is am = e m ≤ n such that for some integer , then m mu…
- Consider the following statements with respect to duality in LPP : (a) The final simplex table giving optimal solution of the primal also c…
- Consider the poset ({3, 5, 9, 15, 24, 45}, |) under divisibility. Which of the following is correct?
- How many ways are there to place 8 indistinguishable balls into four distinguishable bins?