Exercises 12.7 Exercises
ΒΆ1.
Check the multiplication needed in Lemma 12.1.2.
2.
Prove the statement of Lemma 12.1.2 in the case that β is odd. Hint: the factorization you find will be similar, but have a subtle change.
3.
Explain why the extension to Fermat's Little Theorem just before Fact 12.2.2 (or Exercise 9.6.3) is true.
4.
Check that 1729 and 2821 are Carmichael numbers.
5.
Find a Carmichael number of the form 7β 23β p for a prime p; include all reasoning.
6.
Use either the Fermat or Mersenne coprime facts 12.1.4,12.1.9 to provide a different proof that there are infinitely many primes.
7.
Prove that if n is composite then so is Mn. Hint: Exercise 12.7.2.
8.
Find factors of the numbers you picked using trial division (Algorithm 12.5.6).
9.
Find factors of the numbers you picked using Fermat Factorization (Algorithm 12.5.9).
10.
Try to create a number that takes five steps to factor using both Fermat and trial division. (Can you do seven steps?)
11.
Verify the last bit of the proof of The Fermat factorization algorithm.
12.
Try using the Pollard Rho factoring algorithm on a large number you create out of a few big primes (not too big!) with different seeds. Can you get it to take longer than a few turns? Get your prize numbers; now try factoring again with this method where you have changed the polynomial to x3+1 or something else other than x2+1.
13.
Investigate the Pollard pβ1 algorithm. How is it similar to the methods mentioned in this chapter, how is it different? (See [C.4.19] or [C.2.10] for connecting it to Lenstra's elliptic curve algorithm.)
14.
(Hard.) Find out what a continued fraction is. Then investigate the continued fraction factorization algorithm. How is it similar to the methods mentioned in this chapter, how is it different?
15.
(Quite hard.) Find out what quadratic number field is. Then investigate the quadratic sieve factorization algorithm. How is it similar to the methods mentioned in this chapter, how is it different?