Unformatted text preview: statement that if a Â· n x = b has a unique solution in Z n , then a and n are relatively prime, or Â²nd a counterexample. Question 3. (20 = 10 + 10 points). (Problem 2.217 in our textbook). Recall the Fibonacci numbers deÂ²ned by F = 0, F 1 = 1, and F i = F i1 + F i2 for all i â‰¥ 2. (a) Run the extended gcd algorithm for j = F 10 and k = F 11 , showing the values of all parameters at all levels of the recursion. (b) Running the extended gcd algorithm for j = F i and k = F i +1 , how many recursive calls does it take to get the result? Question 4. (20 points). Let n â‰¥ 1 be a nonprime and x âˆˆ Z n such that gcd( x, n ) n = 1. Prove that x n1 mod n n = 1 . 1...
View
Full Document
 Spring '10
 aa
 Prime number, Euclidean algorithm, unique multiplicative inverse, extended gcd algorithm

Click to edit the document details