Assignment 2

6104: Algorithmic Number Theory

Each problem in this assignment is worth 50 points. The assignment is due by 9:30AM on June 1, 1998. Prepare your solutions in LaTeX, preferably using this file as a starting point. You may submit your solutions in printed form or by email to cs6104@ei.cs.vt.edu. Explain your solution to each problem, including references to the appropriate theorems in the textbook.

Help is available by email as well as during my office hours. It is especially helpful to request clarification or hints by email to cs6104@ei.cs.vt.edu, so I can send the response to everyone.

The person assigned to present the solution to a problem (if anyone) is noted at the beginning of the problem.

Problem 1. [John]

Chapter 4, Problem 14. You may assume the result in Problem 2.22. Use Mathematica to calculate the actual probability for

displaymath50

Put those results in a table that also gives the relative error if the probability is taken to be tex2html_wrap_inline82 .



Problem 2. [Lynn]

Implement the Extended Euclidean algorithm in Mathematica. (Mathematica has the Euclidean and Extended Euclidean algorithms built in, but do not use those in your implementation.)

Let

eqnarray53

Show how your implementation can be used to find a solution tex2html_wrap_inline84 to the equation

eqnarray55

Give the Mathematica steps to obtain one such solution.





cs6104 class account
Wed May 27 15:43:07 EDT 1998