 -Method
-Method
 -method, which we describe in this section.
-method, which we describe in this section.
 be a positive
  integer. If
 be a positive
  integer. If  is a positive integer with prime factorization
 is a positive integer with prime factorization
  
 , then
, then  is
 is  -power smooth if
-power smooth if
  
 for all
 for all  .
. is
 is  power smooth for
 power smooth for  , but
, but
 is not
 is not  -power smooth (it is
-power smooth (it is  -power
smooth).
-power
smooth).
We will use the following algorithm in both the Pollard  and elliptic curve factorization methods.
and elliptic curve factorization methods.
 Integers)    
Given a positive integer
 Integers)    
Given a positive integer  , this algorithm computes the least
common multiple of the positive integers up to
, this algorithm computes the least
common multiple of the positive integers up to  .
.
 of all primes
 of all primes  .
.
 .
.
 .  Then
.  Then 
 
where
 is the largest power of
 is the largest power of  that satisfies
 that satisfies  .
Since
.
Since 
 , we have
, we have 
 .
.
  
Let  be a positive integer that we wish to factor.  We use the
Pollard
 be a positive integer that we wish to factor.  We use the
Pollard  -method to look for a nontrivial factor of
-method to look for a nontrivial factor of  as
follows.  First we choose a positive integer
 as
follows.  First we choose a positive integer  , usually with at most
six digits.  Suppose that there is a prime divisor
, usually with at most
six digits.  Suppose that there is a prime divisor  of
of  such that
 such that  is
 is  -power smooth.  We try to find
-power smooth.  We try to find  using the following strategy.  If
using the following strategy.  If  is an integer
not divisible by
 is an integer
not divisible by  then by Theorem 2.1.19,
 then by Theorem 2.1.19,
 
Let
 , and observe that our assumption that
, and observe that our assumption that
 is
 is  -power smooth implies that
-power smooth implies that  , so
, so
 
Thus
 
If
 also then
 also then 
 is a nontrivial factor
of
 is a nontrivial factor
of  . 
If
. 
If 
 , then
, then 
 for every prime power
divisor
 for every prime power
divisor  of
 of  .  In this case, repeat the above steps but with a
smaller choice of
.  In this case, repeat the above steps but with a
smaller choice of  or possibly a different choice of
 or possibly a different choice of  .  
Also, it is a good idea to check from the
start whether or not
.  
Also, it is a good idea to check from the
start whether or not  is not a perfect power
 is not a perfect power  , and if so
replace
, and if so
replace  by
 by  . We formalize the algorithm as follows:
. We formalize the algorithm as follows:
 Method)    
  Given a positive integer
 Method)    
  Given a positive integer  and a bound
 and a bound  , this algorithm
  attempts to find a nontrivial factor
, this algorithm
  attempts to find a nontrivial factor  of
 of  .  (Each prime
.  (Each prime  is likely to have the property that
 is likely to have the property that  is
 is  -power smooth.)
-power smooth.)
For fixed  , Algorithm 6.3.3 
often splits
, Algorithm 6.3.3 
often splits  when
 when  is divisible
by a prime
 is divisible
by a prime  such that
 such that  is
 is  -power smooth. 
Approximately
15% of primes
-power smooth. 
Approximately
15% of primes  in the interval from
 in the interval from  and
 and 
 are such that
are such that  is
 is  power-smooth, so the Pollard method with
 power-smooth, so the Pollard method with
 already fails nearly 85% of the time at finding
 already fails nearly 85% of the time at finding  -digit
primes in this range (see also Exercise 6.10).  We
will not analyze Pollard's method further, since it was mentioned here
only to set the stage for the elliptic curve factorization method.
-digit
primes in this range (see also Exercise 6.10).  We
will not analyze Pollard's method further, since it was mentioned here
only to set the stage for the elliptic curve factorization method.
The following examples illustrate the Pollard  -method.
-method.
 .  We try to use the Pollard
.  We try to use the Pollard  method with
 method with
 to split
 to split  .  We have
.  We have 
 ; taking
; taking  we have
 we have
 
and
 
so
 is a factor of
 is a factor of  .
.
 by larger integer.
Let
 by larger integer.
Let  .  With
.  With  and
 and  we have
 we have
 
and
 With
With  , we have
, we have 
 
 
and
 
so
 is a nontrivial factor of
 is a nontrivial factor of  .
.
 by a smaller integer.
Let
 by a smaller integer.
Let  . Suppose
. Suppose   , so
, so 
 ,
, 
 
and
 ,
so we do not obtain a factor of
,
so we do not obtain a factor of  .
If we replace
.
If we replace  by
 by  , Pollard's method works:
, Pollard's method works:
 
and
 , 
so we split
, 
so we split  .
.
 does not work, but
 does not work, but  does.
Let
 does.
Let  . Suppose
. Suppose   , so
, so 
 ,
, 
 
and
 ,
so we do not obtain a factor of
,
so we do not obtain a factor of  .
If we replace
.
If we replace  by
 by  , then Pollard's method works:
, then Pollard's method works:
 
and
 .  Thus
.  Thus 
 .
.William 2007-06-01