Math 480, Spring 2015, Assignment 10
From cartan.math.umb.edu
Revision as of 20:07, 1 May 2015 by Steven.Jackson (talk | contribs) (Created page with "__NOTOC__ ==Carefully define the following terms:== # Miller-Rabin witness (to the compositeness of $n$). # Miller-Rabin test. ==Carefully state the following theorems (you...")
Carefully define the following terms:[edit]
- Miller-Rabin witness (to the compositeness of $n$).
- Miller-Rabin test.
Carefully state the following theorems (you do not need to prove them):[edit]
- Lower bound on the number of Miller-Rabin witnesses when $n$ is composite.
- Bound on the probability that $n$ passes $N$ Miller-Rabin tests, given that $n$ is composite.
- Bound on the probability that $n$ is composite, given that it passed $N$ Miller-Rabin tests.
Carefully describe the following algorithms:[edit]
- Algorithm to return an almost-certainly-prime number $p$ in the interval $[2^{b-1}, 2^b)$ (i.e. a $b$-bit prime).
- Algorithm to return a $b$-bit safe prime.
Solve the following problems:[edit]
- Problem 3.14(a-b).
Coding projects:[edit]
- (Primes) Write a function that takes a positive integer $b$ as input, and return a $b$-bit prime. Write another function that returns a $b$-bit safe prime.