[Solved] Quantum Homework 4

$25

File Name: Quantum_Homework_4.zip
File Size: 169.56 KB

SKU: [Solved] Quantum Homework 4 Category: Tag:
5/5 - (1 vote)
  1. For each of the following values of q, generate 5 random members of {1,,q 1} and run the Miller-Rabin test using them. What is the probability that q is prime?

You should run the algorithm by hand, but I suggest using a computer to do the calculations themselves.

  • q = 10601
  • q = 101101
  • q = 15841
  1. (i) Compute 77 in Z4.

77

  • Compute 7 in Z4.
  • Compute 7777 in Z5 [Hint 1: use the previous part and Fermats little theorem.] [Hint 2: 73.]
  1. Compute 2345 mod 79. I suggest that you do this without using a computer. [Hint: 78 = 2 3 13.]
  2. Let n N and define(i.e. the number of numbers coprime to n between 1 and n).
    • Prove that if gcd(m,n) = 1 then (m n) = (m)(n).
    • Prove that if p is a prime then

.

  • Use the previous parts to prove that

(the product is over all prime divisors of n).

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Quantum Homework 4
$25