Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 2.4.11 (Generalization of the method of factorization)

Exercise 2.4.11 (Generalization of the method of factorization)

Show that if m is a pseudoprime to the base a , but not a spsp( a ), then the strong pseudoprime test in conjunction with the Euclidean algorithm provides an efficient means of location a proper divisor δ of m .

Answers

Proof. If m 1 = 2 j d , where 2 d , since m is not a spsp( a ), a d = a ( m 1 ) 2 j 1 . Since m is a pseudoprime to the base a , a m 1 1 ( mod m ) .

If i is the greatest l such that a ( m 1 ) 2 l 1 ( mod m ) (such an integer i exists by the preceding remarks), then

a ( m 1 ) 2 i 1 ( mod m ) , a ( m 1 ) 2 i + 1 ± 1 ( mod m ) .

( a ( m 1 ) 2 i + 1 1 ( mod m ) by maximality of i , and a ( m 1 ) 2 i + 1 1 ( mod m ) , otherwise m would be a spsp( a ).)

Let x = a ( m 1 ) 2 i + 1 . Then x 2 1 ( mod m ) and x ± 1 ( mod m ) . Then Problem 9 shows that ( x 1 ) m and ( x + 1 ) m are non trivial divisors of m .

If r , 1 r < m , is such that x = a ( m 1 ) 2 i + 1 r ( mod m ) , then x = r + km , so δ = ( x 1 ) m = ( r 1 + km ) m = ( r 1 ) m , given by the Euclidean algorithm, provides a non trivial divisor of m (and also ( r + 1 ) m ). □

User profile picture
2024-08-22 12:11
Comments