Exercise 2.4.16 (Pollard $p-1\ $ method)

The Pollard p 1 method. Let d n = ( 2 n ! 1 , m ) . Explain why d n d n + 1 for n = 1 , 2 , . Show that d n > 1 if m has a prime factor p such that ( p 1 ) n ! . Apply this approach to find a proper divisor of 403 . What is the least n that yields a factor? What is the least n for which d n = 403 ?

Answers

Proof.

a)
We show first that 2 n ! 1 2 ( n + 1 ) ! 1 . 2 ( n + 1 ) ! 1 = ( 2 n ! ) n + 1 1 = ( 2 n ! 1 ) i = 0 n 2 n ! i .

This shows that

2 n ! 1 2 ( n + 1 ) ! 1 .

From ( 2 n ! 1 ) m 2 n ! 1 2 ( n + 1 ) ! 1 and ( 2 n ! 1 ) m m , the characterization of the gcd shows that

( 2 n ! 1 ) m ( 2 ( n + 1 ) ! 1 ) m ,

do d n d n + 1 .

b)
Assume that p 1 n ! , where p is a prime factor of an odd integer m . By Problem 15, where we take Q = n ! , we obtain that ( 2 n ! 1 ) m > 1 , that is d n > 1 . This gives a proper divisor d n of m .
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:

d 3 = 2 6 1 = 63 , and d 3 403 = 1 ,

d 4 = 2 24 1 = 16777215 , and d 4 403 = 13 ,

d 5 = 2 120 1 = 1329227995784915872903807060280344575 , and d 5 403 = 403 .

Thus a proper divisor of 403 is d 4 13 ( 403 = 13 × 31 ) . The least n that gives a factor is n = 4 , and the least n for which d n = 403 is n = 5 .

( 2 10 ! 1 has more than 1 0 6 digits! To avoid big numbers, see Problem 17.) □

User profile picture
2024-08-23 08:45
Comments