Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.4.16 (Pollard $p-1\ $ method)
Exercise 2.4.16 (Pollard $p-1\ $ method)
The Pollard method. Let . Explain why for . Show that if has a prime factor such that . Apply this approach to find a proper divisor of . What is the least that yields a factor? What is the least for which ?
Answers
Proof.
- a)
-
We show first that
.
This shows that
From and , the characterization of the gcd shows that
do
- b)
- Assume that , where is a prime factor of an odd integer . By Problem 15, where we take , we obtain that , that is . This gives a proper divisor of .
- c)
-
The following code in Sage
sage: m = 403 sage: for n in range(1,9): ....: dn = 2^factorial(n) - 1 ....: print(n, ’=>’,gcd(dn,m)) ....: (1, ’=>’, 1) (2, ’=>’, 1) (3, ’=>’, 1) (4, ’=>’, 13) (5, ’=>’, 403) (6, ’=>’, 403) (7, ’=>’, 403) (8, ’=>’, 403)
Explicitly:
, and ,
, and ,
, and .
Thus a proper divisor of is ( . The least that gives a factor is , and the least for which is .
( has more than digits! To avoid big numbers, see Problem 17.) □